Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 16 Jun 2005
Offline Last Active Yesterday, 10:41 PM

Posts I've Made

In Topic: Help with debugging lua through luabind from C++

29 September 2015 - 11:18 AM

You might find this helpful:




The idea is to add an error handler and then through that you can add additional information about what exactly happened.


If you need to debug Lua code in general then here are some options:




Maybe you could use something like: http://studio.zerobrane.com/

In Topic: Where to start?

22 September 2015 - 08:42 PM

Hello Aron007,


Here are two articles from two different approaches:





You might also find this interesting:



In Topic: Generating and initializing content for a text RPG

06 September 2015 - 07:20 PM

Have you seen this?:




Every programmer has to fight syntax and "flounder around" at some points. It is part of it. Whenever you don't really understand the way something works it is going to be hard to work with. You may want to consider switching json parsers or perhaps switching languages. C++ is a notoriously difficult language to use/learn especially for people just starting out.

In Topic: Generating and initializing content for a text RPG

05 September 2015 - 09:49 PM

I personally would use JSON for this if I were implementing it today (In the past I might have used XML). You might want to learn about XML and JSON before looking at DB based solutions (which might be overkill for your application).




The key thing here is that your rooms would have some sort of identifier (ID) that you could use to jump between them.


For example if you had a room called "Castle" and one called "Moat" then you could have an entry "South" that told the game engine to go to the "Moat" room.


There are a number of libraries available for C++: http://www.json.org/

In Topic: Need to be taught to make a 3D MMORPG

05 September 2015 - 07:39 PM



Um well I need somewhere that has a step by step course. Like I said im very new to this.


Step by Step guides to how to program a specific game are generally not that great as they tend to be inflexible. Sure you might be able to follow it and make game A, but if your goal is to make game B, you're going to have some difficulties.  Programming is all about problem solving, and if you want to create something new, you need to learn how to figure things out for yourself rather than following a step by step guide.


That being said, tutorials on how to program in general can be very useful.  Once you've done some of those, try making a basic game without any assistance.  You'll no doubt muck it up the first time, but it will teach you valuable lessons that will help you in the future.


I'm sure there are people here that can recommend some programming tutorials for you (I can't help you there sorry, as they didn't exist when I learnt how to program so I've never used any myself).


This is what Ive never understood. Every single person I ask how they learned to program such as minecraft modders they tell me that they "taught themselves". How the heck do you just teach programming to yourself. If programming and coding is really as complicated as all of you said it was then how does one learn just by watching a youtube tutorial and then work your self up to making an MMORPG. Do I not need a course for basic programming? Or can I just learn to make simple games then work my self up with youtube tutorials?



I believe that one of the most helpful things you can do as someone just starting out is to focus on the programming fundamentals. You want a course that teaches you how to make a full game... but that is like asking for a course on how to create a skyscrapper when you don't know how to use a hammer.


There are courses out there:







If you wanted to start from the "ground up" there are some very good (and basic) programming courses. The ones I am going to list were designed for "kids", but I find these are an engaging way to learn and you will hopefully learn something:







Those are some resources to get started understanding the basics of programming. The programming core concepts translate across languages and learning to write programs first will help you wrap your mind around the more advanced concepts.


I started programming in QBasic before the internet. The number of resources and tools around today is staggering and there are so many different paths to get started. I think the key is to just "pick something (read ANYTHING)" and try to make "something". Don't worry about picking the "right" thing. Don't worry if what you make sucks. Just create... program and program and then program some more. Keep programming until you have programmed a LOT and then program even more than that. I have been programming for over 15 years and I learn new things every day.


Once you know the programming basics (variables, flow control, loops, arrays, dictionaries, file I/O, ect) then you can start using "some tool" (there are many out there) to create 2D games. These 2D games will teach you the basics of game development and how a games many systems are constructed (graphics, sounds, user input, AI, physics...)...

Once you have some 2D games under your belt then you are ready to tackle the complications that 3D adds (such as more 3D math, 3d models, shaders, ect).