Advertisement Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Level 4 screenies

Sign in to follow this  


Well, I got alot of work done on Level 4.

I've tried to use the platforms well:

And I have some basic jumping puzzles implemented:

Finally, I mapped out where the boss fight will take place:

There are still large areas of the level that haven't been designed, but I'll get to those tomorrow.

I'm still getting the occasional "Fall through the platform" bug, which is quite annoying. I've come up with the most probable reason why those bugs are happening.

My best guess is that if the player jumps on a platform from too great a height, and since the player accelerates as it is traveling down, it completely bypasses the platforms collision rectangle. That is the only reason I can think of.
Sign in to follow this  


Recommended Comments

The high-gravity-skip-through-platform is certainly possible. Perhaps you could do something like this:

Player.Draw(); // and move and all that

RECT platformRect={x, y, x+width, y+height};

RECT playerRect={player.x, player.y, player.x+player.width, player.y+player.height};

/* now, stretch the top of the player rect up high to account
for his possibly long fall and therefore be able to check if he
went clear through this platform, in which case we'd want to move
theh player all the way back up to the platform */;

// test...

Share this comment

Link to comment
Yep, I'll probably have to do something like that in order to account for the acceleration.

BTW, you got the method and class names exactly right.

Share this comment

Link to comment
Your Boss screen reminded me of the Endor level in "Super Return of the Jedi" for the gameboy... just thought I'd let you know[grin]

Looks good BTW, I'm waiting for the demo!

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!