Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

No problem; the game’s quite fun so it was a pleasure to play test.

I was originally going to suggest some quick code to allow some easing in and out of the velocity while running, but it’s actually better if you’re willing to research damping because it does really help simulate friction, so you’d be able to set a number for air friction, water friction and different numbers for specific blocks the player collides with, like ice or grass.

I haven’t touched Game Maker in years, so I don’t know if there is just an internal function for handling this, or if you have to code it yourself, but even if you have to code it yourself; it will probably come down to a “lerp” function (Linear interpolation) and looking up something like “frame rate independent damping”. It’s not as complicated as it sounds and it’s super useful because you’ll probably use it in a ton of future projects.

I’m glad you enjoyed testing this game! It’s been a very fun project to work on not only to have fun, but also to try to figure out GML (game maker language).

Indeed it was lerping! My copter enemy already used that for its movement so that is what I just added to the player:

I haven’t posted an updated version yet, but I’ve already added velocity /damping  to an unposted version of the game! The way that my character base was set up made it pretty easy to layer that in. I may also do velocity updates to the bomb dropper flying enemy as it kind of felt jerky as well without it.

The only hurdle that I have been running into with this game overall is some strange behavior with sub pixel rendering. Since this is actually an 180x180 px game with a viewport of 540x540 it doesn’t seem to do well rendering sprites if there are sub pixel values (seems like they end up showing sprites distorted with some pixels looking halved or jittery)


It’s been an ongoing challenge to solve. Tried drawing the sprites rounded to the nearest integer, but that can cause visual issues like the sprite vibrating between two whole number positions if the sprite is actually at a sub pixel value. Also have tried upscaling the application surface to 340x340 from 180x180 to attempt to hide some of those visual issues (since I’m theory the game would be rendered at a higher resolution) and then making the viewport 540x540, but that didn’t seem to fix it. Ultimately I’m trying to avoid having to upscale all of my game assets.


Hopefully I can figure this out.

Following up on this to let you know that I managed to incorporate the slippery ice physics in addition to the damping player movement (both on land and in the water)! That was a great suggestion. It even helped with introducing a new gameplay mechanic and a new level in the game.

General thank you to you and everyone who continues to offer ideas and feedback. it is always super appreciated.