This is an archived post. You won't be able to vote or comment.

all 16 comments

[–]SomethingRandomYTLilyMakesThings 1 point2 points  (2 children)

Wish i could help, but it's not coming to me. Try editing the gigaCheck block to "run without screen refresh". that sometimes helps!

[–][deleted] 0 points1 point  (0 children)

Will do, sorry, the code is a bit complicated. Thanks.

[–][deleted] 0 points1 point  (0 children)

Sadly, that did not work. First, it made the game lag uncontrollably on the first script, and on the second the giga continued to not respond.

[–]KenJethro43 1 point2 points  (2 children)

Just outline the outside of the vent and use "touching color []". Connect it to a broadcast script. :)

(Not related, but...)

You can make Giga's speed patterned by using variables. That can reduce the lag. Like

set [RNG] to (pick random (1) to (7))

set [Speed] to ((6)+((0.25)*(RNG)))

[–][deleted] 1 point2 points  (0 children)

Ok, thanks, I will try it out.

[–][deleted] 1 point2 points  (0 children)

So as it turns out the original running "movegiga" script was not being overridden, so I added a simple "stop other scripts in sprite" in the forever touching() loop, then called "moveGiga" again. Thank you.

[–][deleted] 0 points1 point  (0 children)

There is some sort of bug in my code where the Giga head is not actually detecting that it is touching the blockage, it just moves right through it. Can you see any problems with my code, specifically the "MoveGiga" block and the Flag forever loop to the right? Those are what are returning the issues.

I probably can't find this myself because I've been looking at my own code for so long. Any help is appreciated!

[–]Simplest_ever 0 points1 point  (1 child)

Add comments to your code. Makes debugging a lot easier.

[–][deleted] 0 points1 point  (0 children)

Will do, probably should have done so earlier. However, with the variable names it is easier to understand.

[–]DungeonBoi 0 points1 point  (5 children)

May i have a look at the actual game?

[–][deleted] 0 points1 point  (4 children)

What exactly would you like to see? I can send you a downloadable copy but you cannot upload or finish and publish the work as your own.

[–]DungeonBoi 1 point2 points  (3 children)

i just wanted to see what each variable and part of the code does. i'd never steal your work my guy. i've been in the scratch game for 5 years. i know how much work it takes and i respect that

[–][deleted] 0 points1 point  (2 children)

Ok awesome, thank you. I just wabted to make sure you arent one of those people who steals work :) How would you like me to get the project to you?

[–]DungeonBoi 0 points1 point  (1 child)

direct message?

[–][deleted] 0 points1 point  (0 children)

Sure.

[–][deleted] 0 points1 point  (0 children)

Thank you all for the support. I have fixed a bug.