• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

King of the Boneheads

Members
  • Content count

    11
  • Joined

  • Last visited

Community Reputation

115 Neutral

About King of the Boneheads

  • Rank
    Member
  1. hmmm... Well, here's my .cbp (Code Blocks Project file) that contains my .cpp file: - { http://codepad.org/JCrRLUFQ } -
  2. After I changed line 41 (49 in the code w/Breakpoints&and the new #include by shaquil) to that, the program got compiled & ran just fine, but it still crashed at line 59. (73 in my code)
  3. Nope, still crashes at line 59.
  4. "allegro5/image.h: No such file or directory". :/
  5. First things first, yes, in fact this .cpp file is IN a Code::Blocks project file, linked to all allegro things necessary. I have followed that Allegro 5 tutorial, and it's not the projects fault (I think). So I set some breakpoints (well, I printed at various points in code) And tracked it down to which line it crashes on, and: http://codepad.org/kOFCWkA5 It seems to crash at line 59. "al_set_target_bitmap(al_get_backbuffer(display));" I really need someone who's advanced to help me out, because the answer is not exactly obvious as to why it crashed.
  6. [quote name='stitchs' timestamp='1351021696' post='4993178'] Which IDE are you using? [/quote] I use Code::Blocks for the IDE.
  7. http://codepad.org/aG4zacD3 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?
  8. 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.
  9. [quote name='Inuyashakagome16' timestamp='1349873480' post='4988698'] You really don't "need" any more files to do what you want. You could (because you did state you were a beginner) setup a while loop and some conditional statements and work through the rooms [CODE] if(direction == 'n' || direction == 'N') { cout << "Moving North through the door"; } [/CODE] For the locked key situation you could hard code it so certain rooms are always locked: [CODE] if(direction == 'e' || direction == 'E') { if(hasKey1) { cout << "You unlocked the door."; } else { cout << "The door ahead is locked."; } } [/CODE] EDIT: You "can" if you want the extra files honestly. I figured it would be easier to work with one file at a time till you become more experienced with C++ is all. [img]http://public.gamedev.net//public/style_emoticons/default/tongue.png[/img] My apologies. [/quote] Thanks!
  10. 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: [u]|R1|R2|R3|[/u] [u]|R4|R5|R6|[/u] [u]|R7|R8|R9|[/u] 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.
  11. 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. Confused... 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 [b]HOW [/b]to do it. Thanks in Advance. Regards, King of the Boneheads.