Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

215 Neutral

About Storyyeller

  • Rank
  1. Storyyeller

    betting real money in games?

    It looks to me like this should be in Buisness and Law. The discussion has just been about the legal issues.
  2. Storyyeller

    Connect Four AI

    By the way, if you are looking for other algorithms, Connect 4 has been completely solved. You could just store a database of moves if you want.
  3. Storyyeller

    image artifact removal for cartoons

    Thanks for the suggestions. I tried googling before, but I didn't even know what terms to look for.
  4. Maphacking is impossible to prevent in a lockstep simulation. I would like the point out that you can sometimes find ways to reduce the risk though. For example, in Warcraft 3, one popular way to defeat maphacks was to hide a malformed lighting event in the fog of war. If the client tries to render it, it would crash instead. Of course, this only worked for two reasons: 1) the client was proprietary and hence difficult to modify. 2) Most cheaters are not knowledgeable enough to make their own hacks, and hence don't know how to get around this Of course this won't work at all in an open source game, since this is essentially exploting an easily fixed bug. In fact, once the method of maphack detection is known, hack authors can easily modify to get around it even if the client is difficult to modify, (for example in Wc3, one popular workaround is to only reveal the minimap).
  5. Storyyeller

    c++ SDL, Time step problem

    One other thing is that you shouldn't be using delta time like that anyway. At the very least, physics should ALWAYS be done in fixed time steps.
  6. Storyyeller

    Cleaning up a vector of pointers?

    I second the recommendation to switch to smart pointers. As a beginner you shouldn't do everything the hardest way possible just because you feel like you need to learn everything at once. And besides, even once you learn about manual memory management, you'll still be using smart pointers 99% of the time anyway. Generally, the only times you should use raw pointers are where performance is critical (like writing a library), or you have to interface with a library that uses raw pointers (which is most of them).
  7. Storyyeller

    image artifact removal for cartoons

    Well I wasn't sure about the section, but I figured this was the best fit, since it's closely related to image recognition.
  8. Is there any information about techniques for removing compression artifacts from cartoon like images? What little information I've been able to find about compression artifact removal focuses on photos. However, it seems like it should be possible to do much better with cartoon like images due to the knowledge that the image mostly consists of large flat areas and sharp lines.
  9. Storyyeller

    GUI programming

    How do you handle UIs in your games? In previous games, I've done it by manually drawing images with SDL, but for more complex interfaces that quickly becomes unweildy. Also, don't suggest Qt, becuase I can't get it to work.
  10. Storyyeller

    Why is Pygame so much slower than plain SDL?

    I was already planning to do the physics in C++, but I figured it might be easier to do all the UI stuff in Python.
  11. Storyyeller

    Why is Pygame so much slower than plain SDL?

    My Python FPS increased to about 30 once I started printing out the time only once every 16 frames. The C++ version you posted gives me about 230FPS. I've got Pentium Dual core 2.10 GHZ with 3Gb RAM and 32bit Windows 7. I'm also running CPython 2.7.2
  12. Storyyeller

    Math and 2D game development

    Using vectors is usually better, but you can't use them for every purpose. For example, suppose the player can aim in different directions by pressing left and right. You'd expect that pressing left followed by right will leave you facing in the same direction you were before. You can't use a vector because doing so will accumulate rounding errors, so you'll never return to the same position. In that case the only possible representation is an angle. Basically, for physically simulated rotation, vectors are better, while for rotation that comes directly from the UI, angles are better. Anyway, I consider udnerstanding of unit vectors and rotation matrices to be trigonometry anyway, so it doesn't really matter.
  13. Storyyeller

    Math and 2D game development

    Unless of course, you have anything involving rotation or aiming.
  14. Storyyeller

    Math and 2D game development

    If you want physics, at the very least, you'll need multivariable calculus and linear algebra.
  15. Storyyeller

    Why is Pygame so much slower than plain SDL?

    I already accounted for that. It printed out 54ms per frame for me, which comes to 18FPS.
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!