4,743 reputation
819
bio website
location Bavaria, Germany
age 31
visits member for 3 years, 4 months
seen 3 hours ago

Oct
8
comment Error on running exe, build using SharpDX
Plus the second option is not allowed in most cases when considering Microsoft's licensing terms for runtime files. I'm not 100% sure about DirectX, but wouldn't expect any exception there.
Oct
8
answered Error on running exe, build using SharpDX
Oct
5
comment What is faster - loop in shader vs draw-call
Random guess I'd say it really depends on the shader performance of your GPU. The better your GPU the better off you're with the loops in the shader. Regarding your note: Of course recalculating something is slower than just using whatever you got passed. I guess in the end this whole question is about GPU load vs. CPU/memory/bus load.
Oct
3
comment Intersection of a point and rectangle
Argh, almost same problem as Zhen. :) Now it's fixed
Oct
3
revised Intersection of a point and rectangle
edited body
Oct
3
answered Intersection of a point and rectangle
Oct
3
revised Intersection of a point and rectangle
Fixed typo
Oct
3
comment Intersection of a point and rectangle
Correct, that's a typo in the code example.
Sep
30
answered Teamviewer doesn't show my game screen
Sep
29
answered What is the purpose for multiple windows in games?
Sep
29
revised How to clip textures when drawing?
Updated topic
Sep
25
comment SFML fail to load image as texture
This might happen just due to structures (such as STL stuff) having different alignments or optimizations. For example, one build might expect an offset of +5 byte while the other build would have an offset of +6 bytes. It's just one byte off, but might already screw something up (overwriting something else).
Sep
24
comment Updating the jump in game
Correct, exactly how I expected this to work. You just have to ensure you don't add the velocity unless you're on the ground somehow (as written in my answer). How you detect this is up to you (e.g. determine whether there is something solid right under your feet).
Sep
23
comment Updating the jump in game
It should fix your problem, because once you're in the air onGround will no longer be true (i.e. no more velocity added). This should only fire once (right now it fires as long as you keep the button pressed).
Sep
23
answered Updating the jump in game
Sep
23
comment How to implement throw curve with virtual height in a 2D side-view game
If you'd like some perspective (e.g. like in the screenshot above), you'd simply modify the scene where you move the x coordinate towards the center of the screen the further away it is (y coordinate).
Sep
23
comment How to implement throw curve with virtual height in a 2D side-view game
That's a perfectly valid approach - it really depends on the perspective you'd like to achieve. Probably the soccer game I've played the most in my childhood, Nintendo World Cup, used a simple transformation using something such as x_2D = x_3D; y_2D = y_3D + z_3D;, which is similar to what you do. If it looks odd, try creating a different angle, for example cut your y in half: y_2D = y_3D / 2 + z_3D; Overall this really requires some experimentation till you find the perspective that's fine for your game.
Sep
18
answered How do I find the 2D direction to a 3D location?
Sep
12
comment XNA Arcball and moving model - the model is altered instead of the camera
Updated with a code example; not sure this will work though. :)
Sep
12
revised XNA Arcball and moving model - the model is altered instead of the camera
added 1090 characters in body