Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Want to change a txt counter to use images instead

sinbotsinbot Posts: 57Member, PRO

I want to replace my crappy looking txt count with images but I'm a bit nervous about messing it up since it does work 100% right now. I only need 0,1,2,3 to appear. What would be the best way to run that? Here is my current setup..


  • tatiangtatiang Posts: 11,335Member, Sous Chef, PRO, Senior Sous-Chef
    edited February 7

    Instead of your Display Text behavior, use a Constrain Attribute behavior and constrain the actor's self.Image to game.EGGS. Or for better performance, add a Change Attribute behavior below each of the existing ones above so that they look something like this:

    Change Attribute game.EGGS to game.EGGS+1
    Change Attribute self.Image to game.EGGS


    Your image files should be named 0.png, 1.png, 2.png, and 3.png.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.