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

2013/5/17

Image/ Actor issues

GreenGoo GreenGoo

2013/5/17

#
I've just updated my game, Starship 2.0 (http://www.greenfoot.org/scenarios/8371) but I can't get the Boss beam weapon to work, because the starship doesn't register being touched unless it is close to the centre of the beam. How could I fix this?
danpost danpost

2013/5/17

#
You are probably using the 'getOneObjectAtOffset' method, which is more restrictive than using 'getOneIntersectingObject'.
GreenGoo GreenGoo

2013/5/17

#
I was using the getOneIntersectingObject(). Would it help if I put up my code?
danpost danpost

2013/5/17

#
I took a look at the scenario. I guess I do not know what you are expecting to happen compared to what is happening.
GreenGoo GreenGoo

2013/5/17

#
I wanted my ship to register the beam if any bit of it was touching, but it doesn't.
danpost danpost

2013/5/17

#
How do you know? what will tell you that it registers or not?
You need to login to post a reply.