My try in making a RPG engine