Results 1 to 2 of 2
  1. #1
    damienrenner is offline Member
    Join Date
    Mar 2012
    Rep Power

    Default change sprite from drawing to an image - also, impliment restart button? - Timer?


    I am creating a platform game within Java. I followed tutorials which drew the user controlled sprite. I was wondering, what is the easiest way to change this to an image which I want? (needs to change direction if walking either left or right)

    Here is the tutorial i followed ... How to make a 2D Platform game in Java? Tutorial Episode 5 - YouTube

    I am looking into including a restart button also, (I currently have a pause button)

    Finaly, how would i include a timer at the top of the screen so that the user knows how long it has taken them to complete the level?

    sorry for the basic questions - I am new to java and found little help from google :L

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: change sprite from drawing to an image - also, impliment restart button? - Timer?

    Moved from New to Java

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. How can I change a timer's delay?
    By chrishans in forum New To Java
    Replies: 7
    Last Post: 11-08-2011, 06:07 PM
  2. Confisuion about sprite.getX() and sprite.getY()
    By Basit781 in forum Java Gaming
    Replies: 0
    Last Post: 01-10-2011, 07:16 AM
  3. Replies: 5
    Last Post: 09-26-2010, 04:44 PM
  4. how to impliment minimize button in swing
    By prasad.vara in forum AWT / Swing
    Replies: 1
    Last Post: 07-20-2010, 10:34 AM
  5. Level Restart Button
    By Curtiz in forum AWT / Swing
    Replies: 4
    Last Post: 04-08-2010, 10:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts