| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 11 months |
| seen | Apr 25 at 23:25 | |
| stats | profile views | 24 |
|
Jan 21 |
comment |
Objects being drawn on wrong layers I believe that Andrew is intentionally using BackToFront. As he implies in his question, objects have a depth property assigned so they aren't meant to be drawing in the order they appear in the Draw call. They're meant to be drawing based on the Depth property. |
|
Jan 21 |
comment |
Objects being drawn on wrong layers Is it only the "OtherStuffList" objects that are having an issue? Everything else renders at the depth expected? |
|
Jan 20 |
comment |
Background blur in 2D game? Why not simply blur the image itself? No need to overcomplicate things. |
|
Jan 19 |
comment |
Disable autorotation if Android has it disabled Is it possible that you're setting the rotation setting in a place that doesn't update when the device's rotation setting does? Or are you getting the rotation setting from the device every time it's needed? |
|
Jan 19 |
comment |
Disable autorotation if Android has it disabled Let me get this straight; you want screen rotation to work in your game and you want its behaviour to be set to the device's settings? |
|
Jan 17 |
comment |
More efficient way to implement Line of sight on a 2d grid with ray casting? Are you sure that you need to optimise? Have you actually encountered a bottleneck that needs to be dealt with? Or are you simply guessing that it will be an issue in the future? If your code is relatively modular it should be the easiest thing in the world to develop a solution and then come back to it later IF optimisation is needed. |
|
Jan 17 |
comment |
More efficient way to implement Line of sight on a 2d grid with ray casting? Remember to avoid premature optimisation! |
|
Jan 17 |
comment |
Simulating “line of sight” with obstacles on 2d grid? This is good, but I think far more than he's after if what he wants is anything like the link he posted. |
|
Jan 17 |
comment |
Simulating “line of sight” with obstacles on 2d grid? When you say "slope the line of sight around corners", what exactly do you mean? |
|
Jan 8 |
comment |
Trying to make a python map editor Some more info needed. Like do you want the image to be editable in your program, or do you just want the program to load an image and convert it into a map object of some sort when executed? |
|
Jan 5 |
comment |
Seamless transition between planet and space Ahh, Infinity. Such a beautiful project. |
|
Jan 5 |
comment |
Designing a “Grid” like object that contains game objects Work on your accept rate. |
|
Jan 3 |
comment |
How can I remove enemies from my ArrayList after they have died? He's using Java. |
|
Jan 3 |
comment |
How is 'mass' handled in video games? A good point that I meant to include under a); edited the answer. |
|
Jan 3 |
comment |
Multiplayer game sdk for ios and android Just to clarify, you mean a multiplayer SDK that works across platforms (i.e., Android users can play with iOS users), or just one that will work on each platform? |
|
Jan 3 |
comment |
How is 'mass' handled in video games? From my experience, mass is either defined by a base "type" (e.g., wood, rock, water, flesh, weightless) with a scalar value associated with the type that calculates based on the object size, or an individual scalar value (e.g., pounds, kilograms). |
|
Jan 3 |
comment |
Creating Rectangle-based buttons with OnClick events Thanks for this, had to adapt it a bit but it helped a lot. Also posted my adapted solution as a separate answer. |
|
Jan 1 |
comment |
Creating Rectangle-based buttons with OnClick events Wouldn't your code call the OnClick event no matter where the mouse is actually located when it's clicked? Unintentional mistake? |
|
Nov 29 |
comment |
Transforming a primitive tetrahedron into a primitive icosahedron? Whoops, my bad, silly mistake :) Will have a look at your solution a bit later! |
|
Nov 29 |
comment |
Transforming a primitive tetrahedron into a primitive icosahedron? It's good but I'm looking for an actual coded solution. I'm wondering if it will possibly require the use of quaternions (trying to solve it myself). Also, just as a side note, I corrected a syntax error where you were checking for even or odd numbers in your for loop. And I've implemented a buffer as per Steven's answer for slightly increased performance. - I'll most likely be marking this as my chosen answer in a week :) |