well thanks for the compliment ( I also ment to say earlier, I like the nickname Sparky )
er, I'm quite happy to help you with PC, I'm torn between using it and not using it for the news project because in some places it's just faster to read for the project if it assumes things are where they should be rather than looking for them every time. I think I'll use a mixture. What do you hope PC to be used for?
Offline
sparks wrote:
well thanks for the compliment ( I also ment to say earlier, I like the nickname Sparky
)
er, I'm quite happy to help you with PC, I'm torn between using it and not using it for the news project because in some places it's just faster to read for the project if it assumes things are where they should be rather than looking for them every time. I think I'll use a mixture. What do you hope PC to be used for?
Always sparking up new ideas! That should be youre motto!
I hope PC can be used for simple things and complicated things eventually, like a full on RPG coding (if thats not going too far).
Grr, I hate Power cuts!
Offline
check it out! I noticed that the Scratch forums accept hexadecimal for colouring so I made a project where you type the message you want and it colours each letter! Pointless I know...
click quote to see how it works
and don't steal that idea, I want to develop it ^_^
Last edited by sparks (2010-04-14 12:08:30)
Offline
sparks wrote:
aw poor you, and I wasn't saying we needed to have those things, just posting them in case someone had not seen them yet.
omg, hitchhikers series IS AMAZING! have you read "and another thing..." which belongs to the series but as old duggy is dead, was written by some guy called Eoin Colfer. it's not too bad![]()
Some guy How dare you...!
Offline
I'm sorry, but this is awesome! forget plain purple!... I'll release it onto the Panther site when I have some other colouring options built in! I'd like it to be able to change shades and not colour too.
and yes, mathwizz, they probably are, though I might just stick to shades of purple... and the yellow is hard to read so I might get it to skip out or something...
Last edited by sparks (2010-04-14 12:16:07)
Offline
sparks wrote:
check it out! I noticed that the Scratch forums accept hexadecimal for colouring so I made a project where you type the message you want and it colours each letter! Pointless I know...
click quote to see how it works![]()
and don't steal that idea, I want to develop it ^_^
Wo... did you type all that in?
Offline
markyparky56 wrote:
sparks wrote:
check it out! I noticed that the Scratch forums accept hexadecimal for colouring so I made a project where you type the message you want and it colours each letter! Pointless I know...
click quote to see how it works![]()
and don't steal that idea, I want to develop it ^_^Wo... did you type all that in?
er, no, I wrote a Panther project that does it for me good huh?
oh, If somone decides to try it, I STRONGLY reccomend you write the result to a file, not a list, I nearly killed my computer when I used a list, and it took a few seconds with a file, so that's the way to do it.
Last edited by sparks (2010-04-14 12:53:19)
Offline
Hey sparks! I drafted up some stuff for PC
Here it is!
NOTE: PCL (Lite version) will be much simpler.
FILETYPE=HEADER/SOURCE;
Defines file type
Function types:
INT: Must return a number
VOID: doesn’t return anything
CHAR: returns a string
BOOL: returns true or false
INT main()
{
STATEMENTS AND FUNCTIONS GO HERE
}
Default function starting and contents declared.
CLASS NAME: PUBC: PUBCCLASS
{
PRIV:
Private statements go in here only to be accessed by the class’s functions
PUB:
Public statmenets that can be used anywhere in the program
}
Default class setup, NOTE: PUBC: PUBCCLASS is another class that stores information from this when two classes or more need to reference the same variables to reduce file length.
If (VAR = 1)
{
Statements go here
}
If statement.
Print(SIZE, FONT, TEXT);
Puts text on screen.
Wait(NoOfSecs);
Wait function.
It will all be case sensitive because some other things will use the same word but the program will need to know the difference (I might chage it if I can get it to determine what context it will be used for).
Last edited by Sperry (2010-04-14 13:04:45)
Offline
Sperry wrote:
Hey sparks! I drafted up some stuff for PC
Here it is!
NOTE: PCL (Lite version) will be much simpler.
FILETYPE=HEADER/SOURCE;
Defines file type
Function types:
INT: Must return a number
VOID: doesn’t return anything
CHAR: returns a string
BOOL: returns true or false
INT main()
{
STATEMENTS AND FUNCTIONS GO HERE
}
Default function starting and contents declared.
CLASS NAME: PUBC: PUBCCLASS
{
PRIV:
Private statements go in here only to be accessed by the class’s functions
PUB:
Public statmenets that can be used anywhere in the program
}
Default class setup, NOTE: PUBC: PUBCCLASS is another class that stores information from this when two classes or more need to reference the same variables to reduce file length.
If (VAR = 1)
{
Statements go here
}
If statement.
Print(SIZE, FONT, TEXT);
Puts text on screen.
Wait(NoOfSecs);
Wait function.
It will all be case sensitive because some other things will use the same word but the program will need to know the difference (I might chage it if I can get it to determine what context it will be used for).
O_o uh... uh... uh... *faints*
Offline
oh yes, Loading images, even small ones from an online file is a no-go. I tried it with a tiny image and it took a long time, about 1 pixil every half a second. My internet speed is pretty good too.
Offline
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
LOL LOL LOL LOL LOL LOL LOL LOL LOL LOL LOL LOL LOL LOL
I made a program that scans an image!
Last edited by MathWizz (2010-04-14 13:16:57)
Offline
sparks wrote:
so is PC designed to be read by a Panther project and cause the project to carry out tasks and actions according to the coding?
If thats so then hes written a compiler in panther.
Offline
sparks wrote:
so is PC designed to be read by a Panther project and cause the project to carry out tasks and actions according to the coding?
Yup, it will read it from a file that the user created which they will specify in the scripts and then the program will do everything for them!
I haven't added all the code I would like yet, I will add some variable and how to use them and then I will start making a compiler like thing that will make the program work. That will take a looooong time
Offline
██████████████████████
██████████████████████
██████████████████████
██████████████████████
██████████████████████
██████████████████████
██████████████████████
██████████████████████
██████████████████████
██████████████████████
██████████████████████
██████████████████████
██████████████████████
██████████████████████
██████████████████████
Offline
MathWizz wrote:
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
LOL LOL LOL LOL LOL LOL LOL LOL LOL LOL LOL LOL LOL LOL
I made a program that scans an image!
wow! that's a great idea! shame it's so blocky!
Offline
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
•••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
•••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
•••••••••
••••••••••••
••••••••••••
••••••••••••
•••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
•••••••••••••••
••••••••••••
••••••••••••
•••••••••••••••
•••••••••••••••
•••••••••••••••
•••••••••••••••
••••••••••••••••••
••••••••••••
••••••••••••
••••••••••••
•••••••••••••••••••••
•••••••••••••••
•••••••••••••••
••••••••••••
•••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
•••••••••••••••
••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Last edited by sparks (2010-04-14 13:29:49)
Offline
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
MUHUHAHAHAHAHAHAHAHA!!!!!!!!! LOOK ET MEH!!!! BIG!!! Now me gonna take over teh world!
Offline
sparks wrote:
oh yes, Loading images, even small ones from an online file is a no-go. I tried it with a tiny image and it took a long time, about 1 pixil every half a second. My internet speed is pretty good too.
Load all the information into a variable, then parse the variable, then draw it.
Offline