Avoid

Need programming help? Want to post programming tips? Are you programming a game and want to show it off? That and more here.

Avoid

Postby agentms11 » February 11th, 2010, 12:16 pm

My first real game.
http://www.yoyogames.com/games/112727-avoid
Enjoy.
Please comment.
BROCCOLI TASTES LIKE CHICKEN!
YEAH!


NOW FOR... ARTEMIS FOWL!!!!
ImageImageImageImageImage
User avatar
agentms11
As Ninja As Myst

 
Posts: 138
Joined: August 1st, 2009, 5:13 pm

Thumbs Up given: 0 times
Thumbs Up received: 0 times

Re: Avoid

Postby TrappedTime » February 12th, 2010, 6:22 pm

How do you do that?
I can't even do that and I've made like 10 games!
Gawd! Why are people better than me?[/sarcasm]
Gregg Shorthand : http://gregg.angelfishy.net/
(Chapters on the right column)
TrappedTime
The Legacy

 
Posts: 777
Joined: August 6th, 2009, 7:58 pm

Thumbs Up given: 0 times
Thumbs Up received: 1 time

Re: Avoid

Postby Zunar » February 12th, 2010, 7:08 pm

Yeah, I've played a game similar to that. Great game though!
User avatar
Zunar
Honorary Member

 
Posts: 1838
Joined: August 1st, 2009, 4:50 pm
Location: In the shadows, where you'll never find me.

Thumbs Up given: 14 times
Thumbs Up received: 51 times

Re: Avoid

Postby agentms11 » February 13th, 2010, 8:45 pm

Thanks!!!
It was my first real game...
lol.
TheBetterGamer wrote:How do you do that?
I can't even do that and I've made like 10 games!
What exactly can't you do?
BROCCOLI TASTES LIKE CHICKEN!
YEAH!


NOW FOR... ARTEMIS FOWL!!!!
ImageImageImageImageImage
User avatar
agentms11
As Ninja As Myst

 
Posts: 138
Joined: August 1st, 2009, 5:13 pm

Thumbs Up given: 0 times
Thumbs Up received: 0 times

Re: Avoid

Postby TrappedTime » February 14th, 2010, 8:52 am

agentms11 wrote:Thanks!!!
It was my first real game...
lol.
TheBetterGamer wrote:How do you do that?
I can't even do that and I've made like 10 games!
What exactly can't you do?


Did you use pro?
That might be why.
Plus I don't know how to make something light up when the mouse touches it.
I don't know how to make a "yes/no" message pop-up.
I don't know how to make you restart the game when a block touches the mouse.

I don't know, okay?
Gregg Shorthand : http://gregg.angelfishy.net/
(Chapters on the right column)
TrappedTime
The Legacy

 
Posts: 777
Joined: August 6th, 2009, 7:58 pm

Thumbs Up given: 0 times
Thumbs Up received: 1 time

Re: Avoid

Postby agentms11 » February 14th, 2010, 11:28 am

TheBetterGamer wrote:Did you use pro?
I upgraded to pro when I was halfway through, but this game did not use any pro features.
TheBetterGamer wrote:I don't know how to make something light up when the mouse touches it.

Make 2 subimages (one dark and one light). In the "Create" event:
Code: Select all
image_index = 0; //this is which subimage it is showing (subimage 0 is the darker one.).
Image_speed = 0; //this is what speed the animation is playing at (in this case, 0, so it doesnt play.)

In the "Mouse Enter" event:
Code: Select all
image_index = 1; //It should show the lighter one.)
image_speed = 0;

In the "Mouse Leave" event:
Code: Select all
image_index = 0; //back to the darker subimage
image_speed = 0;

If you want to do this in D&D (Drag and Drop):In "Control", on bottom where is says "Variables", use the first D&D action ("Set Variable" (a gray square that says "VAR")).
TheBetterGamer wrote:I don't know how to make a "yes/no" message pop-up.
In the event that you want the message to pop up
Code: Select all
question = show_question( "Do you want to do something?" );
if question = 1
{
do something;
}

