1,117 reputation
1513
bio website bendunkin.com
location
age 23
visits member for 3 years, 7 months
seen 9 hours ago

Nov
30
comment How to get Components in ECS
possible duplicate gamedev.stackexchange.com/questions/55950/…
Nov
8
comment Multithreading 2D gravity calculations
@Postman While I agree with what this answer says in general, I think it completely misses the fact that this is basically the PERFECT algorithm to take advantage of threading. There is a reason they do this stuff on the GPU and it is because it is a trivially parallel algorithm if you move the writes into a second step. There is no need for locking or copying or thread safe data structures. A simple Parallel.ForEach and its done with no issues.
Nov
6
comment SFML 2.0 Too Many Variables in Class Preventing Draw To Screen
Why are i and j not scopped to the loops? The way you have it now both loop will only complete once.
Nov
6
comment SFML 2.0 Too Many Variables in Class Preventing Draw To Screen
if the issue is with drawing, perhaps you should show the drawing code?
Oct
22
answered SFML: Generate a background image
Oct
18
comment Why does my goblin only choose a walk direction once?
goblin.stepTotal = Math.floor(Math.random*650)+1; has no () after Math.random ... I don't know javascript but if its anything like other languages this tries to get the random variable or property from the Math struct. I highly doubt this gets a random number like you want. That or you copied it wrong.
Oct
12
awarded  Enlightened
Oct
12
awarded  Nice Answer
Oct
6
comment Handling angles in multiplayer games
The values in a rotation matrix are still calculated using trig functions.
Oct
3
comment Logic for selecting random rewards
I would have tried answering this myself, but I did a quick google and found codeproject.com/Articles/420046/… which basically says everything you will ever need to know about random loot drop implementation.
Oct
3
comment Is there a proper way to come up with random numbers?
You are asking if there is a better way to get a random number than by getting a random number...
Sep
20
awarded  Popular Question
Sep
20
comment Entity Component Systems with C++ - Accessing components
This is not compiler specific. You probably did not have the right expression as an argument to the typeid function.
Sep
18
awarded  Yearling
Sep
13
comment Storing few values in an int - small gain
Why would you expect it to give you anything? You would have to be heavily bandwidth starved to get significant improvements from reducing data transfer sizes.
Aug
19
comment (Realtime-) Global Illumination starting point
@JoshPetrie Perhaps when worded as state of the art, but this question has the potential to have very useful answers and the reason for close seems to be rather superficial.
Aug
19
comment (Realtime-) Global Illumination starting point
Could we modify this question to just ask what the state of the art in dynamic global illumination is? The author can then look and find the answer to his question from the information given while still leaving the answers as (hopefully) a good reference on the topic.
Aug
19
awarded  Informed
Aug
18
comment (Realtime-) Global Illumination starting point
Are you specifically looking for dynamic global illumination? There are many well understood and documented algorithms for static (aka precomputed) global illumination, but I get the feeling you are not looking for those.
Jun
10
awarded  Caucus