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

2021/9/22

I want to make a never ending game

eagcon1 eagcon1

2021/9/22

#
So basically it's an elephant that has to eat grass & escape from alligators I want to make the grass appear at random spots forever (Never ending right) but I can't make it appear on it's own so pls help me
Roshan123 Roshan123

2021/9/22

#
Click it If u have downloaded it already, then do inform me
danpost danpost

2021/9/22

#
eagcon1 wrote...
I want to make the grass appear at random spots forever (Never ending right) but I can't make it appear on it's own
Did you try an act method in your MyWorld class? (see API documentation of MyWorld class)
eagcon1 eagcon1

2021/9/23

#
I don't have a MyWorldClass
eagcon1 eagcon1

2021/9/23

#
@danpost Thx for the advice but never mind @Roshan123 updated/ fixed it
danpost danpost

2021/9/23

#
Correction:
danpost wrote...
Did you try an act method in your MyWorld class? (see API documentation of MyWorld World class)
(and I am sure you have a World instance) @eagcon1, this post was more for others than for you, since your issue has been resolved.
You need to login to post a reply.