This site requires JavaScript, please enable it in your browser!
Greenfoot back

Builderboy2005's Comments

Back to Builderboy2005's profile

Oversampling is when you render to an image larger than the destination, and then shrink it down when you display it. This helps with rough edges and general smoothing out of the grain.
I didn't use any kind of gui at all, I had to enter each number of the tilemap by hand! It was quite tedious.
Glad to hear :D
I recommend you use my code only as a guide to creating your own. That will be more useful in the long run! Think of it this way. Getkey is always looking at what keys you are pressing, and keeping track of the most recent one you pressed. Whenever you call Greenfoot.getkey(), it tells you what the most recent keypress was. After asking it, it will continue to return nothing until another key is pressed.
Hey MatheMagician, I noticed the way you do drawing is to simply draw 100x100 polygons for each visible face. Being that there are about 3 faces visible at a time, that amounts to 30,000 polygons for a single view! Have you considered using a custom polygon routine that could use linear interpolation? That way you could be drawing pixels, not polygons, and might be a lot faster.
Very nice! Might there be an option to turn off interpolation so we can view the room at a higher framerate? Probably using the default drawPolygon methods as well for speed?
Are you drawing the triangles using any pre-built methods, or are you using custom triangle interpolating algorithms?
Very impressive! What kind of methods are you using to render the room? Is the light being calculated dynamically or are the walls simply textures?
So it is! It was actually inspired by a different game too called Vector Race or something :P