Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Bedo2

4
Posts
1
Followers
1
Following
A member registered Aug 22, 2020 · View creator page →

Creator of

Recent community posts

You move with A and D and jump with space bar and shoot with enter.

You can wall jump too.

that was the framrate issue i accidently applied friction to y velocity which lead to object not moving down on high framerates.

implement the fix and it will work just fine

hello sorry but i found a bug.

it works differently on different framerate

if you comment 

player.velocity.y *= 0.9;

and change the bit with 

with space kwy press to this

if (GetKey(olc::Key::SPACE).bPressed && Onground) {

player.velocity.y = -speed * 1.5f;

}

it will work fine on all framerates

put the png files and executable in same file to work