Loading...
98
3 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

Welcome to UserAlex's account!

Read the article for info about Alex!

Test slope detection.

Well, here it is. My official YouTube channel.

Guess i'll post something here also.

My game in 50 seconds #indiedev #Gamedev #steam

You don't know how much i hate this.

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

MEE_CREATOR_TING

Okay, so, QnA video coming soon enough.

The first part was on pure russian, so i gonna make also subtitles with translation.

πŸ†•πŸ”₯New mechanic! Place wet souls into sponges to cool down scorching terrain and make your way through!