- and Level Design Tips
Click the links in box to the left to go to the source code tutorials and level design tips.
When I was working on The Tower I made a few changes to the launcher code, some of which are not put into the tutorials. One change is that I put the gotmlauncher and extraammo variables into the gamestate structure. This means that all the additional code for saving and loading missiles became unnecessary. A little extra was also added to avoid certain side effects such as not getting a standard gun back automatically when finding ordinary ammo after running out of it.
However, those who have put a missile launcher into their projects using my tutorials don't have to change anything. The launcher works just as good (as in Wolf Hour) only the code is in some respect less complicated in The Tower.
See The Tower source code (you find the link in the box to the left) for the latest missile launcher code. See also the tutorial on making the missiles explode.
Paal Olstad p-olstad@online.no