Hello. My name is Nuuup. I am interested in using the Flashpunk engine since the start of this year. I made only one game ( until now ), which is Mr. Boo, a game for the 31st Ludum Dare and it was received quite well by audiences. I was trying to make my second game in Flashpunk today, and I haven’ t figured out how to put x and y positions in my entities. Here’ s the source code for one of the entities :
public class Slime extends Entity
{
[Embed(source = "../../assets/Slime.png")] private const SLIME:Class;
public function Slime()
{
graphic = new Image(SLIME);
}
}
Where and how do I add x and y positioning in this class ? Please help me.