Loading...
45
7 hours ago

Adding moving platforms.

Check the description for more detailed information.


SO, have you remembered my collision engine? Great. If you don't even know about it: check out the previous post, where i have wrote everything.

So basically, what did i add? Well, firstly, to you to know, i have made resolution of game 480 by 270 using thing like "surface_resize()", and if you have seen some pixel moves on video - don't worry, it's planned, everything's alright.

Secondly, i have made MOVING PLATFORMS!!! Well, actually, it's not that hard to code 'em, hardest thing was to make sync them with player, cuz moving platforms are moving in Begin Step Event, and player is moving in Step Event.

If you don't get it, look: firstly, GameMaker activates Begin Step Event, in the start of every frame, and AFTER Begin Step plays Step Event, and after Step Event plays End Step Event.

Like, yeah, hard things, hard to sync X and Y coordinates in different times of frames, but using tutorial from Peyton Burnham, i manage to make this work in perfect sync.
Right now, i'm fixing collision slopes, cuz their code isn't perfect, and must be more detailed and edgy with semi-solid walls.

Also: i added acceleration and diacceleration (idk how to write it right, sorry, i'm dumb), using thing that called Approach. Like, it's not GameMaker function, it's script, that i stole borrow from internet. And also i added jump buffer (like, when you can jump in 4-5 frames before you land). Maybe next time i'll add thing called Coyote Time.

Anyways, i guess that's all, and yeah, have fun.



0 comments

Loading...

Next up

my first animation.

H A P P Y H A L L O W E E N .

Ugh... Multiplayer is hard...

My game in 50 seconds #indiedev #Gamedev #steam

Some random images from my computer.

pt. 1

Testing some stuff on godot.

🆕🔥New mechanic! Place wet souls into sponges to cool down scorching terrain and make your way through!

alex_monologue_stars.mp4