This site requires JavaScript, please enable it in your browser!
Greenfoot back
NIRO17
NIRO17 wrote ...

2016/6/30

make a pathfinding robot

NIRO17 NIRO17

2016/6/30

#
i want to make a scenario with random moving robots with different speed.and if they touch some object withing there range, suddenly grab that object and come back to a specific location(this senario same as the "ant" example in greenfoot). can't i make that senario without using "creature" class in greenfoot.
danpost danpost

2016/6/30

#
NIRO17 wrote...
can't i make that senario without using "creature" class in greenfoot.
I do not see why not. It would basically be like renaming the Creature class to Robot, then adding the code for picking up/holding/dropping off objects.
You need to login to post a reply.