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:
Click on hotbar to select item and show it's name
Click on screen to place that item (air deletes items)
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
Arrow keys: scroll aroundClick on hotbar to select item and show it's name
Click on screen to place that item (air deletes items)