Associate
- Joined
- 11 Oct 2008
- Posts
- 268
I'm making a very simple game, not for any specific purpose, just to see if i can learn a little while doing it.
At the moment, I have a little character, and im using absolute positioning to display my character on my game map, the position for the image is called from my database as a simple echo, and updated with a little compass i made, effectively making the character jump across the map.
I'm guessing absolute positioning has a few flaws when applied like this, especially with different resolutions. So is there a better way to display the position of my character, which will be compatible with all browsers.
Sorry if this was hard to follow
At the moment, I have a little character, and im using absolute positioning to display my character on my game map, the position for the image is called from my database as a simple echo, and updated with a little compass i made, effectively making the character jump across the map.
I'm guessing absolute positioning has a few flaws when applied like this, especially with different resolutions. So is there a better way to display the position of my character, which will be compatible with all browsers.
Sorry if this was hard to follow
