Post Information

Oumuamua wrote in Costume Rotation at 11:54:12 AM 14/5/2020

deck26 wrote:

Oumuamua wrote:

when green flag clicked
forever
point towards [mouse-pointer v]
switch costume to (round ((direction) / (45)))
end

https://scratch.mit.edu/projects/395175849/
Ideally only switch costume when you know it needs to change or you're forcing a screen refresh every frame.

set initial costume
forever
work out costume number
if new number <> current costume then switch costume
end

Yes, i knew that, it is just a proof(the project) of concept.
Greets.
Permanent Link
https://forums.scratchstats.com/post/4011215

Extra Post Information

Forum Post4011215
Post ID4011215
Time Indexed10:47:52 PM 2/6/2020
Topic ID403841
CategoryHelp With Scripts
Request Time3 ms