Java Game Development - 9 - Changing Scenes

Loading...

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

Uploaded by on Nov 14, 2009

How to change scenes in our movie!

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:

Top Comments

  • Beijin. Or else it will not work?! Hahaha.

  • nice work bucky. make more tutorial pls

see all

All Comments (31)

Sign In or Sign Up now to post a comment!
  • @TanakaJayy its called planning ahead

  • @iXavierProductions

    lol people should never never never ever allocate and deallocate stuff in loops

  • Using methods not created yet..how confusing :/ ...

  • "Remember to make beginning look like ebingg or else the code will not work" BWAHAHAHHAHAHAHAHHA xD

  • cant you just call the start() method in the if(movieTime>=totalTime) statement? it does the same i think.

  • This tutorial wasn't your best! I think you should't use hundrets of methods without having build them!

  • @ThEwOtSiT182 IFCEPTION!

  • I tried this with "begin". Guess what.. It didn't work! D:

  • Or if you only want a 2 sprite animation (2 images)

    declare the variable outside the paint method like this

    Image pSprite;

    and then put this in your paint method if (System.currentTimeMillis() / 300L % 2L != 0L) pSprite = new Image ("Char.png"); else pSprite = new Image ("Char2.png"); g.drawImage(pSprite, 150, 150);

    Done.

  • @npacebg but not ebingg! lol

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