-
Welcome to the first video tutorial in the course of game programming
-
with BennuGD
-
where to see how to make
-
video games in 2 dimensions using this great software
-
This program we can find it in the following address
-
www.bennugd.org
-
upon entering will see the official website
-
of this game programming language
-
Let me introduce you a bit on the history of the language
-
The history of this language came from what was at the time
-
the Fenix language, which, also came from of what was the DIV Games Studio
-
DIV Games Studio was a software of the 90' which allowed an easy way to
-
make games in 2 dimensions such as for example the SNES, Sega MegaDrive, NES ones.
-
Currently DIV Games Studio came to version 2, then the development was abandoned.
-
and a group of users started to develop programs based on DIV Games Studio
-
Thus the CDIV and the Fenix appeared, among others.
-
Fenix has an evolution in its core, and became what is today BennuGD
-
In the page we see one of the news, we have the different ports info
-
to different consoles, for example to Dreamcast
-
Also there is port made to Nintendo Wii, PS2 consoles
-
They're talking to be able to port the software to HTML5. And the first tests of it.
-
in the Andriod OS. Already this port for ipod.
-
you already can load the games in the App store of Apple.
-
The games also can be used in devices such as the wiz and the canoo consoles
-
Also is possible for desktop computing platforms such as Windows, Linux and MAC.
-
Between all of them also there are various ports that are are doing and the great community makes it
-
without any kind of interest in return
-
Let's see some games made with this software, the first one
-
a game called Deadly Eye, is a shooter with a top-down view
-
where we can see the graphic quality that can be achieved, also the effects.
-
everything is based on the ability of the programmer,
-
and the idea of this course is that we are learning from the level most basic to the most advanced
-
to be able to make increasingly better games.
-
Also here we see an example of the game Puzsion on an iPod.
-
This software developed by joseba
-
This game was one of the first gennugd games for the app store of apple
-
And here we see that this BennuGD game has nothing to envy
-
from Professional games
-
A simple genre, a puzzle, but a very good game.
-
We also have a remake for KoF also made with this engine
-
Here you can see the quality of games that one can do if you put dedication to
-
the use of the software. This language provides everything you need to create good games
-
The community is a very active community which is there to answer any questions.
-
The game is a Kof, if we look at the movements are very good
-
thehitboxes, the collisions between the characters, the FX
-
It has nothing to envy to a Original KoF created by neogeo
-
We continue to see quality games. a very named game in recent times
-
by a ban who wanted to impose sega, this game is Streets of Rage Remake
-
the truth that is a game very well programmed, it had its development time
-
We see once more the quality that we can achieve with bennugd
-
look the movements of the characters, the design.
-
Nowadays you can do not only games to entertain,
-
but with the possibility to port to different platforms, we can make games
-
to sell the different stores, as it is the case of App store
-
or when the android port will be done, also to the android market
-
and finally, let's see Escape from Zombie City
-
This is also an original game that has been ported to portable platforms
-
as the wiz, the canoo.
-
in the game you can choose different characters, and as in all zombie game
-
the zombies have invaded the city, and these characters with their weapons
-
will have to go and kill them
-
the graphics are all original, and this is a point in favor of the games
-
they are games that have not been seen in other platforms
-
With this we have seen the quality of games that can be made.
-
now let's talk a little bit of what the Bennugd website is like.
-
then we'll start with the download and installation of the software that we use
-
in the course, to be able to start creating our own videogames.
-
also it is necessary that you know that the idea is to develop complete projects
-
and that I think that the best way to learn, since one can eee with various projects
-
how to implement the various tools offered by this wonderful soft.
-
To download we can go to Downloads and there are going to be able to select the download
-
for different operating systems
-
then there is the different versions that have been made for various consoles and platforms
-
for example we have Motorla Linux Phone, Xbox, Wii, Pandora, PPA for Ubuntu, Mac OS, FreeBSD, Haiku, and Dreamcast
-
We also have the possibility of downloading guides, Bennu Programming Manual, BennuGD Manual
-
They are in Spanish and are 2 amazing manual
-
Osk manual is very comprehensive and great, is to take your time and also there are full projects.
-
and the manual of windgate is also a very interesting manual and a more concrete one.
-
We also have the possibility to download the Bennupack that for this course I recommend download
-
Since it comes with pre-installed tools, we are going to use
-
In addition to that already brings instructions and source code
-
so we can see the code of various video games
-
Here we have the bennupack, the last revision we have 29 Dec 2011
-
2.4 revision, and to access the download will have to access this link
-
Notice that you can download all these files.
-
We have tools, the Installer source code a game, examples of dll making
-
We have medium examples, advanced and basic.
-
We also have the Castle Of Dr Malvado, which was the game that came with the div
-
but this time adapted and updated to bennugd
-
As I have already downloaded these files the next thing we are going to do is to install it
-
We go to the folder where we have downloaded the program
-
and let's go to TOOLS R24. let's unpack it
-
It is a single file, a setup.exe
-
Double click on setup.exe
-
This bennupack made by coldev, is a group of very dedicated programmers
-
and who has collaborated with the community
-
set the Default install directory to c:\bennupack
-
Now the the different tools are going to be installed
-
graphical tools, tools for working with 2d files, also the Notepad++ IDE
-
which we are going to use to edit our game
-
to edit the source code.
-
It's also installing FPG edit. A tool used to add graphics resources to our games
-
FNT Edit, to add fonts. Also there is an editor of explosions, like the old DIV Games Studio did.
-
There is a 3D sprite editor, a tilemap editor
-
We have different types of editors that will contribute to which we can make our game
-
Once it is installed, click finish, and that of all, is installed on a windows system.
-
If wishing to install on linux can see guides
-
I recomendio download from the PPA for ubuntu and do not attend rener problems
-
For tools graphics going to agree to use windows, FPG Edit to the TNF edit.
-
Once you have installed the tools are going to be able to go to start - the disordered Tdos - Bennupack
-
And here we will have DOCS, who will be manuals
-
We are going to have different tools, 3d tools, TOOLS generator explosion
-
Editor FNT, Editor FPG, Graf Editor, Packager of games
-
2d and 3d sprites generator and the tilemap editor
-
We have the option to uninstall it, and the option to start to program with PRG Editor
-
Also would be good to install some programs of examples at this level
-
We are going to install the advanced examples, which is the most examples have
-
The good thing about this system is that the community has contributed with source code
-
and in many cases we can learn from these programs created by the community
-
to develop our own
-
(remove the examples)
-
Here is the software that we use, we will see any of the examples
-
The good thing about this IDE is that it is pretty light and has the tool that will facilitate
-
the writing of coffigo Tranquilo
-
We are going to be able to search among the different games that we have in the examples folder
-
We can see that there are Tetris, Zelda, platforms Tutorial, Final Fight, Breakout, Minesweeper
-
They have different types of games that you can try.
-
Let's try the hook eek eek. Open the source code, which has the pattern of the notepad.
-
Here we can see all the source code. In this case we see that the game has 5285 lines of code.
-
This is an advanced example. We pressed F6 to run. It will compile
-
and in this case a window is going to exit the presentation and the game. We are going to let it run
-
It is a very complete game, an original game. encouragement to undertake projects with graphics orignales.
-
And as far as possible the subject. I think that gives you a great value to the qu are the video games of today.
-
And depending on the console self is going to be a casual game or hardcore.
-
We see that today is very well casual games like Angry Birds endiendo estanv
-
on platforms such as ipod, ipad, or android.
-
Notice the detail of the eye that follows the arrow. We are going to play, you can choose level
-
The graphics are original, it has a presentation.
-
"Obviously, the evil Lab"
-
A good presentation also helps the game.
-
That was to show an example that we have. We are going to start by the Basic.
-
Let's start by displaying text on the screen
-
We are going to close that tab, and will begin to show the basic estructuctuca
-
of a prgorama in bennugd.
-
First of all every game will begin with the reserved word PROGRAM
-
First we are going to save it, so that it works the syntax coloring.
-
Let's create a folder and this file go to VIDEO1.PRG
-
PRG is the extension in bennugd programs.
-
Keep and let's start with the name of our game PROGRAM
-
for example PROGRAM VIDEO1
-
Now we will have to import the module for text, IMPORT
-
What are going to do is display text on the screen. Pongo IMPORT "mod_text";
-
We can do to make the comments / /
-
"//this program sample text on the screen"
-
We will see in our game when we handle screen graphics, we are going to
-
having to import a module to drive that, when we work with scroll is the same
-
We have to import the different modules that we will use
-
After this we are going to enter MAIN PROCESS)
-
This process must always be in our game, is the main and is where
-
the compildor will find to read code. without this process will give an error
-
then put BEGIN and END to end this block of code
-
below we could have other PROCES, e.g. PROCESS PUERTA()
-
that also start with a BEGIN and end with an END.
-
and also we can have for example functions, FUNCTION ABRIR()
-
the parentheses can have parameters. but it will be more clear then.
-
Also the functions start with BEGIN and END
-
The main process they can be called as PUERTA(); and as ABRIR();
-
This was to explain a little structure, but then let's see each one individually
-
It is convenient to tabulate when we write a block
-
to obtain a code much more clear.
-
Let's do a LOOP, in this case the main loop. So you don't forget me I close my end.
-
and within the LOOP we are going to use a function that will display a text on screen
-
This function WRITE() is called and has a number of parameters
-
the first parameter indicates which source to use.
-
When we see the source editor will see that sources are going to follow an id, that id will be in this place.
-
In the event that we do not have an id, it will be 0.
-
Then it will have the X position, and. Where is to locate the text on screen
-
The fourth parameter will indicate alignment, for example 0.
-
Then will write the text: "Hello community BennuGD.org and elbus.com.ar"
-
We close the parenthesis and then a; to indicate that you ended the statement.
-
Notice that the ";" in the reserved words (BEGIN, LOOP, PROGRAM) will not.
-
If we know languages like pascarl, we will notice some similarities.
-
We will then make a FRAME;
-
The frame is what we saying once the actions to be implemented, I want to show them
-
We are going to try as well to see that comes out. Click on F6. Click on OK.
-
It is giving us an error in the program. 0 Online.
-
The error was that I need a ";".
-
Look there shows me the text that this cut because it is very long.
-
Let's see if the alignment instead of 0 is 1, press f6.
-
Back to change instead of 1, 2, and see how the position of the text is changed
-
If we keep changing, for example 4, we pressed F6 and are going to be watching.
-
We see what happens if we starting at X 0 and 0, and will see to be towards the top paerte
-
In some cases it may disappear. There is no longer seen,
-
We are going to leave it in the position that it was. We put instead of X = 100, X = 35
-
so we can see a little more complete the text. Save and press F6.
-
If what we want to see whole we can put that you start at position 0. There is whole.
-
Another thing that we see is the FRAME. What is going to allow is to show the on-screen instructions
-
If we discussed the frame to not run, we pressed F6 and see that it shows us nothing
-
This is because the frame command is missing
-
When any of our objects, either graphic or text not to be displayed, we need to check
-
There is the statement in that process or function frame.
-
Uncomment, and reappears there.
-
Another detail, given are multiple comments by / ** and ** /
-
In this case not turns green due to the IDE error, per the compiler does not give any error
-
Well, this would be all for this first video tutorial.
-
In the next will continue to see different instructions that will enable us to
-
programarnuestro video game. We are going to continue dealing with the texts on screen.
-
And we will begin to see variables and constants to use in our game
-
I hope you liked this video and see you at the next.