How to program a BreakOut Clone using BlitzMax
BlitzMax Forums/BlitzMax Tutorials/How to program a BreakOut Clone using BlitzMax
| ||
This tutorial series shows how a simple Breakout clone can be programmed using BlitzMax. This series builts on the 2D Game Framework introduced in Learning 2D Game Programming With BlitzMax series. The tutorials are as follows:- Section 1: Part 1: The basic Framework elements Part 2: Adding the TBall Game Object Part 3: Adding TPaddle Game Object Part 4: Adding the TBrick Game Object Section 2: Part 5: introducing Game States Part 6: A new revised Framework with Game States Enjoy |
| ||
Another Excellent Tutorial. Many Thanks Assari |
| ||
nice links are broken now! ;) |
| ||
The whole site is offline... yesterday it was still there so maybe the server broke or so. I guess (and hope!) they'll be back online soon :) |
| ||
Apologies guys, don't know what happened but the site is now back up. |
| ||
not so sure about this one:Rotation :+ 10 If Rotation >= 360 Then Rotation=0 Wouldn't it be more flexible to use 'MOD 360'? This 'Rotation=0'-thing only works when the rotation deltas will eventually match 360 exactly, if you use another delta (for the sake of variation or experimenting) and a delta hits something like 366 then 'Rotation=0' results in a small jump.. (correct new value should be 6 then, not 0!) In the ideal case the user uses my Box function from the code-archives, then also negative deltas can be used! (-2 wraps to 358 then) :P |
| ||
You are right but I did not want to introduce MOD at this stage. The rotation variable will not be anything but multiples of 10 anyway so even Rotation = 360 should work but >= seems safer :) |
| ||
Assari, why don't you try writing a book? I've said it before & I'll say it again; I will happily pay good money for a hard copy or an online e-book or a subscription fee for an ongoing series of web based tutorials. And yes, I'm being selfish because if you make money out of these outstanding efforts you will be more motivated to carry on the good work. simesf |
| ||
Thanks simesf. At the moment my main constraint is time. You'll never know, at this pace there may be enough material to turn into a book :) |
| ||
Thankyou Assari, this is a very instructive guide, long may you continue to improve coders lives with your teach-ins. |
| ||
Very interesting, Assari. Thanks a lot. |