|
Post by honkytonk on Mar 21, 2022 10:33:58 GMT
Hello, I would like to convert this:
#1.gb "spritecollides s1 list$"
In this:
for t=1 to 5 g$="s"+str$(t) #1.gb "spritecollides g$;list$" next t 'Or other: ' for t=1 to 5 ' #1.gb "spritecollides ";"s";str$(t);" ";list$" ' next t
And I can't How to do ? thank you for
|
|
|
Post by tsh73 on Mar 21, 2022 10:45:09 GMT
lifehack: change #1.gb to PRINT and see what command you sending to the graphicbox.
g$="s1"
print "spritecollides s1 list$" print "spritecollides ";g$;" list$"
see?
spritecollides s1 list$ spritecollides s1 list$
|
|
|
Post by honkytonk on Mar 21, 2022 11:40:43 GMT
I found, it was simpler than complicated:
#1.gb "spritecollides s";t;" ";"list$"
|
|