How to develop game from step one
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
<Programming is a way of life>
If at first you don't succeed press the delete key till you do
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
You create a state, "menu state" or "game state"what do i do with it
http://sourceforge.net/apps/trac/sirrf/ ... als/v0.1.x
i second this as wellSylence wrote:Ok there is one step you should do before planning ^^
Learn programming
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
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
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).bhbtti wrote:i compile in visual studio but i get errors cant find dependiencies.h
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
Dont copy paste code if you dont know what its doing or where it goes.compile in visual studio but i get errors cant find dependiencies.h
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.
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.
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 wrote:i compile in visual studio but i get errors cant find dependiencies.h
bhbtti wrote:i have 2 years with c++ experience
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info