- Home /
Answer by rh_galaxy · Nov 21, 2021 at 06:10 AM
My game has one scene for the menu and one scene for the game levels, and load the level data from a text file for each level. I have made an external level editor that is graphical but you can write the text-file your self also. Example:
*MAPTYPE MISSION
*MAPSIZE 30 50
*MAXPLAYERS 2
*PLAYERSTARTPOS 771 1424
*PLAYERSTARTPOS 819 1431
*ENEMY 0
*ANGLE 90
*FIREINTERVAL 800
*SPEED 0
*NUMWAYPOINTS 1
*WAYPOINTSX 191
*WAYPOINTSY 1312
I recently started making a new hyper-casual game and this problem came up. Do you know a good tutorial for creating text file?