What’s the difference between the new join block and just adding 2 strings together?
i think its probably to make it easier for new coders.
I believe add will treat parameters as numbers, whereas join will just concatenate the strings. “3 join 0 = 3”, for example, whereas 3 + 0 = 3 still.
Join will always treat as strings (e.g. join 8
with 0009
= 80009
)
+ will try to convert to numbers first (e.g. 8
+ 0009
= 17
)
oh, I didnt ask the question, but this makes more sense. in fact, this would be particularly helpful in the game Im making! cool new block!
This doesn’t make sense lol
What I think is happening is that putting the join in a variable converts it to a number, resulting in 0.
Oh that is a bug – it should be 000000 in both cases. We’ll need to look into it again.
Just a separate note for Set Text – it will try to convert to a number and remove leading 0s before displaying.
@Spy_Guy_96 I’m going to move these posts to a separate bug report topic, so that it’s easier to keep track of – is that ok?
I forgot to update the player to 2.2.0, lol… it’s all good now.
I saw the code briefly – I think it should work on older webplayers too for the most recent versions (2.1.5 and 2.0.7, for 2.1.x and 2.0.x respectively)
If it isn’t, you can make another bug report topic and we can take a look as well.
I think I was on 2.1.4 (previous player version) (although, I think it downgraded on me. Not sure how, but I think the shortcut I used by Awesome_E was the cause for this).
I’m gonna do a little test in player 1.5.26, since I know that one is also compatible with the join block. //text displayed successfully
Just a heads up generally with 1.5.x – we usually stop supporting older webplayer versions 1 year after the next version was released.
2.0.0 was released in March 2022, so we likely won’t add new blocks to 1.5.x after March this year.
Ok!
Totally understandable. Trying to add blocks to many different older versions can be quite overwhelming. As long as you are able to resolve the blurry image issue before then, I’ll be more than satisfied. Right now, it’s the only reason my game is on hold.
Right now, the only way for me to be able to add crisp images again is if I somehow gained access again to the old TestFlight build 7356, but even I know you don’t keep old builds. And even if you did, there wouldn’t be any point, as the beta testing for that particular build had concluded months ago.