Discuss Scratch

titanicman200
Scratcher
100+ posts

Broke it again... Any help please?

ok, project after much cleaning up: https://scratch.mit.edu/projects/262584981/
ok, so heres the issue, if you start the project, the little round thing spirals up… Now I know why this is happening, but I dont know how the heck the fix it
Heres whats happening: if you look at the bottom list called Example_AI, you will see that one of the two bottom list entries is constantly at true, but this should not happen. This CAN be fixed by going into the code, going to the example AI sprite, and you go to the 4 “replace item of list with blank”(I have added a comment pointing to this labled “for forum reference”)
If you invert the bottom two entries so both result in false(for rn, the problem one seems to list entry #3, so since it is the one that constantly says true, to fix it, you would change the 3rd list entry replacer thingy from replacing it with false to replacing it with true)
aka instead of:
replace item (1 v) of [Being_Pressed? v] with [true]
replace item (2 v) of [Being_Pressed? v] with [false]
replace item (3 v) of [Being_Pressed? v] with [false]
replace item (4 v) of [Being_Pressed? v] with [false]
since #3 is the problem entry, you would replace the above section with this:
replace item (1 v) of [Being_Pressed? v] with [true]
replace item (2 v) of [Being_Pressed? v] with [false]
replace item (3 v) of [Being_Pressed? v] with [true]
replace item (4 v) of [Being_Pressed? v] with [false]
Now, you may be thinking, “well isnt your problem solved?” nope! it seems that when changing maps, the one with a problem changes, so on one map its #3 thats a problem, while on another, its #4 but NOT #3
Is there anyone who can help me with this? Thanks!
-Titanicman200

Last edited by titanicman200 (Nov. 16, 2018 15:11:40)


My latest projects have centered around natural looking landscapes… Fear me and my colorful grids!

Powered by DjangoBB