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

Report as inappropriate.

SVK
SVK presents ...

2013/2/5

Sinusoidal rokets

for fun :)

2845 views / 14 in the last 7 days

Tags: with-source example moving clikable

open in greenfoot
Your browser does not support the canvas tag.
The detection of whether I am clicking an actor needs improvement. I do like the movement though.
danpostdanpost

2013/2/5

The movement would do better for a ship at sea.
moobemoobe

2013/2/5

try instead of using MouseInfo MI = Greenfoot.getMouseInfo(); if( MI != null && MI.getClickCount() > 0 ) if (Greenfoot.mouseClicked(this) I think this will ehlp you ;)
moobemoobe

2013/2/5

OK, I updated your scenario^^
SVKSVK

2013/2/6

Thanks to All! 2 danpost: in first version, it was a bee :) 2 moobe: thank you, I looked: http://www.greenfoot.org/scenarios/7460

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.