Added the depth buffer to my drawing methods, worked like a charm! Cheers, no need for custom sorting methods now :D
Type: Posts; User: HappySad-
Added the depth buffer to my drawing methods, worked like a charm! Cheers, no need for custom sorting methods now :D
Yes, yes you are right. .-. I thought he used something else.. ignore that
I would need to sort it due to this happening if it wast...
Unsorted:
http://i.imgur.com/qTkqiD7.png?1
Sorted:
http://i.imgur.com/mWuyOQB.png?1
Anyways thanks for throwing few ideas in.. I...
Try adding this at the end of your rendering code? Or at the end of the class file...
JFrame.validate()
//or
frame.validate()
I dont know if this will help, but I used to get the...
I am making a 2D top down view game in Java. And right now I have the bones set up which work.
One question though, I have set up a class to handle all of the rendering.
I want to know if there...
(Student result / out of how many marks) * 100 : This will give you the percentage of what the student got.
If percentage is above certain limit { pass } else { fail }.
Controller for entities...