Discuss Scratch

shoresbeep
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

shoresbeep wrote:

currently looking through the current version to see what can be improved btw.
I've found a few things and remixed to fix them.
shoresbeep
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

Should I share what I have so far?
ScriptedAwesome
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

shoresbeep wrote:

Should I share what I have so far?
Yeah
shoresbeep
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

in general though, you shouldn't use forever blocks.
TheCoolCreeper
Scratcher
100+ posts

Tairuahxe (Working Title) | RPG

Knockback doesn't work anymore
shoresbeep
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

TheCoolCreeper wrote:

Knockback doesn't work anymore
It does work for the enemy, but not the player, working on that atm.
shoresbeep
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

TheCoolCreeper wrote:

Knockback doesn't work anymore
I think I fixed it.
braxbroscratcher
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

shoresbeep wrote:

in general though, you shouldn't use forever blocks.
Yeah, use repeat until not (while blocks)
shoresbeep
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

braxbroscratcher wrote:

shoresbeep wrote:

in general though, you shouldn't use forever blocks.
Yeah, use repeat until not (while blocks)
Going to start replacing them now.
shoresbeep
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

Going to go ahead and bump this.
ScriptedAwesome
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

Use forever loops please, it's laggy.
shoresbeep
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

ScriptedAwesome wrote:

Use forever loops please, it's laggy.
forever loops aren't ever a good idea for that…
ScriptedAwesome
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

shoresbeep wrote:

ScriptedAwesome wrote:

Use forever loops please, it's laggy.
forever loops aren't ever a good idea for that…
Why not?
shoresbeep
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

ScriptedAwesome wrote:

shoresbeep wrote:

ScriptedAwesome wrote:

Use forever loops please, it's laggy.
forever loops aren't ever a good idea for that…
Why not?
they don't allow for variability, so if you only want to run something until a certain point, you can't with forever blocks.
ScriptedAwesome
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

shoresbeep wrote:

ScriptedAwesome wrote:

shoresbeep wrote:

ScriptedAwesome wrote:

Use forever loops please, it's laggy.
forever loops aren't ever a good idea for that…
Why not?
they don't allow for variability, so if you only want to run something until a certain point, you can't with forever blocks.
forever
if <> then
stop [this script v]
end
end
shoresbeep
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

ScriptedAwesome wrote:

forever
if <> then
stop [this script v]
end
end
The problem then becomes the memory allocation, with a max of 50 mB
braxbroscratcher
Scratcher
1000+ posts

Tairuahxe (Working Title) | RPG

shoresbeep wrote:

ScriptedAwesome wrote:

forever
if <> then
stop [this script v]
end
end
The problem then becomes the memory allocation, with a max of 50 mB
you also can't make a second thing happen separately afterwards. repeat until and repeat until not are better
ZombieKiller1213
Scratcher
74 posts

Tairuahxe (Working Title) | RPG

cba to work on this
ZombieKiller1213
Scratcher
74 posts

Tairuahxe (Working Title) | RPG

also guys,
repeat until <>

end

Powered by DjangoBB