Text before game.score in display text [Solved]
evert
Member Posts: 266
Hi maybe another silly question,
but how do i set a text before my game.score attribute in the display text?
If i do this: my score game.score it will say invalid expression, if i only do game.score it gives me my games score.
Thanks
New game!: [Snake Rage]https://itunes.apple.com/us/app/snake-rage/id1463859909
Comments
Either type it this way in the expression editor which will put more space
or create a text attribute with space only and then do this
Dont know about other methods
You need to include your quotes and concatenate it with the attribute. It should look like this in the expression editor:
"My"..self.sp.."score"..sp..game.score
self.sp is a self text attribute that includes a space.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
You beat me to it! Nicely done!
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
@Icebox @Braydon_SFX Thanks! Awsome!
works perfect with the import font feature i was waiting for for so long!
New game!: [Snake Rage]https://itunes.apple.com/us/app/snake-rage/id1463859909
Can't you simply stick a space (option+space) onto the end of the text ?
Like this "My Score "..game.score
That's another way to do it, I had just forgotten if it was cmd+space or alt+space. :P
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
It doesnt work here , it switches the input language on my mac
Are you using alt+space ?
If you are using alt+space and it still changes the input language then simply change your change-input-language shortcut to something else, or even switch it off entirely (who needs to change their input language on a regular basis anyhow !?)
@Socks, people who correspond in multiple languages do this many many times a day.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
@Socks Oh now it works thanks !
Edit: I had both cmd + space and alt+ space to switch language
I barely use english compared to the other language so thats why i need it
Everyone should speak in English and stop all this nonsense immediately.
You should stick to English, all other languages are weird, I can hardly understand most of them.
@Socks
coming form a country(switzerland) were I always struggled to understand the purpose of our isolated little language. I totaly agree. English is the only viable language option.
But it will be hard to convert russia and asia
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
@BigDave, just be glad you're not a Waorani, whose language has no known links to any other language on earth.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Switzerland is obvioulsy a language mess, how many languages do you have over there, something like four or five ? You all need to stop misbehaving and use English like all the normal countries.
They just need to ask themselves would they prefer to use English or a foreign language, the answer is obvioulsy English,
@Socks Your english and (few other members) is hard to pick up for me especially when you explain things or joke around, used to take me ages to understand what your saying
English is a terrible language especially for spelling. They should revamp it, fix it. English 2.0.
That's why you need to abandon your foreign language and do the sensible thing.
That's all the fault of the Americans, here in the UK we spell everything correctly.
@Socks
English is just a niche modern dialect, more nuisance than a fad, and should be weeded out. Just switch to a decent solid language and avoid further embarrassment.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Color with a U?! Really?
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
@Hopscotch
Of corse.
@Socks Your version of the graph doesn't even hold up in the greater London area, let alone the UK. You need to get out more!
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Do you, now?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
English neads two bee fixt
this is topic is getting out of hand
New game!: [Snake Rage]https://itunes.apple.com/us/app/snake-rage/id1463859909