If you want to do this in D&D: In "Control", on top where is says "Questions", use the sixth D&D action ("Check Question" (a blue octagon that has a speech bubble with a question mark in it(put the actions that you want to happen if the player hits yes after it)).
TheBetterGamer wrote:I don't know how to make you restart the game when a block touches the mouse.
I had an object "mouse". In that object, in the step event
Code: Select all
x = mouse_x;
y = mouse_y;

If you want to do this in D&D: In "Move", in the middle where is says "Jump", use the first D&D action (Jump to position (a gray square that has 2 X's with an arrow pointing from one to the other)).
That is how to replace the mouse by the way (and in "Global Game Settings" make sure that the option "Display the cursor" is not checked).
Then in the collision event with an enemy
Code: Select all
room_restart();

If you want to do this in D&D: In "Main2", near the bottom where is says "Main", use the first D&D action ("Restart Game" (a gray square that has 2 arrows in a circle pointing at each other))
Its that simple...

Hope this helped!!!!
BROCCOLI TASTES LIKE CHICKEN!
YEAH!


NOW FOR... ARTEMIS FOWL!!!!
ImageImageImageImageImage
User avatar
agentms11
As Ninja As Myst

 
Posts: 138
Joined: August 1st, 2009, 5:13 pm

Thumbs Up given: 0 times
Thumbs Up received: 0 times

Re: Avoid

Postby TrappedTime » February 17th, 2010, 4:10 pm

You used code............no freaking wonder.............
XO I HATE CODE!
*leaves thread forever*
Gregg Shorthand : http://gregg.angelfishy.net/
(Chapters on the right column)
TrappedTime
The Legacy

 
Posts: 777
Joined: August 6th, 2009, 7:58 pm

Thumbs Up given: 0 times
Thumbs Up received: 1 time

Re: Avoid

Postby Chaukai » February 18th, 2010, 5:39 am

>_> How do you make a game without using coding?
Image
3x3: show


/人◕ ‿‿ ◕人\
User avatar
Chaukai
Teitoku

Error contacting last.fm
 
Posts: 2217
Joined: August 3rd, 2009, 12:40 pm
Location: Wahaha~

Cookie
Venexis: "Despite the effort required and numerous setbacks, we actually finished the Guilds of Runouw Minecraft map"

Thumbs Up given: 10 times
Thumbs Up received: 31 times

Re: Avoid

Postby Suyo » February 18th, 2010, 6:02 am

aznchau4ever wrote:>_> How do you make a game without using coding?


Drag 'n' Drop.
Which is in reality code but packaged into boxes which you drag'n'drop in order.

But Drag'n'Drop is for no- *shot down by TBG*
Image

Image

Image

Image

Image

Image
User avatar
Suyo
"quite easily the most manly man of all" --Raz

Error contacting Twitter
Error contacting last.fm
 
Posts: 2771
Joined: July 28th, 2009, 2:41 am
Location: Nuremberg (Germany)

Runouw Votes Winner
For winning the RV New Year 2012 Award for Best Moderator. Like you didn't know. XD

Thumbs Up given: 26 times
Thumbs Up received: 359 times

Re: Avoid

Postby agentms11 » February 18th, 2010, 4:02 pm

TheBetterGamer wrote:You used code............no freaking wonder.............
XO I HATE CODE!
*leaves thread forever*

...Look closer.
I wrote how to do each thing in D&D also. :roll: :ugeek:
BROCCOLI TASTES LIKE CHICKEN!
YEAH!


NOW FOR... ARTEMIS FOWL!!!!
ImageImageImageImageImage
User avatar
agentms11
As Ninja As Myst

 
Posts: 138
Joined: August 1st, 2009, 5:13 pm

Thumbs Up given: 0 times
Thumbs Up received: 0 times

Next

Return to Programming