Quickt tiles question

If you have a module that you'd like comments on or would like to know how to create your very own module, post here

Moderator: Moderator

Post Reply
Message
Author
Grey
Loremaster
Posts: 3517
Joined: Thu Sep 23, 2010 10:18 pm
Location: London, England
Contact:

Quickt tiles question

#1 Post by Grey »

At a game jam, trying to get my NPCs to change their tile image under certain circumstances. Just changing self.image = "blah.png" doesn't do the trick. Anyone know how to get the image to update?
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes

PureQuestion
Master Artificer
Posts: 726
Joined: Fri Feb 03, 2012 3:53 am

Re: Quickt tiles question

#2 Post by PureQuestion »

Well, let's see, in ToME the Pheonix unique changes its image, let's go pillage that...

After changing the image, run

Code: Select all

self:removeAllMOs()

Grey
Loremaster
Posts: 3517
Joined: Thu Sep 23, 2010 10:18 pm
Location: London, England
Contact:

Re: Quickt tiles question

#3 Post by Grey »

That worked, thanks :)
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes

Post Reply