Thanks for writing the book … Very helpful.
The source code for Planet defender appears to not included in the source download for the book. This is because it is under the “GameLoop/Gameloop” directory. Either state that our put it in a directory labeled “PlanetDefender”. This took me a while to find.
As such I was manually working my way thru building it and have a couple issues I am struggling to resolve to draw the background.
1st … you must create a new “scene” app as its no longer called a multiscreen app”.
Changing the scenetemplate to game and modifying the main.lua file works fine.
2nd … There is a fare amount of code stubbed out in the game.lua file and when adding display.newImage( ‘images/space_background.jpg’ ), you need to specify where it should be put.
3rd … The screen image is not stretched to fill the screen. How to do that should be added here.