This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Nomabear
wrote ...
2016/11/18
Spawn in fixed location??
Nomabear
2016/11/18
#
I'm super new to this, wondering if I'm doing this right or not? world class addObject(mainbrick(), xLocation, yLocation); x = int; y = int; not sure what code to use to fix a spawn point for an actor
Baguette
2016/11/18
#
Try something like this?
public WorldName() { int x=500; int y=500; addObject(new mainbrick(),x,y); }
You need to login to post a reply.
X