This site requires JavaScript, please enable it in your browser!
Greenfoot back
ebollinger@sonorahigh.net
ebollinger@sonorahigh.net wrote ...

2018/12/12

problems

how do I spawn a chericter on the middle of the world with another chericter
danpost danpost

2018/12/12

#
ebollinger@sonorahigh.net wrote...
how do I spawn a chericter on the middle of the world with another chericter
What do you mean by "with another character"? Give specifics to help our understanding of what you want.
If i press q in the game my good guy will open the shop hub
danpost danpost

2018/12/13

#
ebollinger@sonorahigh.net wrote...
If i press q in the game my good guy will open the shop hub
I thought your shop was a different world, not an actor. Verify.
It was but I didnt understand a world you wer saying so i am now making it an acter can we get back to the question now
TobyRoby TobyRoby

2018/12/13

#
woah dude, he's trying to help, don't be so hostile :)
CoolSharkCody CoolSharkCody

2018/12/13

#
Show us the code for your character so we can see what’s causing the issue.
danpost danpost

2018/12/13

#
ebollinger@sonorahigh.net wrote...
It was but I didnt understand a world you wer saying so i am now making it an acter can we get back to the question now
Using a world is much better. Otherwise, actors will act while the shop is opened.
I know i already made a way fore the badguys to pause and stop while shop is open i just need to know how to center the shop in the mittle
I know i already made a way fore the badguys to pause and stop while shop is open i just need to know how to center the shop in the mittle
danpost danpost

2018/12/14

#
ebollinger@sonorahigh.net wrote...
i just need to know how to center the shop in the mittle
You mean this?
getWorld.addObject(new Shop(), getWorld().getWidth()/2, getWorld().getHeight()/2);
You need to login to post a reply.