Jump to content

  • Log In with Google      Sign In   
  • Create Account


We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.

Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Member Since 26 Jul 2012
Offline Last Active Dec 23 2014 03:44 PM

Posts I've Made

In Topic: 2D Motion Blur Shader

06 November 2014 - 02:53 PM

This does not produce what I expected :( the objects aren't streched, but rather change in opacity. Is there no way to do it like PAINT.NET? there is a motion blur that stretches the object. But it is really slow so I think it is not done by a O(n) fragment shader

In Topic: 2D Motion Blur Shader

05 November 2014 - 11:56 PM

Thanks, I think I understood it. Will try this today!

In Topic: Getting a rectangle to land on top of a rectangle

01 June 2014 - 07:30 AM

When I want the camera to follow an object I multiply the camera matrix with the object matrix. So it follows/rotates/scales with the object (I usually disable scaleWithParent).

I recommend to read this article: http://www.gamedev.net/page/resources/_/technical/math-and-physics/making-a-game-engine-transformations-r3566

In Topic: 2D chase steering algorithm

31 May 2014 - 03:31 AM

It sounds like you can get your objects to reach a point, can you get the objects to reach where they think the player will be?  Take a look at the player's velocity, and figure out where it will be in x milliseconds from now, and have the object steer to that point?

I already do, this is what the method GetIntersectionOffset() does (The shots need to have the same tangential velocity as the player relative to the enemy to hit the player). But I can't find the acceleration the enemy needs to keep up with the player :(

In Topic: Democratic Chess

30 May 2014 - 05:25 PM

How many Facebook friends do you have? Pretty easy test bed. Build a chess board with free move pieces and send it to all your friends. Send out a notice for a white move. Collect white moves. Post the updated board with the voted on move(maybe some of the the popular votes) and the notice for a black move. Take a re-vote on ties. You might have to do a lot of the initial work by msging or posting unless you know how to dig into facebook. But either way you'll get some feedback. The unique idea behind this experiment is allowing everyone to vote black and white. Letting the socialization between moves dictate the "side" the players end up favoring. By making it a free move chess board players can show off their knowledge of the game and their willingness to "play along". It would be interesting if you made it through a game. 


Sounds exciting, but I would need to learn from the beginning, I have no clue how multiplayer and databases work. It stays a cool idea, I maybe realize in the future ;-)