Loading...
74
2 months ago

*sigh*
Coyote time and jump buffer. Yeah.

Check the description for more detailed information.


Firstly: Yeah, i changed the player. Reason? Check the coyote time.

Now, main news:
I JUST ADDED COYOTE TIME!!!

Now, what is coyote time?

Well, lemme explain:
It's actually a thing, that allows player (for example) hang in air a few game frames, before turning on the physics and fall.
Yeah, just like in old cartoons.

Now, how does this works?

Well, you see, my player's sprite size and collision mask is 14 pixels in width, and basic square in game is 16 pixel. So yeah, player is thinner than normal block in 2 pixels.

Now, physicly, in the part where i show how player is walking on the path made out of blocks with empty spaces, player, when he stops colliding ground, should fall, but he DOESN'T, and that's because of coyote time.

I also upgraded jump buffer, so now you can jump in mid-air, it's 3-5 frames in game (to find out how many that's in secounds, you should divide 3 or 5 by 60 (FPS in my game), and it'll be 0.05 for 3 and 0,0833333333333333333...(period loop) for five), and that's pretty nice in platformer games.

So yeah, framework is still alive!... than Stickman Adventure or My Little Test Game (IT'S FUCKING DEAD)

Anyways, Have Fun :)



2 comments

Loading...

Next up

So, i have added texture batching, and now my fps flew up to 150 (max), and i think i'll also add texture atlases render, to have a simple sprite sheet with sprites in it.

New Plumber of All Seasons!

Fan art for @Mrc_pizzapop_97 !

Ох блять, если бы не over дохуя времени, я бы это не сделал.

Я уже думал забить на проект, но резко был переубеждён самим собой.

Happy Joltidays! A new quest has entered your quest log. Accept the quest and follow @therealkomasan to open today's slot on the calendar.

#AdventCalendar2025

Vasia the cat.

Happy Joltidays! A new quest has entered your quest log. Accept the quest and follow @MONODO to open today's slot on the calendar.

#AdventCalendar2025

А теперь думайте кому это адресованно.

After messing around with OpenGL i finally drew up a square.

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

Первая тестовая сборка на Java.