No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Re: [QUOTE]I don't understand why it is preferable to create a purely virtual base class, only to overwrite all of the methods in the derived ones.[/QUOTE] I'm doing this in a game-project I'm working on, and when you get used to it it's quite awesome. My enemies (Soldiers) tick-function makes sure … | |
Re: If you're simply unable to find the header files, copy them to your project's folder, along with your other source files. That should do the trick. Also, every implementation-file needs to have the .mm extension, unless it's purely a c++ file (.cpp). The compiler behaves REALLY strange if confronted with … | |
Re: Unfortunately, I'm unfamiliar with the game you're speaking of. However, just as a program needs it's main(), a game needs a loop. Hope this can aid you some. [CODE] //pseudo bool quit = false; while( !quit ) { getInput() doSomeThinking() if (someone won) quit =true printResult() } [/CODE] | |
Greetings, I'm currently engulfing myself into game programming, and so far I've made a pretty stable library for a 2D-side scrolling shooter. Note that I'm not posting this in the game development due to my issue being more general than game-specific. What I'm experiencing trouble with, is upon deleting an … | |
| |
Re: I'm far from any expert on said subject, but what I do know is that class members are by default privat and inaccessible unless called from within, unless declared public. Structures are by default public and can, to my limited knowledge, not hold any functions. Feel free to correct me, … |
The End.