Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » hi everyone i had been making a simulator but i ran issues when i made two sprites it goes like this
- nickblick
-
1 post
hi everyone i had been making a simulator but i ran issues when i made two sprites it goes like this
when I start as a clone
set [ hunger] to [10]
set [ hydration] to [10]
go to [ random position]
forever
change [ hunger] by (0.00000025)
change [ hydration] by (0.0000005)
if <[3.5] > [hydration]> then
water within reach?
end
if <[3.5] < [hydration]> then
if <[food] < [3.5]> then
food withen reach?
end
end
end
Last edited by nickblick (Yesterday 14:57:25)
- minniesworld
-
100+ posts
hi everyone i had been making a simulator but i ran issues when i made two sprites it goes like this
Can you please link your project?
- Discussion Forums
- » Help with Scripts
-
» hi everyone i had been making a simulator but i ran issues when i made two sprites it goes like this