Community
Message Board

Chat room - users
Game Over
( 394431 downloads)
Work In Progress
( 523201 downloads)
Links

Code Exchange
Downloads
Tutorials
Add to Favourites

Submit news

DIV ARENA FORUMS
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: RKSoft Tutorial - Jump and Run with tiles
RKSoft
Game Making Machine!
******


Avatar


Posts: 232
Registered: 1-3-2016
Location: Germany
Member Is Offline


[*] posted on 29-9-2017 at 04:16 PM
RKSoft Tutorial - Jump and Run with tiles


After some time i finished my level editor to version 1.0! Now, it works well with tiles at 16x16 pixel. You can change some settings on top of my programm code.
The level editor works with a config file which not needed when you make your settings (ie: mapsize) in your game. The file extensions spr (sprites) and tiles (tiles) can be changed in the level editor if you want.

So, you control the cursor with (arrow) cursor keys. The other keys are shown on the right side of screen to use. I know you can make optimizations but for easy made tilebased levels, its enough. ^^

With the include background option, you can put your tiles exactly on their right position like in the original game (here the example of first level from Super Mario Bros.). If no background image was found (or "" as option) it will show a blue background.

Any question or comments are welcome...


screen_spritemenu.png - 23kB screen_tilemenu.png - 23kB

Download Level Editor source code:
Attachment: LevelEditor1.0.zip (64kB)
This file has been downloaded 313778 times


And here is the ready to play Jumpman example; of course, tilebased!
screen.png - 22kB

Download tilebased Jumpman example source code:
Attachment: Tutorial 2 - Jumpman Tilebased.zip (52kB)
This file has been downloaded 9716 times

[Edited on 29-9-2017 by RKSoft]
View user's profile Visit user's homepage View All Posts By User
RKSoft
Game Making Machine!
******


Avatar


Posts: 232
Registered: 1-3-2016
Location: Germany
Member Is Offline


[*] posted on 5-10-2017 at 03:43 PM


So, here is a new version of my Level Editor with some optimizations and fixes.

Changelog version 2.00:

- include a config file with the parameters of mapsize x & y, tilesize x & y and spritesize x & y which can be load direct in your game for settings
- changed tilemode to make dynamic levels
- max. tiles are 500 for both direction (x and y) - ie: your level can be max size to 8000x8000 pixels when using 16x16 tiles (bigger levels only with bigger tiles)
- changed some functions to load and create a map faster
- usefull functions can be used direct per copy&paste in your game (don't forget the definitions of variables!)
- dynamic map creation
- little window system for messages (see functions)

I hope you can use it in your games. I will continue my work in this editor (no changes in map, cfg or sprite files!). I think about a mouse control and a little menu system for editing settings.

As some changes, i uploaded a fix version of my little demogame Jumpman.

Attachment: Level Editor2.0.7z (18kB)
This file has been downloaded 1812 times

Attachment: Tutorial 2 - Jumpman Tilebased2.0.7z (12kB)
This file has been downloaded 1803 times
View user's profile Visit user's homepage View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 5-10-2017 at 07:20 PM


Great work Roland :)
View user's profile View All Posts By User

  Go To Top

Powered by XMB
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 18]