1
vote
1answer
97 views

Canvas isometric translations to integer coordinates

I'm creating a canvas based game with an isometric playing board. I use the following transformations to get my square tiles to render on the screen: 'applyViewportTransformation' : function() { ...
0
votes
0answers
235 views

Transformation Matrix in Android Canvas?

This question is following up my previous question that I asked it in stackoverflow: Hide a face of a 3D shape behind another,Android canvas? I have a canvas and I have to get the normal vector of a ...
1
vote
0answers
56 views

How to work with edge Texture

Im not sure if i use the right terms, but im not able to find something to start with. Im trying to develop a little HTML5 game. I have a ground with a texture and now I want to make a surrounding ...
2
votes
2answers
199 views

how to transform child elements position into a world position

I'm making a 2d space game in Javascript with canvas. In this game there's a bunch of spaceships, positioned in world space, with turrets, positioned relative to their parent ships. These objects also ...