Hi all,
So pretty much what the title says. I have a shooting game, and the sensing isnt working very well. I have it set so when "x" color touches "x" color "outcome" happens. So it takes off "health" from the "health" variable, which is working. But to equivalently record that so the script knows when to end, I made a list. So it adds "x" amount of "things" to the list, depending on the damage. Well that isn't really working out well.. I cant find out how to do more than 1 at a time, so I did a "repeat 20" to do 20 damage. Not really working, it's just sticking in 1. Kinda hard to explain, i know. I'll post a couple shots of the script, as well as a download link for the game if u have time to check it out and see if u can help. Any suggestions appreciated
http://gyazo.com/e48d4f1aebda4964f239c6a1570ea1cd
^screenshot
http://www.mediafire.com/?8v2sp4buc66g0x0
^game download link
Thanks in advance for all your help
Offline
Yagman5000 wrote:
Hi all,
So pretty much what the title says. I have a shooting game, and the sensing isnt working very well. I have it set so when "x" color touches "x" color "outcome" happens. So it takes off "health" from the "health" variable, which is working. But to equivalently record that so the script knows when to end, I made a list. So it adds "x" amount of "things" to the list, depending on the damage. Well that isn't really working out well.. I cant find out how to do more than 1 at a time, so I did a "repeat 20" to do 20 damage. Not really working, it's just sticking in 1. Kinda hard to explain, i know. I'll post a couple shots of the script, as well as a download link for the game if u have time to check it out and see if u can help. Any suggestions appreciated
http://gyazo.com/e48d4f1aebda4964f239c6a1570ea1cd
^screenshot
http://www.mediafire.com/?8v2sp4buc66g0x0
^game download link
Thanks in advance for all your help
Hi there! I looked at the scripts, what exactly are you trying to fix? I don't really get it.
Offline
itsmomito wrote:
Yagman5000 wrote:
Hi all,
So pretty much what the title says. I have a shooting game, and the sensing isnt working very well. I have it set so when "x" color touches "x" color "outcome" happens. So it takes off "health" from the "health" variable, which is working. But to equivalently record that so the script knows when to end, I made a list. So it adds "x" amount of "things" to the list, depending on the damage. Well that isn't really working out well.. I cant find out how to do more than 1 at a time, so I did a "repeat 20" to do 20 damage. Not really working, it's just sticking in 1. Kinda hard to explain, i know. I'll post a couple shots of the script, as well as a download link for the game if u have time to check it out and see if u can help. Any suggestions appreciated
http://gyazo.com/e48d4f1aebda4964f239c6a1570ea1cd
^screenshot
http://www.mediafire.com/?8v2sp4buc66g0x0
^game download link
Thanks in advance for all your helpHi there! I looked at the scripts, what exactly are you trying to fix? I don't really get it.
Yea, I know what you mean. It SHOULD work. It's just that it's not, and Im really not sure why.. does it work for you? Like instead of adding 20 of "thing" to the list its adding 1, even though it should be adding 20.. at least for me.
Offline
Yagman5000 wrote:
itsmomito wrote:
Yagman5000 wrote:
Hi all,
So pretty much what the title says. I have a shooting game, and the sensing isnt working very well. I have it set so when "x" color touches "x" color "outcome" happens. So it takes off "health" from the "health" variable, which is working. But to equivalently record that so the script knows when to end, I made a list. So it adds "x" amount of "things" to the list, depending on the damage. Well that isn't really working out well.. I cant find out how to do more than 1 at a time, so I did a "repeat 20" to do 20 damage. Not really working, it's just sticking in 1. Kinda hard to explain, i know. I'll post a couple shots of the script, as well as a download link for the game if u have time to check it out and see if u can help. Any suggestions appreciated
http://gyazo.com/e48d4f1aebda4964f239c6a1570ea1cd
^screenshot
http://www.mediafire.com/?8v2sp4buc66g0x0
^game download link
Thanks in advance for all your helpHi there! I looked at the scripts, what exactly are you trying to fix? I don't really get it.
Yea, I know what you mean. It SHOULD work. It's just that it's not, and Im really not sure why.. does it work for you? Like instead of adding 20 of "thing" to the list its adding 1, even though it should be adding 20.. at least for me.
Hmm, it did that when I looked at it. Weird
Offline