Custom Font Number not Working
Pyrite
Member Posts: 47
I did everything in tshirtboths video, but it still doesn't work.
Here are some pics:
http://gyazo.com/8b30881e7c612c902efd5ce4fe717300
(Pic of the number Actors (0.png, 1.png, ect)
http://gyazo.com/384e6d40376c110422ced587872a9b69
(Pic of the 0.png being put onto the game!)
http://gyazo.com/f02c555c88a9ad4d00fc4c4b86d5b408
(Pic of me playing the game, but the 0 nor other numbers show up! (When I was playing it fully
like going through the obstacles, the score still didn't work!!!!) (It works when I use a normal Display Text)
http://gyazo.com/9e67f550b609a65cd5df5ed0108ee738
(My Constrain Attribute inside of the 0.png actor!(The code in the vid didn't work so I tried this 1 in the pic!)
http://gyazo.com/b238b6967c3e362fa51a3626a7efed06
(My pic of my div integreter)
This is what I've done, but it doesn't work! Please help! Thank you!
Here are some pics:
http://gyazo.com/8b30881e7c612c902efd5ce4fe717300
(Pic of the number Actors (0.png, 1.png, ect)
http://gyazo.com/384e6d40376c110422ced587872a9b69
(Pic of the 0.png being put onto the game!)
http://gyazo.com/f02c555c88a9ad4d00fc4c4b86d5b408
(Pic of me playing the game, but the 0 nor other numbers show up! (When I was playing it fully
like going through the obstacles, the score still didn't work!!!!) (It works when I use a normal Display Text)
http://gyazo.com/9e67f550b609a65cd5df5ed0108ee738
(My Constrain Attribute inside of the 0.png actor!(The code in the vid didn't work so I tried this 1 in the pic!)
http://gyazo.com/b238b6967c3e362fa51a3626a7efed06
(My pic of my div integreter)
This is what I've done, but it doesn't work! Please help! Thank you!
Answers
Try constraining self.Image to game.score without the ..".png" (this is optional, really, and should work either way but try it without it).
Add a DisplayText behavior with self.Image so that you can watch what this is being constrained to. Then report back with the values you're seeing.
Also, is your game.score attribute an integer? Or real?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Of the two new actors, which one(s) work?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
There are other people here who might be able to help and I'm sure they'll post here if they can.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User