Jump to content

  • Log In with Google      Sign In   
  • Create Account

King of the Boneheads

Member Since 10 Oct 2012
Offline Last Active Oct 24 2012 11:51 PM

Topics I've Started

[Allegro 5] Game Crash

23 October 2012 - 01:29 AM


My issue is that every time I compile & run it, It waits a couple seconds then crashes. Like, stops responding.

Does anyone have a clue what I'm doing wrong?

SDL Download Help

10 October 2012 - 02:43 PM

So I was suggested in a different thread that to get the Win32 API (GUI?) for my C++ programs, a good way is to download SDL.
I downloaded SDL-1.2.15, but now I want to know how to use it in CodeBlocks, to make a basic C++ program use the Win32 API.

Thanks in Advance.

Regards, King of the Boneheads.

Text Adventure Help

10 October 2012 - 02:11 AM

I'm less-then-beginner in C++ at the moment and I'm working on my first official game: A Text Adventure.
I realized it should be simple enough to do, and I want to start with a basic one. Can I have 1 .cpp file for each room? Here's some example rooms:


So l want it to make it so you start in the bottom room, it tells you what the room looks like, the name of the room, and gives you 3 choices.
Type in "N" for north "E" for east "W" for west.
So if you want to go north to the middle room, you type in "N" and hit enter.
Then you appear in the middle room, and the same thing happens.
However, I want to be able to have locked doors & keys.
So lets say there's a key in the top-right room, and you collect it if you walk into the room. Then there's door1 (you just collected key1) all around the middle room. Then if you try to walk in, it will act as if the door isn't there and you let you in. Otherwise it says you need the key.
Might be confusing, and I'm willing to take the time to write this, but I really want to make it happen.

Thanks in Advance.

Regards, King of the Boneheads.

I'd like to make a C++ game

10 October 2012 - 01:49 AM

Hello people of GameDev.net (This is my first forum thread)

So I'm fairly new to C++ and I've made basic things and I'm working on a Text Adventure right now but once I do make a game, I've hit one bump in the road.
When I code something in C++, it runs it in what looks like Command Prompt.
I'd assume it's because C++ won't come with anything super-fancy and I guess I'm fine with it but my real question is:
How do you turn your C++ .exe file look like a regular old program/game on Windows?
I believe it has something to do with .txt files and collecting files from your computer, but I just need to know HOW to do it.

Thanks in Advance.

Regards, King of the Boneheads.