Greenfoot: Shooting (Part 1 of 2)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,683
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 27, 2011

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

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (10)

Sign In or Sign Up now to post a comment!
  • doc/support_classes

  • Can you maybe post the codes from the site somewhere, please? bc I can't find it!!

  • 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?

  • @7Cetus7 Ok glad to help!

  • i meen my computer science teacher in school

  • @Hydrobirdgaming

    thank you for the answer :)

    but my teacher helped me already

  • @7Cetus7 Check your swiggly brackets

  • if i compile the code after adding "private void fire()"  i've got an errormessage :

    "illegal start of expression"

  • are there any other codes that could be used to achieve the same effect?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more