Hi there, Scratchers,
I'm having trouble with my maze project here. The sprites won't work in the 3rd level of the maze. The key, cheese puffs and level up house just don't work on level 3 even though the same code works for them on levels 1 and 2. Any advice appreciated. Thanks.
Alfia
Offline
After ages of being really confused, I've finally found the glitch. In the octobaby's scripts, you've included a script:
when I receive [level 3 v] hide stop allThis disables the scripts of every sprite in the project, having the same effect as if you press the red stop sign.
when gf clicked forever if <key [up arrow v] pressed?> change y by [10] end if <key [down arrow v] pressed?> change y by [-10] end if <key [left arrow v] pressed?> change x by [-10] end if <key [right arrow v] pressed?> change x by [10] endthis gives MUCH smoother controls.
Last edited by PhirripSyrrip (2012-05-20 08:13:36)
Offline
Hi Phirrip,
Thanks so much! Your advice was really helpful. I amended the movement code as per your suggestion above, and made it so that "something happens" when you run out of health - and when you win. I still need to get the walls to repel the ball (haven't even started working on that yet), and fix the delay on the key and cheese puffs. I'd also like to add more of an obstacle/boss at the last level, but that would be last. The latest version is here. Thanks again for your help.
Alfia
Offline
Here's a question: My health and key counters were showing up where I placed them originally and then after I uploaded it they were both showing up in one location and the Health counter was obscured by the Key counter! Yikes! Also - I tried to stop the lose screen from coming up at the end by setting the health to 50000 but it doesn't seem to have worked. :-(
Offline
To make sure variable upload the way you want them, large readout, slider, or even regular, but in a different location, or possibly with the color changed, they have to be showing the exact way you want them when you upload the project. Otherwise, they will go to the default top left corner of the screen. If you don't want the variable showing all the time, use the,
when gf clicked hide variable [variable v]and to show them,
when I receive [something to show variable v] show variable [variable v]That will fix that issue.
Offline
Offline
Dear Mr. Syrrip,
Thank you for your awesomeness. I have studied your wall-defying code (move in opposite direction of arrow that caused the bump - makes sense) including the diabolical Scream variable. It all serves to bring greater sense to the mad, mad world of Transylvanian mazes. I will work to fix some of the other glitches. Glad you like the music! It's "Numa Numa" by Romanian pop sensation O-Zone, in case you didn't know. :-)
Your projects are really imaginative and wonderful by the way.
Mrs. W. (Alfia)
Offline