I suggest you create a new Scratch called Scratch 1.5. It needs to have a new type of scripts called Health it has these blocks:
set Health to [10] if touching [Enemy v] remove [1] % of health_________________________
Offline
-_- There's no 1.5; it's 2.0.
Using variables:
set [Health v] to [10] forever if <touching [Enemy v]?> set [Health v] to (((Health) / (109)) * (99))
Last edited by jontmy00 (2012-08-15 09:30:23)
Offline
soniku3 wrote:
jontmy00 wrote:
-_- There's no 1.5; it's 2.0.
Using variables:set [Health v] to [10] forever if <touching [Enemy v]?> set [Health v] to ((Health) / (99)) * 100)+1
I fixed my script.
Offline
Mokat wrote:
Health blocks are unnessecary when you can use variables. And it's going to be 2.0, not 1.5.
This.
You might want to consider learning more about the current work that is being put into Scratch and look at similar suggestions to see the Scratch Team's reaction before posting a suggestion.
Offline
soniku3 wrote:
jontmy00 wrote:
-_- There's no 1.5; it's 2.0.
Using variables:set [Health v] to [10] forever if <touching [Enemy v]?> set [Health v] to (((Health) / (99)) * (100))+1
script fixed
Last edited by joefarebrother (2012-08-15 10:32:20)
Offline
-.-
Offline
nvm
Offline
joefarebrother wrote:
soniku3 wrote:
jontmy00 wrote:
-_- There's no 1.5; it's 2.0.
Using variables:set [Health v] to [10] forever if <touching [Enemy v]?> set [Health v] to (((Health) / (99)) * (100))+1
script fixed
I already fixed mine before you fixed it.
Offline
you can already do that with variables so its unlikely that these will be implemented
however, perhaps a mod specifically designed for things like rpgs could have blocks like this
Offline