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!!!!