I found a bug related to the upper/lowercase behaviour of scratch in flash player (to be honest it is kinda wonky in 1.4 to begin with).
The project in which you can see the bug: http://scratch.mit.edu/projects/molkemon/3138922
In this project I made a simple ASCII-char to binary number converter. The first problem is that if you compare the "answer" block to a given value, scratch does not care about case. if answer = a and if answer = A are the same to scratch.
There is a workaround to that though. If you define a list with lets say all the lowercase characters and then check if the answer block is part of that list, it will check correctly and return true or false depending if the answer given was in fact lowercase or not. More info on this workaround can be found on your own wiki: http://wiki.scratch.mit.edu/wiki/Case_Sensing --> using lists
I have implemented this workaround in the above linked project and it does work offline with 1.4 AND with the java player. However, it does NOT work with the flash player. In flash it seems the "contains answer" check versus the list always returns true, even when the character is not lower case.
How to reproduce the bug: Open my project offline or with the java player. Input first a and then A as answers. You will see the results will be different (and correct). Now switch to flashplayer, again enter a and A. The results will be the same this time and therefore in case of the upper case A, wrong.
Offline
molkemon wrote:
I found a bug related to the upper/lowercase behaviour of scratch in flash player (to be honest it is kinda wonky in 1.4 to begin with).
The project in which you can see the bug: http://scratch.mit.edu/projects/molkemon/3138922
In this project I made a simple ASCII-char to binary number converter. The first problem is that if you compare the "answer" block to a given value, scratch does not care about case. if answer = a and if answer = A are the same to scratch.
There is a workaround to that though. If you define a list with lets say all the lowercase characters and then check if the answer block is part of that list, it will check correctly and return true or false depending if the answer given was in fact lowercase or not. More info on this workaround can be found on your own wiki: http://wiki.scratch.mit.edu/wiki/Case_Sensing --> using lists
I have implemented this workaround in the above linked project and it does work offline with 1.4 AND with the java player. However, it does NOT work with the flash player. In flash it seems the "contains answer" check versus the list always returns true, even when the character is not lower case.
How to reproduce the bug: Open my project offline or with the java player. Input first a and then A as answers. You will see the results will be different (and correct). Now switch to flashplayer, again enter a and A. The results will be the same this time and therefore in case of the upper case A, wrong.
I like the Flash way better and I do remember experiencing this.
Offline
i have a game called pacman lights out and pacman lights out 2 they both stopped working it wont move on to the next level ever1 is complaining i need help
Offline
hotshotzruler wrote:
i have a game called pacman lights out and pacman lights out 2 they both stopped working it wont move on to the next level ever1 is complaining i need help
You're better off going to help with scripts. If this is an website problem stay here!
Offline
its suddenly acting like flash isnt installed. this just started yesterday, and when i check it says its installed and enabled. it used to work, but now it never does!
by the way, the 2.0 player works, just not the old site
Last edited by estile (2013-03-02 07:25:02)
Offline
the glitch is when you do the game and when you press a app i put on it everything hides but when you click on the spot where it is even if its hiding a glitch happenes and everything shows and gets messed up please fix it
Offline
http://scratch.mit.edu/projects/netkingcol/3148386 using the Chrome browser
This project uses three sprites to explore polygons in different ways. The user selects a 'pen' sprite using a slider (1..3) to pick which demo to show; the green flag script then broadcasts a message to the appropriate sprite.
Each demonstration shows different variables on the stage, and there is a 'hide variables' broadcast so that each sprite hides its variables before the next demo begins.
I have two problems with the Flash viewer:
1. The 'show variable' blocks do not retain the positions that they were given at design time with the result that the variable display obscures the polygons drawn by the sprite.
2. The 'pen2' sprite use a slider called 'angle to turn'; this allows the user to explore different drawing effects. After uploading the project and selecting pen=2, the 'angle to turn' value is no longer a slider.
Offline
You saved it without the variables showing. THat's not a glitch in the flash player. Same thing with the second "glitch".
Offline
My project no longer works. It gets stuck sensing Turbo Mode.
http://scratch.mit.edu/projects/BoltBait/1897019
It used to be very reliable, but something's changed in the Flash player and now it no longer can sense when the player starts Turbo Mode.
EDIT:
After a little testing, the following block
wait (0) secstakes significantly longer in turbo mode than it used to take.
Last edited by BoltBait (2013-03-07 16:56:05)
Offline
In this project, the "start" button is exactly the same as "info" or "shop" but doesn't broadcast for some odd reason
Offline
ethurber wrote:
Ghost not working
http://scratch.mit.edu/projects/ethurber/3146466repeat until <(costume #) = (costumeCount)> set [ghost] effect to ((costume #) * (-7)) next costume end
Ghost effect needs to be a positive number.
Offline
http://scratch.mit.edu/projects/revdj/3162125
It works fine on my scratch program, but when I try to run it in the player, I just get a white screen. I click the green flag and nothing happens. I'm using Chrome.
Offline
In Robot man {Now for non-professionals}, I Got an Idea from a friend, opened in scratch, made some changes, But when I submitted it, Some words didn't Show up.
I am using Internet Explorer
Offline
The timing has gone off when the project is uploaded. It works fine if you download it and play it in Scratch but it doesn't work properly in Flash. I haven't tried java as I don't have the plug-in. Since the timing is crucial to my animation it is a bit frustrating. The animation is trampolining penguins.
Offline
My Flash Player is not blocked,and it is installed but the screen stays white for over 5 minutes!
Offline
NON mi appare la finestra.
Offline