-
Notifications
You must be signed in to change notification settings - Fork 0
Level Builder Design
BunnyHog793 edited this page Apr 7, 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 Level builder will be able to create a new level and choose its size. Then blocks can be placed down to make the map. Items and enemies will also be placed on the map.
The file format of the saved level will be a modified UTF-8 binary file with three sections. The first section of the file will hold details for the level:
Level Height (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)
Xcoordinate (int)
Ycoordinate (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)
Xcoordinate (int)
Ycoordinate (int)
width (int)
height (int)
- Date: 4/3/21
- Time 5:20
- Reviewer: Reshi Pasupuleti
Revision | Status |
---|---|