Java Game Development - 22 - Finishing the Perfect Animation
Top Comments
All Comments (102)
-
(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
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!
stubblychin 7 months ago 6
Why did we build the method createCompatibleImage? We never used it!
Genuigr 2 months ago in playlist Java Game Development Tutorials 4