My mate asked me if i was able to write an RPG, i said it would be complicated and would take a while but i did not see why not. Any body else tried to write an RGG on c++?
I did when I was really new to C++. However, the project soon failed as I knew nothing about graphics, artificial intelligence, sound, user I\O, and physics. Although you only need graphics, and user I\O to make the game playable.
Truth be told, now I've seen how complex game development is, I know not to attempt game production without proper knowledge of all of the above.
One problem you'd face is setting too high goals. In a normal rpg there are complicated things about what Framework said (except physics. where exactly does an rpg need physics?..) also quest system, spells, and probably many more. However most of those things you can either greatly simplify or remove altogether. The result would still be called an rpg.
Another is that a rpg requires much work on maps, quests, monsters, items, etc. While you can simplify these as well, you won't be able to call it a game if there is only a 10x10 grid with several identical monsters on it, will you. These things might be a pain to make..
My answer to all that is that you should write tools to do all of that, e.g. a map editing program. You should write your game and organise your source so that you game engine can share the map reading code with the map editor.
I recently wrote a text based rpg that played very simularly to pokemon. It used lots of structs and pointers. I eventually gave up on it, as I had started writing it when i was an uber-beginner and it had lots of irrelevant/messy code. If you would like, I can give you a few pointers on it.
My mate asked me if i was able to write an RPG, i said it would be complicated and would take a while but i did not see why not. Any body else tried to write an RGG on c++?
Anything is possible with the willpower, determination, and knowledge to make it happen. How much experience do you have?
Started the programming now, the mate who asked me is helping me with what he can do (he cant code). Coming along nicely though not playable yet- having trouble with one .inl file so the project has stalled. Does anybody know any tutorials on AI as i have not done much AI.
Reckon it'll take 12 months.
You should try mapping out a flowchart for your RPG based AI. Then possibly show that here. It'd give you a good design to base the AI off. Then you'll never go off track during the implementation of your design and remember everything.
Console (as in command shell) RPG games don't tend to be complicated, just heavily time consuming. Put enough time, you can get an easy 30 minutes to an hour game time for around a day or two worth of work. If you're making a full on 3D RPG with all sorts of features, it can go into the years as far as time goes.
Also, by console, I mean text based. I don't mean a partially 2D game using some ASCII hax.
They're only really complicated because it's hard for a computer to understand natural language. It's not too hard if you tell the user to make input simple - "pick up crowbar", "attack bear", that sort of thing. I would also recommend converting all input to lowercase before doing anything else with it, to allow case insensitivity.