M
mcknightm
Guest
NOOB saying hi. First post.
I have coding experience but new to GML.
I'm not requesting code snippets just general direction if possible.
Goal:
3 agents in each room, all use same sprites.
4 or more objects appear randomly in rooms which must be acquired.
- click on 1st object and agent 1 path finds its way to pickup
- click on 2nd object and agent 2 path finds its way to pickup
- click on 3rd object and agent 3 path finds its way to pickup
- click on 4th object and all agents busy then message "Wait for next agent"
agent 1 moves if available, agent 2 moves only if agent 1 is busy, agent 3 moves only if agents 1 and 2 are busy.
Question(s):
Use 3 agent objects or 1 object and utilize instances variables?
- can GM instances hold its own path?
I know I have a lot of learning in front of me, but I need to know if GM can perform these actions.
Any thoughts/direction is very appreciated. Thank you.
Pseudo-code saves puppies.
I have coding experience but new to GML.
I'm not requesting code snippets just general direction if possible.
Goal:
3 agents in each room, all use same sprites.
4 or more objects appear randomly in rooms which must be acquired.
- click on 1st object and agent 1 path finds its way to pickup
- click on 2nd object and agent 2 path finds its way to pickup
- click on 3rd object and agent 3 path finds its way to pickup
- click on 4th object and all agents busy then message "Wait for next agent"
agent 1 moves if available, agent 2 moves only if agent 1 is busy, agent 3 moves only if agents 1 and 2 are busy.
Question(s):
Use 3 agent objects or 1 object and utilize instances variables?
- can GM instances hold its own path?
I know I have a lot of learning in front of me, but I need to know if GM can perform these actions.
Any thoughts/direction is very appreciated. Thank you.
Pseudo-code saves puppies.