This is a game that I started working on but abandoned because I didn't feel like drawing more enemy sprites (I even stole and NES:ified the two enemies there are from my n6 game Likker). It comes with a level editor.
Platforms and ladders
|
01-04-2024, 10:49 PM
Gotta love the platformers.... Nicely done!
Question: Why use 'json' format for the level files? Smaller size? Easier to 'translate/interpret'? Not judging... just curious. I am so used to using the plain text 'grid' file... lol
Logic is the beginning of wisdom.
(01-04-2024, 10:49 PM)johnno56 Wrote: Gotta love the platformers.... Nicely done! The json library can convert any naalaa table to a json string and the other way around, so it's quite simple to use for saving an entire level structure to file, and you get files that are nice to look at in a text editor Code: include "json.n7" Output: Code: {"position":{"x":10,"y":35},"name":"dude","speed":{"x":2.3,"y":1.27}}
01-08-2024, 01:51 PM
(This post was last modified: 01-08-2024, 01:55 PM by 1micha.elok.)
(01-04-2024, 05:20 PM)Marcus Wrote: This is a game that I started working ... The game's title as "Platforms and Ladders" inspired me to recreate a simplified version of "Snakes and Ladders" ... A player can climb the ladder and he should avoid the snake's tail.... Snakes_and_ladders.zip (Size: 30.42 KB / Downloads: 4) This simplification is made just for fun only and as a way to make me easier to understand the logic behind it .... Oh, no, the Platforms and Ladders uses Object Oriented style ... Sprite, Item and Player are classes Item and Player inherit properties and methods/functions from Sprite vItem is an object of Item vPlayer is an object of Player ... etc. However, the most important thing, it's very enjoyable to play around with Naalaa It's Great !
01-13-2024, 09:09 AM
(01-04-2024, 10:49 PM)johnno56 Wrote: Gotta love the platformers.... Nicely done! Hi, I'm gladly provide the map in a plain text grid file .... especially for you Code: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Oh, no...what are those ? You may translate this 0,1,2 with a Tilemap Editor Actually, I challenged myself to rewrite the Platforms and Ladders using a Tilemap as an alternative to JSON map format. This Tilemap version is made just for fun only and it serves as a proof of concept using Tilemap Editor The most important thing, it's an awesome experience to play around with Naalaa Added features : - climb up a ladder easily (if stuck, just use LEFT and RIGHT keys) - No more avoiding an enemy, you have automatic bullets to shot. You may try the Platforms and Ladders in Tilemap version [ File : recreate_platforms_and_ladders.zip ] I thank a lot to Marcus for providing all the resources I need to learn the OOP style (wanna-be OOP ) which I used during the rewrite of the game. Code: '---------------- Happy Weekend to everyone,
01-13-2024, 07:29 PM
Cool. Many thanks for the map! Much appreciated.
J
Logic is the beginning of wisdom.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)