I am making a GUI encrypter-decrypter using Scratch.
For that I need these features very much -
1) a button/ program (like stamp) which can alter the sprite under it when it stamps
2) a way to find the no. of the Colour of a Given Pixel (FAST because I'll use it atleast 10 times in 1 project)
Plus can anyone answer this maths question (It is also very much needed for the program) -
You have x numbers and you want to store it in x-1 variables. After you extract the values from the variables, you can process it to find the actual no.Can this be done?
[The variables can have values as a+b instead of a]
Please can anyone answer the questions I am asking. I would be very obliged if anyone answers it.
Thank You
Offline
If you use Panther; most, if not all of these things are doable.
Offline
Please explain the Maths part.
Offline
johnnydean1 wrote:
Please explain the Maths part.
It means that I have 4 variables where I can store a no.(Suppose I store a+b).But I have to store 5 variables.
Before and after storing it, I can process it.
(e.g. if one variable has a+b and the other has a, then I can use the sum and difference of the 2 variable to get the answer.)
Can I do it?
[I HOPE I'M CLEAR NOW]
Offline
Why dont you store it like set Stored Variable to: Variable-A/Variable-B
E.G putting a '/' in the middle then make:
Set Temp.1 to 0
Set Temp.2 to (nothing)
Set Stored Variable to join (Stored Variable) and '/')
repeat (length of Stored Variable)
change Temp.1 by 1
if <not<letter Temp.1 of Stored Variable = />
set Temp.2 to (join (Temp.2) and (Letter Temp.1 of Stored Variable)
ELSE
add Temp.2 to List Of Variables
set Temp.2 to (Nothing)
________________________________________________________________
______________________________
Try that instead. You are then left with your variables in a list calles 'List of Variables'
Offline
Actually, the variables I am using are the colour no. of a given pixel . So I cannot use functions like join..... All I can do is simple things.
Offline
How are you getting the colours?
Offline
??????????????????????????????
My idea is that you replace a pixel in any ordinary file with YOUR pixel that contains encrypted information.After you extract the information, you replace them with the Original Pixel.
Offline
Subh wrote:
??????????????????????????????
My idea is that you replace a pixel in any ordinary file with YOUR pixel that contains encrypted information.After you extract the information, you replace them with the Original Pixel.
Yeah, Id use Panther for something like this, Take a look at the colour options, theres the pixel perfect colour reporter. Plus the ability to turn colours into hex code and from hex code to colour!
Offline