Hey guys I'm wondering how I would be able to make a simple rougelike game and I can't seem to wrap my head around simulating that type of movement, I'd like everything to move when the player moves or performs an action otherwise its paused. Thanks in advanced for your help :)
bloodocean7
ID:1706310
![]() |
|
This is starting to clear it up for me thank you, I'm on my phone so I can't really post examples of code I would use for critque at the moment lol but perhaps you could elaborate a bit more? I see what you mean but still am unsure how to accomplish this without a mess lol
thanks for the quick reply :) |
mob |
What processes are time-dependent?
AI?
So, for AI, instead of having a loop like this:
You set it up like this:
Surely you know of a couple built-in procs you could override to handle "when a player moves", and broadcasting that message to the relevant AI (like, for each NPC nearby).