Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


PhilObyte

Member Since 26 Jul 2012
Offline Last Active Today, 06:11 AM

Posts I've Made

In Topic: Terrain Generation

04 January 2015 - 10:28 AM

You might want to look at this tutorial.


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 :(

PARTNERS