From the series "Game Programming with Java and Greenfoot": Shooting.
This video shows how to implement a shooting action in Greenfoot, where some sort of cannon fires some sort of bullet.
High quality version of this video (and source code) available at http://www.greenfoot.org/doc/videos.html
doc/support_classes
PKSN14rasmus 2 weeks ago
Can you maybe post the codes from the site somewhere, please? bc I can't find it!!
mollorado 2 months ago
I cannot seem to find the mover class on the Greenfoot website. Does anybody have any idea if this specific version can been found somewhere else?
bombzu 2 months ago
@7Cetus7 Ok glad to help!
Hydrobirdgaming 3 months ago
i meen my computer science teacher in school
7Cetus7 3 months ago
@Hydrobirdgaming
thank you for the answer :)
but my teacher helped me already
7Cetus7 3 months ago
@7Cetus7 Check your swiggly brackets
Hydrobirdgaming 3 months ago
if i compile the code after adding "private void fire()" i've got an errormessage :
"illegal start of expression"
7Cetus7 4 months ago
are there any other codes that could be used to achieve the same effect?
yankeegamer92 7 months ago