Skip to main content
GameDev.net gamedev.net
🔒 Locked

[java] Help with Java Game

Started by SpacedOut Oct 19, 2005 at 4:28 PM 0 replies 700+ views
Original Post
SpacedOut
SpacedOut
just working on an engine now, for a simple 2d game. some weird stuff's happening though. the background should change to white immediatly but for some reason, it waits one frame to do so. http://rafb.net/paste/results/80o6tZ58.html i come from mostly a C++ background with little Java experience so excuse me if i'm embarrassing myself. any help appreciated.
H_o_p_s
H_o_p_s
For games you should be using a BufferStrategy to handle the screen updates. Check in the forum FAQ for some good examples of how to use it properly.
BRING BACK THE BLACK (or at least something darker)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.