Page 1 of 1

Finally got it - RPG Maker Style Movement (Glitchless)

PostPosted: Mon Mar 18, 2013 12:26 pm
by Hblade
I finally managed to come up with a working movement system similar to that of RPG maker (Cept the grid, uses pixel movement). What is RPG maker movement? Glitchless, while moving right if you press up, you go up and vice versa, its not limited to 1 direction (So if your holding up and press right, your still going up instead of right by normal movement systems). This sounds confusing I know, but if you move around in Rpg maker you can see what I mean. This system allows the same movement style (Without collision of course). I'll release a demo soon.

I figured it out while trying to sleep. Been a while since I used game editor and for some reason I was thinking about it (Woke up at 5:00AM after sleeping at 2:30/3:00AM, not much sleep), while trying to go to sleep.

I also would like to mention that this doesn't use multiple animations / frames it uses the whole sprite sheet and animpos, so you can change the "frequency" as RPG maker calls it, of your character by changing the case values.

here's the demo:

Re: Finally got it - RPG Maker Style Movement (Glitchless)

PostPosted: Wed Mar 20, 2013 1:54 pm
by GEuser
Yep, It's very smooth. Good job.

I've been having issues with movement for a spaceship. 24 frames (15 degrees each to complete 1 revolution). Left/right turns ship anti-clockwise/clockwise and up/down accelerate / decelerate it. So am using gE's directional_velocity and angle for movement. Problem is ship sometimes carries on speeding up infinitely and I can't stop it :lol:

glad your doing rpg stuff, more people doing it too now. I prefer these over shoot-em ups. Going to check out your rpg thread now.

Re: Finally got it - RPG Maker Style Movement (Glitchless)

PostPosted: Wed Mar 20, 2013 3:24 pm
by Hblade
Try using the min(var, max(var1, var2)) feature

Re: Finally got it - RPG Maker Style Movement (Glitchless)

PostPosted: Sun Mar 24, 2013 5:40 am
by GEuser
Hblade wrote:Try using the min(var, max(var1, var2)) feature

Thanks, I'll try to figure out how to use it now...

Re: Finally got it - RPG Maker Style Movement (Glitchless)

PostPosted: Mon Mar 25, 2013 1:46 am
by Hblade
k good luck =)