This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#701 2009-12-08 10:20:31

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Kileymeister: Yes, it isn't case sensitive, so you could type:

Code:

ask
ASK
aSk
asK
ASk
aSK
Ask
AsK

And many others, so you won't need to worry about how you type it, unlike other programming languages, you are REQUIRED at ALL times to make sure every bit is typed correctly, so Emerald allows you to type comfortably.

Gershmer: I'm not sure, maybe one for each version:

Code:

Emerald 0.2:
...
Emerald 0.3
...
Opal 0.3:
...

Offline

 

#702 2009-12-08 12:55:43

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

How about implementing a button somewhere which brings up the help thing?!


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#703 2009-12-08 15:40:03

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

...good idea...


Converting my Scratch projects to Python!

Offline

 

#704 2009-12-08 20:33:44

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

CPPE 0.2.5

new function:
answer function, a subfunction of print, lists out the questions, and you input a number(line no. ) and it sets the print for that line to print out the question. relatively useless, but I'm going to do the same thing for the answers too.

still workin on it.

I'll post the program in a bit.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#705 2009-12-08 20:46:46

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

discovered a glitch. My answer database can only store one answer at a time.
er
uh
and to get the answer to a question, you must first answer it in RUN. so actually, you are assigning a constant variable. every time you answer a question!
I'm well on my way to getting variables now!


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#706 2009-12-09 10:57:01

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

Try List<string> or StringCollection (System.Collections.Specialized)


Converting my Scratch projects to Python!

Offline

 

#707 2009-12-09 15:47:42

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

there's a command for listing out strings? cool!

UPDAT

I GOT SAVE WORKING TO A POINT WHERE IT ACTUALLY LOOKS RIGHT! YES! ALL I NEED TO DO IS TO GET OPEN TO READ THE LINES.

IT'S SO EASY NOW.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#708 2009-12-09 16:05:45

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

Well, it's a .NET thing. Or, there is string[]...


Converting my Scratch projects to Python!

Offline

 

#709 2009-12-09 16:17:27

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

eu, the list<string> thing didnt work.
but i already had a way of dumping the string values.
I just can't quite get the erm uh. get the program to read anything other than Chars from the filestr.read or filestr.getline or filestr.

Welllll, i can get it to read to a CHAR * array, but i don't think theres a way to conver that to a string array.

I'd like help from someone who know some io magic.

or at least how to read data into a string array.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#710 2009-12-10 10:55:21

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

Char array can be converted to string (string is in fact an array of characters). List<string> is a .NET-specific thing, same as StringCollection. What are you doing it in anyway? Can you post source code?


Converting my Scratch projects to Python!

Offline

 

#711 2009-12-10 11:05:14

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

this is getting hard to follow. lol.

Im wondering, really. If magnie can program in any language if she has the basics. Why not go find the source code to a python program with a GUI, and reverse program it? How hards that?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#712 2009-12-10 11:35:58

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

Not at all. In fact, reverse engineering is one of most popular methods to learn how to program. If you know the basics, decompile a thing (.py python doesn't have to be decompiled, .pyc is easy to do so) and you can learn from there. If a project is open source, you don't have to decompile.

I personally learned C# on my own basis, often just googling for things, but mostly on my own. Oh well, I also looked at done things, but mostly just... programmed.


Converting my Scratch projects to Python!

Offline

 

#713 2009-12-10 14:43:25

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

I did post the source. on gershmer's ftp site, along with the bins,  here: ftp://gershmer.net/../../CPPE/
choose CPPE 0.2.7

I guess I should have posted the .vcproj files too, but i wasnt thinking about that.
oh, btw, i dont know how compatable my source'll be with Vcpp2008 or earlier.

I'm using the beta of 2010.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#714 2009-12-10 15:02:44

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

how would I convert char array to string array?

like, umm, I need the prog to reintigrate all the lines.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#715 2009-12-11 08:05:52

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

why hasn't cds56 been named as one of the group yet?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#716 2009-12-11 14:55:08

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

markyparky56 wrote:

why hasn't cds56 been named as one of the group yet?

CPPE isn't complete yet, that's why.


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#717 2009-12-11 15:01:11

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Oh yeah, we have more than 10,000 views on this thread.


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#718 2009-12-11 15:30:47

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

Not complete? I know it's not complete, but what is it that isn't complete, as Emerald isnt complete either.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#719 2009-12-11 19:45:02

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Emerald is supposed to be in Python, we are not moving to another language unless it helps us all.

Offline

 

#720 2009-12-11 20:19:10

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

And to the fact that the existing Emerald team members are mostly fluent in python or C#.

And, CPPE is 250 lines of code in C++.

And although C# and C++ are similar, C++ is a tad more complex.
Also, to join the dev squad, I'd need to make a good improvement in Python, or C#. But my C# is basic, and I don't have much free time with school and stuff lately.

And CPPE is in very active development, and I'm more occupied by it.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#721 2009-12-11 20:24:22

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Emerald

markyparky56 wrote:

this is getting hard to follow. lol.

Im wondering, really. If magnie can program in any language if she has the basics. Why not go find the source code to a python program with a GUI, and reverse program it? How hards that?

Magnie's a he.  wink


Hai.

Offline

 

#722 2009-12-12 01:58:11

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

That's the Second ( or Third ) time you've called me a she, Marky! xD

Offline

 

#723 2009-12-12 03:14:14

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Emerald

xD srly?I only know you are a he when you told me in my TBG site.  wink


Hai.

Offline

 

#724 2009-12-12 07:24:02

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

gershmer wrote:

markyparky56 wrote:

why hasn't cds56 been named as one of the group yet?

CPPE isn't complete yet, that's why.

Neither is Emerald+ or Emerald. yes, cppe is only in V0.2.something but its getting there!

And, sorry magnie, i must've missed it when you said you were a guy, *face palm*


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#725 2009-12-12 08:43:23

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

fg123 wrote:

Magnie's a he.  wink

I never knew that.

I've been doing s/he everytime I needed a pronoun.


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

Board footer