Loading...
101
5 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

Just kill me.

well dammit.

This is Edward.

Edward is a good guy.

He's thankful to you for your support and help.

He hopes his game will be good, and you will like it.

He will try to defeat the evil doctor, who made him, and stop horrors that happen in lab.

Wish him a luck.

My game in 50 seconds #indiedev #Gamedev #steam

Made a level switching system for my game!

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

check this shi out

So, i finally managed to make +- normal system, that handles everything, and ALSO it's much easier than Input Manager.

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

Нихуя сСбС stonks.

Π­Ρ‚ΠΎ большС Ρ‡Π΅ΠΌ Π·Π° всю мою ΠΊΠ°Ρ€ΡŒΠ΅Ρ€Ρƒ.