Posted By: Superku
[Free] 2D GameStudio - 04/28/07 16:51
Hello everybody!
This is a little unfished contribution, a tile based game editor (2DGS).
The code is not very complicated, a level is read from a text file, copied into an array and panels are created. A value above zero is a solid tile, 0 is ignored and below zero it is a background or a special (for example player's start position) panel.
To reduce the amount of panels, a small code checks if 2 or 4 panels with the same bitmap can be replaced by a bigger one (see end of video).
Video
Download now: Download
Felix Pohl
This is a little unfished contribution, a tile based game editor (2DGS).
The code is not very complicated, a level is read from a text file, copied into an array and panels are created. A value above zero is a solid tile, 0 is ignored and below zero it is a background or a special (for example player's start position) panel.
To reduce the amount of panels, a small code checks if 2 or 4 panels with the same bitmap can be replaced by a bigger one (see end of video).
Video
Download now: Download
Felix Pohl