How to develop game from step one

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
bhbtti
Posts: 30
Joined: Fri Jul 03, 2009 5:44 am
Contact:

Post by bhbtti »

haha you not understanding my question
i just want a framework so i can build off of it
wildrj
Posts: 301
Joined: Thu Mar 23, 2006 12:49 am
Location: Texas/ Cyberspace
Contact:

Post by wildrj »

http://sourceforge.net/projects/sirrf << simple irrlicht frame work.
http://wild.deathtouchstudios.com << My gamedev blog
<Programming is a way of life>
If at first you don't succeed press the delete key till you do :)
bhbtti
Posts: 30
Joined: Fri Jul 03, 2009 5:44 am
Contact:

Post by bhbtti »

what do i do with it
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

Ok there is one step you should do before planning ^^
Learn programming
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

what do i do with it
You create a state, "menu state" or "game state"

http://sourceforge.net/apps/trac/sirrf/ ... als/v0.1.x
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

Sylence wrote:Ok there is one step you should do before planning ^^
Learn programming
i second this as well :wink:
bhbtti
Posts: 30
Joined: Fri Jul 03, 2009 5:44 am
Contact:

Post by bhbtti »

i followed guide but i dont understand how to set it up cant find dependiecies

in sirrf
Camel
Posts: 5
Joined: Sun Jul 12, 2009 10:28 am

Post by Camel »

bhbtti wrote:i followed guide but i dont understand how to set it up cant find dependiecies

in sirrf
Ok, with all the information you've provided I've been able to track down the exact cause for these missing dependencies and provide an equally informative response.

You just need to . . . . .
bhbtti
Posts: 30
Joined: Fri Jul 03, 2009 5:44 am
Contact:

Post by bhbtti »

i compile in visual studio but i get errors cant find dependiencies.h

Code: Select all

#ifndef __MYSTATE_H__
#define __MYSTATE_H__

// Include files
#include "dependencies.h"
#include "../core/GameState.h"


// MyState class
class MyState : public GameState
{
public:

     // Initialisation, deinitialisation and control...
     MyState();
     ~MyState();

     void init();
     void clear();

     void update(f32 deltaTime);
     void render();
};

#endif
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

bhbtti wrote:i compile in visual studio but i get errors cant find dependiencies.h
Does the file exist? If so - check in which path it is and add that path to the include paths (somewhere in project settings, not sure how they are called in VS).

But anyway - I didn't joke when I told you to start with small games and build up from there. You have to get comfortable with the programming language, your development environment (for example Visual Studion) and so on before you can really do games. I don't think it is a good idea starting with 3D games (as I suppose you are trying to do). So starting by reading code of a 2D game like Bitplane proposed and working your way through it to understand it will probably be a faster way to learn. Or start with the irrlicht examples - they are documented rather well - and then start with adding minor modifications. The important thing is - you have to learn the basics first.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

compile in visual studio but i get errors cant find dependiencies.h
Dont copy paste code if you dont know what its doing or where it goes.

sirrf is a framework, meaning that you code your game INTO THE EXISTING CODE BASE, as in, open sirrf.sln, under the game folder in the solution explorer there is an empty filter called "game" , if you make your class PART of the sirrf solution, it will work.

And as CuteAlien suggested, learn to use the tools you are attempting to use for games, or start somewhere simpler like game maker.
namespace
Posts: 7
Joined: Thu Jul 09, 2009 6:30 pm

Post by namespace »

My advice is to grab a good C++ book (most big bookstores have them) and go through it.

Then start looking through the tutorials and they'll make more sense, it's like reading a secret code, it's not meant to be difficult, but if words are all out of order and have symbols between them your not going to understand it until you understand for example == means equals while = means assign whats on the right to the left.

Go through C++ before you try to write a document in it's code.
bhbtti
Posts: 30
Joined: Fri Jul 03, 2009 5:44 am
Contact:

Post by bhbtti »

i have 2 years with c++ experience
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

bhbtti wrote:i compile in visual studio but i get errors cant find dependiencies.h
bhbtti wrote:i have 2 years with c++ experience
:lol:
bhbtti
Posts: 30
Joined: Fri Jul 03, 2009 5:44 am
Contact:

Post by bhbtti »

haha got jokes
Post Reply