-
Notifications
You must be signed in to change notification settings - Fork 0
Level Builder Design
BunnyHog793 edited this page Apr 3, 2021
·
18 revisions
The Level builder will be a GUI application to create a level. Levels will be designed through a drag and drop interface. The level creator will be able to save a level that can then be played by the game.
The file format of the saved level will be a modified UTF-8 binary file. The first section of the file will be:
difficulty (String)
Level Hight (int)
Level Width (int)
The second section will hold the entities of the level (the enemies)
numberOfEntities (int)
(for each entity)
id (int)
entityType (String)
Xcoardinate (int)
Ycoardinate (int)
width (int)
height (int)
weight (double)
xVelocity (double)
yVelocity (double)
The third section will hold the obstacles
numberOfSurfaces (int)
(for each surface)
id (int)
surfaceType (String)
Xcoardinate (int)
Ycoardinate (int)
width (int)
height (int)