Tagged Questions
1
vote
2answers
252 views
Render rotated rectangle inside other rectangle bounds using Libgdx
I have this code to generate a red rectangle inside a grey rectangle:
new Rectangle(grey_rectangle_position_x, Game.SCREEN_HEIGHT/2-Rectangle.height/2,0);
This code makes the following:
Now, I ...
1
vote
1answer
290 views
How to do geometric projection shadows?
I have decided that since my game world is mostly flat I don't need better shadows than geometric projections - at least for now.
The only problem is I don't even know how to do those properly - that ...