| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 1 month |
| seen | May 2 at 0:06 | |
| stats | profile views | 203 |
|
Apr 29 |
awarded | Yearling |
|
Dec 8 |
comment |
Staggered Isometric Map: Calculate map coordinates for point on screen It does the transformation, just the other way around, so you need to reverse it. |
|
Dec 7 |
comment |
Staggered Isometric Map: Calculate map coordinates for point on screen Check this out: jsfiddle.net/Sd4ZP/18 |
|
Nov 30 |
comment |
What would be a good way to implement/render a 2D tiled map for a browser game? There are only 10 lines involving Canvas. The rest is JS code that will stay the same or almost the same when you switch to HTML DOM elements + CSS, because it's game logic, not rendering code. Also, I could make a bet that these 10 lines can't be replaced with smaller, or even nearly same number of lines with the "html+css". Offsetting a <div> layer and storing model (tile array) as view (DOM elements) or using two separate arrays wouldn't be simpler at all. 90 lines is an extremely small number, far from being an over-complication. |
|
Nov 27 |
comment |
What would be a good way to implement/render a 2D tiled map for a browser game? I gave you a ready code, how much more specific can I be? |
|
Nov 17 |
comment |
Is there a tool to explode an existing sprite into smaller images or make an animation of it? Sorry if I made you angry, but I thought by "explode" you mean "split frames", especially because you wrote you don't mean fire effects. You could animate it in real time by splitting a sprite into two images with a random slope as a conditional if a pixel goes to first or second image, and repeat it recursively. Then just animate these sprites, giving them random rotational velocities and linear velocities away from original sprite center. |
|
Nov 16 |
comment |
Is there a tool to explode an existing sprite into smaller images or make an animation of it? You want to achieve an explosion effect? It's really hard to understand, you could give an example of input and output. |
|
Nov 15 |
comment |
Is there a tool to explode an existing sprite into smaller images or make an animation of it? I can't know you don't want an online tool, unless you say so :) Also, I found a similar question: gamedev.stackexchange.com/questions/34055/… |
|
Nov 14 |
comment |
Is there a tool to explode an existing sprite into smaller images or make an animation of it? It's a tool that explodes a spritesheet into many images - single frames. Exactly what you described. |
|
Nov 13 |
reviewed | Reject suggested edit on Bitwise operators in DX9 ps_2_0 shader |
|
Nov 13 |
reviewed | Approve suggested edit on Collision test solution for hack&slash game |
|
Nov 13 |
comment |
Collision test solution for hack&slash game collisions must be very accurate, or don't have to? Hard to tell from your current sentence. |
|
Nov 13 |
comment |
2D Collision detection for Pinball Game @John I imagine a good pinball as a 3D game with ramps etc. You could program these ramps in 2D, and scale the ball up when it goes over the ramp and down when it falls back yourself, but in this case it's still a 3D game, you just add Z dimension by yourself. |
|
Nov 13 |
answered | 2D Collision detection for Pinball Game |
|
Nov 13 |
comment |
How to avoid circular dependencies between Player and World? Ah, you mean the world has no reference to the player, it just has an array of objects implementing ICollidable interface, together with the player if needed. |
|
Nov 13 |
comment |
How to avoid circular dependencies between Player and World? You say that the world doesn't know what a player is, but it handles collision detection that may need to know properties of the player, if it is one of the objects colliding. |
|
Nov 13 |
reviewed | Reviewed Starting a Java activity in Unity3d Android |
|
Nov 13 |
reviewed | Close Open Dynamics Engine |
|
Nov 13 |
reviewed | Close HTML5 Canvas game viewport |
|
Nov 13 |
awarded | Custodian |