|
11h
|
|
revised |
cannot convert two different enumerated types? "Invalid conversion from 'int' to 'IMGdirections' correction, convert and cast are 2 different things |
|
11h
|
|
comment |
cannot convert two different enumerated types? "Invalid conversion from 'int' to 'IMGdirections' An enum is not an int. You can cast to it from an int, but so can a float or a char or a bool, you can even cast it to a pointer. It doesn't make it a float or a pointer or an int, its a different type, so you have to cast. |
|
23h
|
|
comment |
When to use GameComponents? Dont be afraid to implement a bad design first. Its better than falling into a design paralysis. Good designs are an evolution, implement something, see how it works, improve it if turns out bad. The more experience you get, the smaller the cycles will be, but there is no shortcut for that experience, you only get it from making mistakes, so "oops" is a good thing, just start with your idea. |
|
2d
|
|
revised |
Damage indicator screen overlay Modified title to match the question |
|
2d
|
|
revised |
How to make a "GUI In Game"? Removed game-mechanics tag, not related. Added architecture tag |
|
2d
|
|
comment |
How to make a "GUI In Game"? -1 Just because there is a message system in between, doesnt mean its decoupled. The GUI must know whether the game has teams or not, whether it has XP, how many skill points, which skill trees for which character, all this information must be hard wired in the GUI, messages in between or not. So the whole decoupling idea renders pointless once you put it into practice. |
|
2d
|
|
comment |
Bright colors versus duller colors Do you have any kind of reference for the claim of such a correlation of age and "color taste"? |
|
2d
|
|
comment |
It is okay to use a string as a resource location key in a GUI system? What do you mean by "resource locator"? When and in which context and how often do you want to use it? Why do you prefer a string over an enum? Which language and platform? There are a lot of question marks left open, that make it nearly impossible to give you a reasonable answer. Voting to close as this is not a real question in its current state. |
|
2d
|
|
comment |
Design pattern on class level, how to do separation of concerns through mvc or alike? Hey, no worries :) "if the engine starts .." - Which engine? Are you writing an 'engine'? You didnt mention that. - " .. without the graphical client" - Is that a requirement of your game? Is it supposed to start without graphics? |
|
May
19 |
|
comment |
Gamepad support for OSX I had a quick look at SFML's input code, its using apple's framework IOKit for the PS3 Controller. So you should be fine with that, no need for 3rd party drivers/libs. Just use apple's IOKit's HID interface. |
|
May
19 |
|
comment |
Gamepad support for OSX Latest OSXs have a PS3 controller driver built into the OS. I tested it with glut and sfml. All the buttons and axes worked fine. Not sure about rumble and sensors though. |
|
May
15 |
|
comment |
Is GNU GCC used for AAA games? Clang is a c/c++ frontend for a compiler platform called llvm. Yes, its better in many ways. For starters it shows the exact error in a macro, not just the line where the macro was called. It makes stupid intelli sense look even more stupid, since it makes it easy to access the AST tree, no need for an extra parser. Partial code compilation, the list is long, take a look at it, its worth it :) |
|
May
15 |
|
comment |
Is GNU GCC used for AAA games? GCC was a very common compiler before LLVM/Clang came around, or saying it with clang: "gcc? Did you mean clang?" ;) |
|
May
5 |
|
comment |
Fast and minimalistic C++ 3D engine Its only guessing, there is only one way to find out, profile your use case with those engines. Voting to close as this is not answerable in general. |
|
May
5 |
|
comment |
Fast and minimalistic C++ 3D engine How did you measure the performance of all those engines, and what are the actual results/numbers? Also define "fast enough". |
|
Apr
27 |
|
revised |
2D Rigid Body isn't working properly, gravity and impulses with SAT collision detection discussions about the "rating system" belong to the meta site |
|
Apr
21 |
|
revised |
Implementing Frame of reference for physics calculations added 5 characters in body |
|
Apr
21 |
|
answered | Implementing Frame of reference for physics calculations |
|
Apr
9 |
|
comment |
A.I. dependencies based on components Answering the "how to put it into components" question first without even knowing anything about the AI system is shooting in the dark. Tell us more about your AI system, the answer depends on it. |
|
Apr
1 |
|
reviewed | Reject suggested edit on Lwjgl Random 2D Map Generation |