Discuss Scratch

SuperJedi224
Scratcher
100+ posts

Is there any way to optimize this a bit before adding more new stuff?

TheDusk
Scratcher
64 posts

Is there any way to optimize this a bit before adding more new stuff?

I think it's fine, if you ask me. Though I don't understand exactly what the Z button does in your favor. But yeah it's great.
SuperJedi224
Scratcher
100+ posts

Is there any way to optimize this a bit before adding more new stuff?

TheDusk wrote:

I think it's fine, if you ask me. Though I don't understand exactly what the Z button does in your favor. But yeah it's great.
Action commands. It should tell you when one is available.
andre_rifaut
Scratcher
100+ posts

Is there any way to optimize this a bit before adding more new stuff?

I do not see a lot of things to do.
You should temporarily remove the displayed informations in order to see if this cost a lot.
I made a “non-remix” in http://mv.ezproxy.com.ezproxyberklee.flo.org/projects/10128370
with a broadcast to remove some “forever” to propagate the updates of health and energy. But I'm not sure if this is very efficient.

I replace some “forever” followed by “if” with “forever” followed by “wait until”. I'm not sure if the compiler can do optimisations with that.

Some computations using “join” where very strange for me, and I replaced them by computations without “join”. I think that transforming back and forth between strings (“join”) and numbers should be costly.

I'm not sure that I made the modifications consistently, so, the code is just for your information.

I hope to see your game.


Powered by DjangoBB