Java Game Development - 22 - Finishing the Perfect Animation

Loading...

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

Uploaded by on Nov 22, 2009

Finally we finish and run the perfect animation, aka the animation without flickering!

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:

Top Comments

  • If you are getting a blank screen or nothing at all:

    In screenmanager.class check the update method. As well as the fix mentioned earlier (should be !s.contentsLost()). Make sure the if method is:

    if(w != null)

    For some reason I'd typed mine as equal to null!

    

  • Why did we build the method createCompatibleImage? We never used it!

see all

All Comments (102)

Sign In or Sign Up now to post a comment!
  • (ep 22)mine says "Selection does not contain a main type"

    if "public static void main(String[] args) { DisplayMode dm = new DisplayMode(800,600,8, DisplayMode.REFRESH_RATE_UNKNO­WN); display d = new display(); d.run(dm); }" is not a main type, i dont know what is

  • am i the only one that gets a null pointer exception from the movieloop method that is thrown fromthe update method?any ideas????

  • @Sebastiantroy1 Thankyou very much kind sir!

  • lol this shit works

  • @sev07knight yes the are yellow but its just a black screen for me in like 2 sek :P

    than its stops

  • @Yoieh What are they? Just yellow? I have 5 yellow warnings and it still works fine.

  • @302MineCrafter same here :(

  • @sev07knight Yeah main dident :( 5 warnings

  • I got 5 warnings

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