Loading...
101
4 months 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

Мда Санёк, ты, конечно, натворил шумихи.

Ну, как-то так.

Devlog №3

I usually just sit in my room until idea pop up randomly.

#Devruary

My game in 50 seconds #indiedev #Gamedev #steam

Some stuff i drew.

I've created a new form of parkour in Weefager! What do you think?

И так продолжаем.

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

Okay, so, today under gj post i got a replay by user @Nicpitah_Studios

As they said, they're (probably group of people, i dunno) indie mobipe developer, and shower one of their games.

I tried it, and this is tuff.

Go follow them. And play their game.