+ 2
Game event
How I can do events in a game? For example: player go to door and when he near door...(for example it explode) on C++
5 Réponses
+ 2
//not for multithreading
enum class event { explosion, trigger_hit, null }
event cur_event{null};
+ 2
That's specific to your engine, game...
Can't help you there.
+ 1
Thanks
+ 1
But I don’t know how do “WHEN PLAYER NEAR DOOR”?
+ 1
Ok