A VIDEO GAME PROGRAM STEP BY STEP WITH ALLEGRO.H
Paper reviewed and recommended allegro.h official from the home page!
I apologize for my bad translation in English. I hope it is equally understandable.
After a relentless work that has already lasted some years, I finally managed to put together a book that explains how to make a video game. With this you will be guided through the many stages of planning until the final outcome: a video game work!
With this book, the result is a necessary step. It's up to you after you complete the tutorial of this work, implement your creativity to create works of increasing complexity.
As you can see from the 'table of contents, shown just below are treated all the main topics of a video game. Dalla grafica, al suono, ai comandi di gioco, ecc... From the graphics, sound, the game controls, etc. ... Each line of each source is explained in detail. Also at the end of the book has received a glossary of all the commands C / C + + used in the creation of the game.
Do not panic, do not have to manually type all the listings of the book, in fact I posted a link on the book (this page) from which you can download all the material implicated in the text (sources, files, graphics and sound, etc ...) .
This, for the user who wants to really learn to write video games, is a unique opportunity as well as necessary.
If these 134 pages in A4 format with practical examples and explanations if they were not sufficient to clear up a few particular questions, you can always ask your questions directly to me via EMAIL.
I note that due to software piracy (linked to the anarchy of the Internet ...) have already been copied, then in principle this book was available only in paper form and must be specifically requested to the author. Now the author is grappling with a new manual on allegro.h that embraces the whole realm of video games, both 2D and 3D.So the old version of the book would become obsolete when compared with the contents of my new book .Hence the idea of freeing the writing discussed in this website.
If you have questions about the book,
contact me via e-mail:
Do you need a test that will allow you
to create this book? potete scaricare questi files: You can download these files:
DOWNLOAD DEMO BINARY TRACKS OF THE BOOK
CONTENTS OF THE BOOK:
What do I expect to learn from this book? 6
Install the compiler that will allow us to assemble all 7 listings
Where can we find the tutorial of the game that we will create? 8
A note on the free license of the library ALLEGRO.H (English and Italian) 9
We begin to plan ... 10
We create the player and see it on the main screen 13
We learn to move the Sprite ... 15
Beautify our video game with a background image 17
The scrolling of the bottom 19
We create the second Sprite: bad. 22
We move the flying saucer. 25
Activate the collision between enemy and player 29
The player explodes. 33
We begin to shoot everything that moves! 37
E 'come the turn of the enemy ... to die! 42
After the blast, the game starts 47
Indicator points and lives 52
The game ends with 'GAME OVER' then start over. 57
Create a presentation screen for the video game 62
Music and sound ... It is ... 68
Super graphics! 76
Scrolling parallelattico 84
Images and sounds in a single file. Dat 91
How to use 'GRABBER.EXE' 98
We set the sprite: animiamoli 99
We can also animate the explosion ... 105
Since we can also animate the bullet Gamer 109
Special effects: rotation and scaling 111
The enemy bullet 114
Let's start hacking away at the joystick 119
Glossary commands 121
APPENDIX A: A few words on the site 'digilander.libero.it / allegro.h'. 124
APPENDIX B: Other examples of simple video games created by the author: 'INVADER2002' and 'PONG2002'.125
APPENDIX C: Complete list of simple computer game developed in this book. 126
I hope that exposing the index of the book will be served to realize the wealth of content in this work.
Watch video course Grabber
CLICK HERE TO DOWNLOAD THE ENTIRE BOOK IN PDF FORMAT
(Compressed with RAR in size of 648 Kb)
(Also available on www.manuali.it)
DOWNLOAD SOURCE FILES BOOK
If you feel that the content of this site and my work there might have been useful in some way and may have changed your life in a small way, you can contribute to the preservation and dissemination of material contained in it with a donation of an amount completely free. Obviously you are not required but if someone decides to join him I'll be very grateful!