What non game workarounds would you like to have
-
Let me know what ever it is except of game workaround
Is there a statement who you miss ?
Tell me
Or do you need a specific function to stuff with string? -
None that I can think of.
-
@SteveZX81 ok so you have all what you need
-
Coming from ZX Spectrum coding, I miss flashing text and the ability to define both the "ink" and "paper" colour for sprites. Both easily worked around, though!
-
Flashing Text could be done like that:
Loop
Ink() white
Print(Hello)
Update()
Sleep(1)
Ink(black)
Print(Hello)
Update()
Sleep(1)
RepeatThe word Hello will flash white for 1 sec and flash black for 1 sec then repeat
-
@Mechanical Dont forget the "" in the print function
-
Sleep stops the whole thing though doesn't it? So not really useable in-game?
-
@SteveZX81 sleep is like a pause
-
@Mechanical Do we have a image.hide or something like this in fuze maybe you could hide and show it but i have no clue on fuze graphical stuff
-
Not sure what look you're going for exactly, @AndyG1985, but here's some code that can give you text that flashes between different colours and gives you control over the speed
col = [white, blue] index = 0 colTimer = 0 textSize(100) loop clear() colTimer += 1 if colTimer % 10 == 0 then //change speed by changing the 10 here index += 1 index %= len(col) endif ink(col[index]) print("whatever you want to say") update() repeat
To be honest I don't fully understand the line "index %= len(col)" (that was Dave's great idea), but you can add as many colours as you like to the col array and it will cycle through them :)
-
@SteveZX81 said in What non game workarounds would you like to have:
Sleep stops the whole thing though doesn't it? So not really useable in-game?
You could put it in a function called by a timer...
-
Thanks Kat, I think that will come in handy for my inventory system! I had something similar but this looks like it will give more control over speed :)