Tagged Questions
2
votes
1answer
87 views
Make an object slide around an obstacle
I have path areas set up in a game I'm making for canvas/html5 and have got it working to keep the player within these areas. I have a function isOut(boundary, x, y) that returns true if the point is ...
0
votes
2answers
117 views
Check if an object is facing another based on angles
I already have something that calculates the bearing angle to get one object to face another. You give it the positions and it returns the angle to get one to face the other.
Now I need to figure out ...
1
vote
1answer
87 views
How can I center a circle around a point on an HTML canvas?
I've got a job to make an engine and light game for canvas in HTML5. I like the things I make to be centered on the x,y positions I give it, I don't know why, it just helps me think about them ...
2
votes
1answer
650 views
True Isometric Projection with HTML5 Canvas
I am a newbie with HTML5 Canvas and JavaScript, but is there a simple way to have Isometric projection in HTML5 Canvas element?
I am mean the true isometric projection - ...
1
vote
2answers
217 views
Simple Math Multiplayer game - is Ajax sufficient?
I'm planning to create a simple math multiplayer game and I plan to just use Ajax for the server/client communication but I'm not sure if this is sufficient or if I need a socket server.
The game ...
8
votes
8answers
1k views
How should I sort images in an isometric game so that they appear in the correct order?
This seems like a rather simple problem but I am having a lot of difficulty with it.
What should I do to properly sort images in an isometric game?
In a normal 2d top-down game one could use the ...
4
votes
2answers
445 views
Arrays for a heightmap tile-based map
I'm making a game that uses a map which have tiles, corners and borders. Here's a graphical representation:
I've managed to store tiles and corners in memory but I'm having troubles to get ...