Lets decide which subject will the project be about - maybe a simple space shooter ?Manual wrote:5. Creating your First Project (tutorial 1)
What say you?
P.S:
I really like the new layout !
Lets decide which subject will the project be about - maybe a simple space shooter ?Manual wrote:5. Creating your First Project (tutorial 1)
So how is it going?zack_fix wrote:That is exaclty what I am doing! This way the reader can gradually move from 2D to 3D without jumping all over the place. I was thinking about having an 'Extending Pong' section of the book where it talks about finding different ways to do different tasks in the Pong game. Then move on to the space shooter where I start to introduce sound with irrKlang and the irrlicht particle system. When I get done with the Pong section I will gladly contribute it to the wiki.
I didn't actually add it because I thought my analogy did sound a bit too much like a protocol, however, I think it paints a vivid picture that can be used later on to show how you inherit interfaces to interact with the engine.I wrote: What is an API?
objective: explain about interfaces
(Illustration of a phone socket)
An API, or application programming interface, is a collection of rules for communicating with a service. A good real-world analogy of one of these rules would be the description of a phone socket (pictured above). This set of rules tells developers what the socket looks like, and which signals need to be sent along each pin. Developers are free to create a telephone, answering machine or a modem without worrying about the telephone exchange it will be connected to, and the exchange can connect calls for any device that has the right cable and speaks the right language.
A C++ API obviously isn't a collection of documents that describe a load of physical sockets, it's a collection of C++ header files that define how you talk to the service. Irrlicht is a graphics engine, so it provides a rich set of interfaces that deal with loading, drawing, organising and saving graphics.
(picture showing how layout of the engine, listing major interfaces to introduce them early)
explain: interfaces begin with the letter 'I', quick note about inheritance