LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: FusionTech on July 31, 2013, 00:10:22

Title: Error Loading a Quad
Post by: FusionTech on July 31, 2013, 00:10:22
Im so sorry for wasting everyone's time with such a stupid mistake.
[/b]
Title: Re: Error Loading a Quad
Post by: Daslee on July 31, 2013, 07:25:24
As I see your goblin X vertices are all in same position (spawnX), so if your quad will be rendered with all X vertices in same position then it would be like a line. Try to add goblin width to v3x and v4x in goblin class, something like that:

public static int v3x = spawnX + 40;
public static int v4x = spawnX + 40;