Close

Results 1 to 9 of 9

Thread: O-O Java

  1. #1
    DF VIP Member surfdude666's Avatar
    Join Date
    May 2005
    Location
    United Kingdo
    Posts
    205
    Thanks
    0
    Thanked:        0
    Karma Level
    239

    Default O-O Java

    Hey all, im looking for someone to give me a hand with a bit of java because im having trouble with it, its fair simply stuff but im finding it hard, if anyone out there can give me a hand could you please pm me, its basically double buffreing and that level type stuff.
    "Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering."........oh and no one told me that.





  2. #2
    DF VIP Member blacksheep's Avatar
    Join Date
    Jun 2006
    Location
    Manchester
    Posts
    3,877
    Thanks
    87
    Thanked:        265
    Karma Level
    545

    Default Re: O-O Java

    if you put it here you may have more responses

  3. #3
    DF VIP Member surfdude666's Avatar
    Join Date
    May 2005
    Location
    United Kingdo
    Posts
    205
    Thanks
    0
    Thanked:        0
    Karma Level
    239

    Default Re: O-O Java

    do you mean my code?
    "Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering."........oh and no one told me that.





  4. #4
    DF VIP Member nitelife's Avatar
    Join Date
    Nov 2002
    Location
    Reading, Berks
    Posts
    1,170
    Thanks
    115
    Thanked:        13
    Karma Level
    336

    Default Re: O-O Java

    you should tell us what the problem is first.

  5. #5
    DF VIP Member surfdude666's Avatar
    Join Date
    May 2005
    Location
    United Kingdo
    Posts
    205
    Thanks
    0
    Thanked:        0
    Karma Level
    239

    Default Re: O-O Java

    oh ok, sorry, well im creating a basic game and the problem im having at the moment is getting the double buffering to work and not sure how to do this.
    "Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering."........oh and no one told me that.





  6. #6
    DF VIP Member
    canardo's Avatar
    Join Date
    Jul 2001
    Location
    uk
    Posts
    840
    Thanks
    0
    Thanked:        0
    Karma Level
    321

    Default Re: O-O Java

    paint to an image first then paint that to the screen, if whatever you are using doesnt already support double buffering

    post your code I am an ex Java game programmer

  7. #7
    DF VIP Member surfdude666's Avatar
    Join Date
    May 2005
    Location
    United Kingdo
    Posts
    205
    Thanks
    0
    Thanked:        0
    Karma Level
    239

    Default Re: O-O Java

    **
    Last edited by surfdude666; 6th February 2008 at 11:13 PM.
    "Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering."........oh and no one told me that.





  8. #8
    DF VIP Member surfdude666's Avatar
    Join Date
    May 2005
    Location
    United Kingdo
    Posts
    205
    Thanks
    0
    Thanked:        0
    Karma Level
    239

    Default Re: O-O Java

    i fthis make sence to anyone
    Last edited by surfdude666; 6th February 2008 at 01:18 AM.
    "Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering."........oh and no one told me that.





  9. #9
    DF VIP Member
    canardo's Avatar
    Join Date
    Jul 2001
    Location
    uk
    Posts
    840
    Thanks
    0
    Thanked:        0
    Karma Level
    321

    Default Re: O-O Java

    as a programmer you should know how to use code tags to help the readability

    you need to get the graphics object of the buffer image and then paint with that (offscreenGraphics) then when you have finished you can then paint the image which is now buffered to the screen using the Applets graphics method

Similar Threads

  1. J2ME / JBlend Java on Sharp GX10 ???
    By hummmm in forum Programming
    Replies: 0
    Last Post: 25th November 2002, 01:45 AM
  2. Java Popup's :()
    By Dragoncity in forum The Dog and Duck
    Replies: 0
    Last Post: 7th October 2002, 04:16 PM
  3. Java console??
    By Jaffa in forum PC Problems
    Replies: 3
    Last Post: 26th September 2002, 02:14 AM
  4. Java Idea?
    By Roo in forum Unlocking Questions & Solutions
    Replies: 0
    Last Post: 8th September 2002, 06:55 PM

Social Networking Bookmarks

Posting Permissions

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