502 reputation
212
bio website
location Brazil
age
visits member for 2 years, 6 months
seen May 14 at 20:42

May
10
comment Implementing a 2D Collision method that can tell direction of collision (boxes)
I have always passed the object's movement speed as parameters as well. If object1.velocity.x > 0, for example, then object1 is coming from the left and colliding its right. I wonder if there are alternative ways, tho
Apr
23
comment Body lost a velocity component when hitting a wall
Only nitpicking: wouldn't a vector u with double the magnitude of v=1,1 be u=2,2? After all, sqrt(2² + 2²) = 2 * sqrt(1² + 1²).
Apr
14
revised C++ exensible resource manager class with dynamic registration of factories
deleted 11 characters in body
Apr
13
comment C++ exensible resource manager class with dynamic registration of factories
@Manvis I have been studying shared_ptr's as of lately and I noticed that my example provides dangerous use of it. Please see my edited addendum, and ensure that you are using your shared pointers properly, you might end having resources being destroyed twice. :)
Apr
13
revised C++ exensible resource manager class with dynamic registration of factories
deleted 1223 characters in body
Apr
12
revised C++ exensible resource manager class with dynamic registration of factories
Corrected example source
Apr
6
comment How do you calculate the nearest point on 2 curves?
I guess he wanted us to view the demo's source: algorithmist.net/DegrafaClosestToQuad/srcview/index.html
Apr
5
answered 2D Box Collision Trouble
Apr
5
comment 2D Box Collision Trouble
Are you checking each wall? In what order?
Apr
5
comment Why is each column being shifted down the X value of the column in my 2D Data Structure?
Pardon me, but... Why not using STL vectors and smart pointers instead of raw pointers?
Apr
3
revised C++ exensible resource manager class with dynamic registration of factories
deleted 8 characters in body
Apr
3
revised C++ exensible resource manager class with dynamic registration of factories
deleted 8 characters in body
Apr
2
revised C++ exensible resource manager class with dynamic registration of factories
deleted 25 characters in body
Apr
2
answered C++ exensible resource manager class with dynamic registration of factories
Apr
2
awarded  Citizen Patrol
Dec
12
awarded  Popular Question
Nov
29
awarded  Yearling
Jul
2
awarded  Curious
May
4
accepted Synchronizing mob states in online multiplayer game
Apr
1
comment Synchronizing mob states in online multiplayer game
This actually wouldn't be very bad. I could, instead of having each client process the game normally but with input sent from a server, just update each mob with states provided from the server in each frame. This could be actually even more lightweight for the client than the previous idea.