Jump to content




Help with platformer engine?


  • You cannot reply to this topic
3 replies to this topic

#1 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 26 March 2016 - 11:44 PM

I'm trying to make meself a game (my FIRST game), and make it a platformer. However, I can't figure out for the life of me how to go about doing that.

Here's my broken engine: WBG8q8Bv
Here's a level editor (works): nnRGZiZA

Here's a level I made with it: iQ0nccG5
Here's the palate that goes with it: L38TJebN

The idea is that you have two files: a level file, and a palate file. The palate stores the tiles and their properties (eg. solid, color, character, effect of gravity...), and the level stores the arrangement of those tiles, and nothing more (so far.) The problem I have with this is that I can't figure out the math and coding for a proper platformer, and thinking about it makes my brain hurt. Can someone help me?

By the way, before you look at the engine code, download the editor, level and palate, then run "editor levelname palatename".

Editor controls:
Spoiler


#2 CrazedProgrammer

  • Members
  • 495 posts
  • LocationWageningen, The Netherlands

Posted 27 March 2016 - 12:23 PM

I can't really help you, since I don't know how to go about making a platformer game.
Platformer games might seem simple to make, but the logic in the collision detection and physics are very complicated to properly Iimplement.
I'd suggest starting with a simpler to implement game (preferably 70's-80's arcade games :P) with only a few objects and variables so you won't get overwhelmed.

Edited by CrazedProgrammer, 27 March 2016 - 12:26 PM.


#3 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 27 March 2016 - 01:08 PM

I'd suggest asking a rather more specific question about where you're getting stuck. You're not even hinting which mechanics are giving your trouble here, and I for one am not inclined to read through your entire script just to figure out the basics of what your question should be.

#4 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 27 March 2016 - 05:34 PM

I think I'll just abandon it. Lock this thread, please.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users