446 reputation
317
bio website malcodigo.blogpost.com
location Santander, Spain
age 35
visits member for 1 year, 6 months
seen May 9 at 10:19
stats profile views 40

Currently System Administrator, and partial time programmer.


Apr
16
comment How to develop multi-player game without involving server side code?
I think he's asking for another problem, How to develop without write server apps/code reusing existing infrastructures
Mar
8
comment What's the appropriate way to define configuration settings of game objects for a proper code accessed via C++?
Also, with C++11 standard, you should use constexpr instead of const.
Feb
24
comment How to share Lua script between instances?
thanks, I made something in the middle. Instead of one lua_state per object, I use one lua_State per agentclass. I have also take a look to that __index/__newindex solution and I'll apply it.
Feb
18
comment Getting started to OpenGL - little question
Compatible mode isn't like training wheels. Compatible is like old time bikes with Humongous front wheel and tinyweeny read wheel. Forget about Compatible, you should start learning Core for the very beginning.
Feb
15
comment How to draw a Bezier line with shaders?
thanks, tested and working :D
Feb
10
comment I need a thin library to load SVG files
@Dan the Fog-Framework is too tick for me, maybe the best solution was a xml parser, I'm trying Tinyxml2.
Feb
8
comment I need a thin library to load SVG files
@bummzack, I'm looking for a parser.
Feb
5
comment In OpenGL Shader, Why adding color change vertex position?
Thanks, I'm using layout + location syntax in the 3.30 version of the shader, but with 1.20 it's not available. I assumed that attributes were listed the same order that source code declarations. WRONG, I addded glBindAttribLocation and now it works.
Jan
24
comment Actors with multiple Textures - class Hierarchy?
cowboyprogramming.com/2007/01/05/evolve-your-heirachy
Jan
16
comment Finding cells between two points (along line) to finding obstacles
@Doorknob Good answer, Why did you put it on a comment?
Dec
21
comment Libgdx optimization of big arrays
In Android, your loop is not the fastest
Dec
4
comment What files of libgdx can I ignore on git?
@nathan, I know the theory, but I use Eclipse I don't know what files can be generated and what are uniques in this case.
Oct
28
comment fast 3d point -> cuboid volume intersection test
@aadster, Ok, i read the new question
Oct
28
comment fast 3d point -> cuboid volume intersection test
Is the cube axis aligned?, are its faces parallel?
Oct
27
comment Scaling sprite velocity / co-ordinatesin Android
I see your problem, dt only multiplies the velocity: pos = pos (1) + (vel (.1) * dt (0.0333)) = 1.0333 pos_in_screen = pos (1.0333) * screen_size (10) = 10.333 It's a little advance, but think that it were ~33 miliseconds of time :D
Oct
27
comment Scaling sprite velocity / co-ordinatesin Android
@user22241 at pixel 10, the real pos of sprite should be 10/SCREEN_SIZE = 1 -> so the update will be 10.0333.
Oct
26
comment Scaling sprite velocity / co-ordinatesin Android
@user22241 I update the answer with an example
Oct
25
comment Scaling sprite velocity / co-ordinatesin Android
@user22241 in 2D is more or less the same that 3D, but simplest. You can forget about matrix transformation and do the math directly.
Oct
25
comment Scaling sprite velocity / co-ordinatesin Android
@user22241 The value dt is delta time, the time between last frame and current one. This is one to learn about it gafferongames.com/game-physics/fix-your-timestep
Oct
22
comment What's best to use OTF or TTF?
Well, I think that bitmaps are the thing to use.