Documentation
Help, tutorials, API reference and other stuff to get you started:
If you need help, blitwizard has a community forum where you can ask for help. There is also an online text chat based on IRC, but beware that responses can take some time and that chat isn't very suitable for complex help requests. Join using your web browser or point your favorite IRC client to irc.eloxoph.de / #blitwizard
Most important things:
First steps:
Download and extract the blitwizard package for your system (e.g. win32). Run it to see the examples.
Open examples/01.helloworld/game.lua from your extracted blitwizard folder with a text editor (I recommend Notepad++) and check out how blitwizard can be used.
If you aren't familiar with Lua yet, it is time to read some tutorials.
Take a look at the other examples too, and modify them to see what happens!
|
Command reference:
For advanced tasks, check out the API reference which lists all available functions and what they do.
|
|
To begin a new project, create a new folder and copy all the contents of blitwizard with the "bin", "templates" and other sub folders into it. (That's just the fast route, see Ship your game for stripping it down to the essential files)
Then add your personal game.lua into this folder and double-click the "Run-blitwizard.bat" icon on Windows. (For other platforms, run bin/blitwizard)
Doesn't work? If the sample browser starts instead of your game or blitwizard completely refuses to start, then the folder is most likely missing your game.lua file. If you get an error message, you have most likely a bug in your code - read it carefully, it should point to your faulty code line.
|
Ship your game:
Not all folders that come with blitwizard need to be shipped with your game. To ship your game properly with just the minimal required files, check out Ship-your-game.txt.
|