Users browsing this thread: 1 Guest(s)
Super Arisa Land
#21
This code is from my previous engine so I guess it could help you

Make sure this variable is present on the create event.

Create Event
Code:
ready = 0;

Step, Begin or End Step Event.
Code:
if ((vspeed > 0) && (y > ystart-4)) {
    vspeed = 0;
    y = ystart;
    ready = 2;
    //Add here the bumped block image.
}
if (ready == 1)
    vspeed += 0.5;

Use this code WHEN you bump the block. (You can also generate an item on this event.)
Code:
if (ready == 0) {
    ready = 1;
    vspeed = -4;
}

If you need help with GM, feel free to drop me a PM. I'll try to reply as soon as possible.
[Image: Vb8vjwW.png][Image: uIrDfRP.png][Image: Jd3PZ8y.png][Image: BvmA5Pf.png][Image: 6L4ceD0.png][Image: LAKfOPp.png][Image: 10CGjip.png][Image: gEIdmj2.png]
Thanked by:


Messages In This Thread
Super Arisa Land - by Gors - 06-13-2014, 08:23 PM
RE: Super Arisa Land - by Vipershark - 06-13-2014, 08:24 PM
RE: Super Arisa Land - by Rhyme - 06-13-2014, 08:53 PM
RE: Super Arisa Land - by Gors - 06-13-2014, 08:58 PM
RE: Super Arisa Land - by Gors - 06-14-2014, 07:16 PM
RE: Super Arisa Land - by Gors - 06-14-2014, 08:43 PM
RE: Super Arisa Land - by Shade - 06-14-2014, 09:23 PM
RE: Super Arisa Land - by Gors - 06-14-2014, 10:02 PM
RE: Super Arisa Land - by Yangfly Master - 06-20-2014, 03:13 PM
RE: Super Arisa Land - by Gors - 06-22-2014, 01:09 PM
RE: Super Arisa Land - by Yangfly Master - 06-27-2014, 09:18 AM
RE: Super Arisa Land - by Rystar - 06-22-2014, 01:25 PM
RE: Super Arisa Land - by TomGuycott - 06-22-2014, 01:27 PM
RE: Super Arisa Land - by puggsoy - 06-23-2014, 07:20 PM
RE: Super Arisa Land - by Gors - 06-27-2014, 10:25 AM
RE: Super Arisa Land - by TheShyGuy - 06-30-2014, 07:44 PM
RE: Super Arisa Land - by Kitsu - 06-24-2014, 12:23 AM
RE: Super Arisa Land - by puggsoy - 06-28-2014, 02:49 AM
RE: Super Arisa Land - by Yangfly Master - 06-30-2014, 09:11 AM
RE: Super Arisa Land - by puggsoy - 06-30-2014, 07:32 PM
RE: Super Arisa Land - by Gate - 07-03-2014, 01:10 AM

Forum Jump: