![]() ![]() Run it either from the command line, simply passing it the name of the bitmap file, e.g: Then you will also need to use a small utility program I made called MapBitter. But never mind.Īll you need to worry about is making an image file, where black means "put stars here", and any other color (including white) means "leave this space empty". Internally it's stored as a bunch of 1:s or 0:s, hence the cryptic name. Now, the bits file is simply the file Galimulator uses to determine where it may place stars, and where it may not. Well, that's a start at least! It gets a bit more complicated though. ![]() So first of all, let's decide a name for the map, let's go with Happy!, so add this line to the file: If you make any mistakes in this file, chances are that you'll crash the game, or maybe get a helpful printout on the terminal with a graceful exit if you're lucky. For the purposes of this article, let's create a new empty file called Happy.map. If you want to try your hand at making your own map, simply create a new. It's just a simple way of pointing the game to files where the real interesting stuff is stored. This file in itself is quite easy to understand. map file, which you will need to put in the assets/data/maps/ folder. This article will explain how to do this. My hope and dream here is that more people will be interested in making such maps for the game, and that I will be able to ship those maps as part of the game, and perhaps even set up a community to share such maps between users. This is exactly the mechanism that I used to create the Earth map:
0 Comments
Leave a Reply. |