I already have methods to load in stats, controls and settings.Ĭlick to expand.i never thought about loading level from. It would be easy enough to load in variables from external files for enemies, players and stuff like that. It makes the games load so much faster and I suppose that would make the music modable as you just replace the external. I've also done loading music externally and using it when the game needs to. In the case of the maps, the maps are infinite. With the last version of my platformer engine its at the point where I can refresh / load level without having to restart the entire game. I'd constantly tweak levels when playing a game. It takes a bit of time to do this and as I've mentioned several times before, ensure that its done only once so when you reset the game, it doesn't do it over again because it makes a memory leak that in time will crash your game.Īs for the. So the easiest way was to make a system to pull in an external sprite sheet and chop it up and make it sprites when the game begins. Then he'd be like woops everything is misaligned by 1 pixel and I'd need to do it allllll over again. png sprite sheets and I'd have to cut them up and make them sprites. With a lot of my games, you can pull in external levels from a. I think Dust Force DX allows for mods with a third party map editor. I fear what allowing that customization would lead to. Plus, my games may not have the player base.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |