-
Notifications
You must be signed in to change notification settings - Fork 0
Level Builder Design
BunnyHog793 edited this page Apr 27, 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 Spawn point of the level
Spawn x location (int)
Spawn y location (int)
- Goals
numverOfGaols (int)
(for each goal)
xCenterPoint()
yCenterPoint()
Height (int)
Width (int)
- Enemies
numberOfEntities (int)
(for each entity)
id (int)
entityType (String)
Xcoordinate (int)
Ycoordinate (int)
width (int)
height (int)
- obstacles
numberOfSurfaces (int)
(for each surface)
id (int)
BlockTexture (String)
Xcoordinate (int)
Ycoordinate (int)
width (int)
height (int)
- Collectables
numberOfCollectables (int)
type (string)
x location (int)
y location (int)
- Date: 4/3/21
- Time 5:20
- Reviewer: Reshi Pasupuleti
Revision | Status |
---|---|