• 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.

steffy81

Members
  • Content count

    12
  • Joined

  • Last visited

Community Reputation

220 Neutral

About steffy81

  • Rank
    Member
  1. I wanted to thank you guys for the help.  It is much appreciated.
  2. One last update for the night on my progress.  I placed:   cin.clear(); fflush(stdin);   after the while(cin >> x) loop and I could use cin again. I had to use both as one or the other would not work alone.     However, I am reading in many places that using the fflush(stdin) is a bad idea.  So I guess this is just a temporary fix and not a good one at that.
  3. Matt-D I tried this and it did not seem to work.      I did however find another nifty little bit of code as I was looking around the internet, that will get me the same result.  This will keep my window open since I am not able to use cin again after placing it in the while loop mentioned above.  Figured I would share it.   void keep_window_open() { // clear buffer fflush(stdin); printf("Please enter a character to exit\n"); char ch; ch = getchar(); return; }
  4. Hello, I am working out of the Accelerated C++ book.  I have been learning C++ for a couple years now (teaching myself as I have time).  I have run into a small issue in chapter 3 of this book and am not sure what to do about it.  I have tried to run the example programs from the chapter and they will not run.  I believe the problem is at the section:   while(cin >> x) {       ++count;       sum += x; }   I have commented out code from here on, and the program runs fine.  When I add this code in, the program allows me to enter the data, but then immediately exits without finishing.  The output window in VSC++ 2010 says the exited with code 0.    I was wondering what would be causing the program to exit without finishing?  Anyone have any ideas or suggestions of how to get this to run completely?   Here is the full code I was using. (I deleted the code because I thought I might be infringing on the copyright).  I added the last bit before return 0 to keep the console window open until I saw the finished program.   Edit to issue:  I have continued to work with the program.  I have not figured out what I am doing wrong, but I can redefine what is happening.  It seems the program is continuing to run, but I can no longer use cin.  I have tried placing cin.clear() after my while loop as amrazek mentioned, and it has not corrected the problem.  I will continue to look into the issue.
  5. It sounds like you are using Microsoft Visual.  This has happened to me.  I know there is a distribution package you can download.  When I downloaded it to my desktop, this solved the problem.  However, I tried running my games on my husbands laptop, and even with the distribution package on the disk, it would not work.  I did not download it directly to his computer though.
  6. I found thenewboston to be a valuable tool, but I did not use it as the only learning tool.  I used the tutorials from thenewboston as a suppliment to my readings and other tutorials.  I was having troubles in a few areas and these tutorials helped me a lot.  I have seen statements regarding learning bad habits and not fully learning everything the way we should from the videos.  That may be, but bad habits can be learned from many tutorials and books.   There is no harm in watching the videos in my opinion.  If you learn from them, fantastic.  If you don't, move on to different tutorials and books.  Use what works for you.  And as I stated above, do not use just one set of tutorials to learn from.  Use other tutorials and books.  You will find things that work for you.  You will start to learn good from bad habits.
  7. You asked about the tutorials on thenewboston by Bucky.  I found them very valuable.  Use them as a suppliment to your learning if you want.  Also use other tutorials that you find.  I find tutorials great because each 'instructor' may teach you something another didn't or something you just did not figure out from the books.
  8. I believe it is more of a 2D application/engine, but I saw something on construct 2 the other day. It uses HTML5 and according to what I read, you do not need any progamming knowledge to use it. You simply take objects that you find around your computer, place them on the screen, click into the menus and tell the items what they should do, and then you have a game. I have no experience with construct. I simply looked it up after a friend told me about it. I haven't looked into it any further for several reasons, but that's not real important. It does however, seem to be very close to what you are looking for.
  9. I started learning C++ as my first language. I used the 'Beginning C++ through game programming' and I loved the book. It is the one I still refer to the most. It took a little bit to figure things out, but the book does a good job of walking you through what you are doing. I went through some of the chapters several times, and used tutorials I found on youtube and thenewboston.com, to help me get the hang of it. One language might be easier then another, but as many people have said, it is your choice. I would say if C++ is sticking with you better then C#, I would go with that. However, it is also said that C++ has a much higher learning curve.
  10. I am self taught as well. Here is an example of how I do collision detection. It might not be the best of ways, but it does work. if(objectA >= rightBoundary) { objectA -= 1; } if(objectA <= leftBoundary) { objectA += 1; } The distance away from the boundary or other object really depends on how far your objects moves. i.e. float, int, etc. and how much of a bounce effect you want it to have. If you have it move away considerably, it will look like you object bounced off of the boundary.
  11. When I was young and we got some of our first game systems, I thought how awesome would it be to create games. I already loved to write stories, but somewhere in there I thought the idea of writing games was too far out there. This would never be a possibility for me as I didn't know where to start and we did not have the funds for anything like books to teach me. And oh yeah, my mom barely let us touch that computer because it was so expensive. Then, a few years ago, I got the bright idea again. I knew it was a long shot, but I was bored and unable to work outside the home. I needed a hobby. I had ideas for big games and could imagine others playing and maybe enjoying them. So I watched tutorials and purchased a book. I downloaded the necessary IDE and started reading. It was then that I realized that I needed to start small. If I was to try something large, I would burn out. So I studied, and watched more tutorials online, and reread my book... many times. I started having fun and enjoying making the small text games. But I wanted to add some graphics to it. So I researched and made the decision to add opengl to my games. Learning was slow and tedious for both C++ and opengl, but I could see results and that was rewarding. I kept at it. Now I have a few small games that my kids can play. I am still not real advanced and I know any big games are far into the future, but I am loving what I do. I would say if you have ideas for big games, write them down, and refine them to what you want. But don't start making them right away. Start small and learn, so you don't burn out. It is much more rewarding to see results then it is to see failure and frustrations.
  12. I am a self taught programmer. I have not had any formal education in this field (however I do have a degree in another field). I have had little support in my two years of learning. At first, I was told that I would not succeed and I should just quit before I started. I was told I would fail and I almost listened. Since then, I have gained many of the basic concepts of the C++ language and added in Opengl. I am a long way from where I would like to be, and would love to take a few classes in the field. I think they would be invaluable in teaching me concepts and ideas that I have not picked up myself. I am programming games as just a hobby and not for a career, so I do not worry to much about this. My games are very simple and made for a young child, but I am having fun. Now that I have countless hours watching videos, tutorials, searching forums, reading book after book, and made a few games that actually work, I have more support. I even found a friend that programs in C# and likes to branch out into other languages. He has seen my code and has told me that he does not understand a lot of it, because he has never dealt with opengl. The reason I give much of this back story is to show that yes you can do it alone, but having others behind you will be a huge benefit. It is a difficult thing to do alone. There is no one for me to bounce ideas off of. No one to look at my code and help figure out mistakes. Very few to even talk to about this, because they do not understand anything about the language. Its like I am speaking a foriegn language to them, and in a way I am. I can use forums and look up videos, but I would like to have others that know what I am looking at and talking about. Things are easier when you have a support system both in just saying you can do it, and in knowing what you are doing. It is always good to know people that can do the same thing you can do and are in the same boat as you are.