M30W Programming Forum

M30W is a text-based version of Scratch

You are not logged in.

Announcement

This is the development forum for M30W (also known as Emerald, do not confuse with Emerald Programming Language).
Our Non-development forums are available here

M30W(Emerald) 0.3 is out! (Download) Requires Python 2.6 or higher.
Opal 0.3(A better command line M30W) is out! (Download) Requires Python 2.6 or higher.
M30W 0.3.6 GUI barebones (Download) Requires Python 2.6 or higher and wxPython
Diamond-2 RED2 GUI Barebones (Fancy M30W editor) s out! (Download) Requires .NET Framework 3.5 or higher, does not require Python
M30W++ GUI barebones (Java M30W) Alpha 1 is out! (Download) Requires Java.


Gershmer.net, our hosting, will close in February 2011. We have not fully decided what to do with our hosting after that, but we will tell you when we decide.

Adverts

Adverts

#51 2010-01-15 21:16:05

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

hidas wrote:

markyparky56 wrote:

so the 14/1/10 deadline?

? what do you mean?

I think it was something to do with hidas.


I am A M30Wr.
I always get the last word.

Offline

 

2010-01-15 21:16:05

AdBot
Advertisements

#52 2010-01-27 20:42:19

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

So who is making the editor? When they finish, we need to make M30W a scripting language. the easiest way to do that i think would be to save the text as a string, split it into a list, and then find some way to loop through the list so that the looper becomes an interpreter. We can't have sprites before then because it is too hard to keep track of all their values and things in a command-line type program. I've tried.


Heh heh heh (Semi-evil laugh)

Offline

 

#53 2010-01-27 20:46:24

floppy_gunk
I Am Your Father.
From: Earth, The Milky Way (I think)
Registered: 2009-10-08
Posts: 186
Website

Re: General Emerald Discussion

hidas wrote:

So who is making the editor? When they finish, we need to make M30W a scripting language. the easiest way to do that i think would be to save the text as a string, split it into a list, and then find some way to loop through the list so that the looper becomes an interpreter. We can't have sprites before then because it is too hard to keep track of all their values and things in a command-line type program. I've tried.

me


Big Bob bites black bugs, but black bugs bite Big Bob back.

Offline

 

#54 2010-01-27 21:10:34

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

floppy_gunk wrote:

hidas wrote:

So who is making the editor? When they finish, we need to make M30W a scripting language. the easiest way to do that i think would be to save the text as a string, split it into a list, and then find some way to loop through the list so that the looper becomes an interpreter. We can't have sprites before then because it is too hard to keep track of all their values and things in a command-line type program. I've tried.

me

isn't Filo making Diamond? what exactly IS he doing? :/


Heh heh heh (Semi-evil laugh)

Offline

 

#55 2010-01-28 07:42:58

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

hidas wrote:

floppy_gunk wrote:

hidas wrote:

So who is making the editor? When they finish, we need to make M30W a scripting language. the easiest way to do that i think would be to save the text as a string, split it into a list, and then find some way to loop through the list so that the looper becomes an interpreter. We can't have sprites before then because it is too hard to keep track of all their values and things in a command-line type program. I've tried.

me

isn't Filo making Diamond? what exactly IS he doing? :/

He is making the editor, its goig through a series of changes at the moment, hes re-started it and is thinking of changing the name to Visual M30W or M30W studio or one of the others.


I am A M30Wr.
I always get the last word.

Offline

 

#56 2010-01-28 13:53:30

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

markyparky56 wrote:

hidas wrote:

floppy_gunk wrote:


me

isn't Filo making Diamond? what exactly IS he doing? :/

He is making the editor, its goig through a series of changes at the moment, hes re-started it and is thinking of changing the name to Visual M30W or M30W studio or one of the others.

Aha. cool book for learning about Python:
http://inventwithpython.com/


Heh heh heh (Semi-evil laugh)

Offline

 

#57 2010-01-28 15:51:13

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

hidas wrote:

markyparky56 wrote:

hidas wrote:


isn't Filo making Diamond? what exactly IS he doing? :/

He is making the editor, its goig through a series of changes at the moment, hes re-started it and is thinking of changing the name to Visual M30W or M30W studio or one of the others.

Aha. cool book for learning about Python:
http://inventwithpython.com/

Im gonna learn C#, then move onto python.


I am A M30Wr.
I always get the last word.

Offline

 

#58 2010-01-29 21:22:35

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

this is me posting from running Ubuntu in Virtual Box. So far, it is awesome.


Heh heh heh (Semi-evil laugh)

Offline

 

#59 2010-01-29 22:41:43

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

I've discovered a way to make a scripting language! What happens is the user types in  the code, then the program searches through it using regular expressions. I will look into it and see if i can make a prototype.


Heh heh heh (Semi-evil laugh)

Offline

 

#60 2010-01-30 10:33:27

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

hidas wrote:

I've discovered a way to make a scripting language! What happens is the user types in  the code, then the program searches through it using regular expressions. I will look into it and see if i can make a prototype.

Thats how a compiler works, thats what we're doing! We are simply making a compiler with a visual interface.


I am A M30Wr.
I always get the last word.

Offline

 

#61 2010-01-30 14:41:57

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

markyparky56 wrote:

hidas wrote:

I've discovered a way to make a scripting language! What happens is the user types in  the code, then the program searches through it using regular expressions. I will look into it and see if i can make a prototype.

Thats how a compiler works, thats what we're doing! We are simply making a compiler with a visual interface.

whoa you were up at 5 in the morning? :o


Heh heh heh (Semi-evil laugh)

Offline

 

#62 2010-01-30 16:09:24

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

hidas wrote:

markyparky56 wrote:

hidas wrote:

I've discovered a way to make a scripting language! What happens is the user types in  the code, then the program searches through it using regular expressions. I will look into it and see if i can make a prototype.

Thats how a compiler works, thats what we're doing! We are simply making a compiler with a visual interface.

whoa you were up at 5 in the morning? :o

No... that was posted at 10:30 GMT, im in the UK.


I am A M30Wr.
I always get the last word.

Offline

 

#63 2010-02-20 20:54:21

floppy_gunk
I Am Your Father.
From: Earth, The Milky Way (I think)
Registered: 2009-10-08
Posts: 186
Website

Re: General Emerald Discussion

I have made the canvas that the sprites are drawn on! Now I need help figuring out a mascot to use for the sprite.

By the way, I have made some modifications. Do you prefer this:

Code:

        toolbar = self.CreateToolBar()
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/New.png'))
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Open.png'))
        toolbar.AddSeparator()
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Save.png'))
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Save as.png'))
        toolbar.AddSeparator()
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Copy.png'))
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Cut.png'))
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Paste.png'))
        toolbar.AddSeparator()
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Undo.png'))
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Redo.png'))
        toolbar.AddSeparator()
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Run.png'))
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Stop.png'))
        toolbar.Realize()

Or this:

Code:

        icons = ('New', 'Open', 'sep', 'Save', 'Save as', 'sep', 'Copy', 'Cut', 'Paste', 'sep', 'Undo', 'Redo', 'sep', 'Run', 'Stop')
        
        toolbar = self.CreateToolBar()
        
        for icon in icons:
            if icon == 'sep':
                toolbar.AddSeparator()
            else:
                toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/%s.png' % icon))
        
        toolbar.Realize()

Big Bob bites black bugs, but black bugs bite Big Bob back.

Offline

 

#64 2010-02-20 21:11:53

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: General Emerald Discussion

Honestly, the second one looks preferable. But I don't wanna look through the code right now.


http://www.catb.org/esr/faqs/glider.png

Offline

 

#65 2010-02-20 22:56:40

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: General Emerald Discussion

is that WxWidgets? I was going to use wxwidgets, but GTK and Qt actually installed for me, so I've decided to learn them instead.


http://www.catb.org/esr/faqs/glider.png

Offline

 

#66 2010-02-20 23:32:54

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

floppy_gunk wrote:

I have made the canvas that the sprites are drawn on! Now I need help figuring out a mascot to use for the sprite.

By the way, I have made some modifications. Do you prefer this:

Code:

        toolbar = self.CreateToolBar()
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/New.png'))
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Open.png'))
        toolbar.AddSeparator()
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Save.png'))
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Save as.png'))
        toolbar.AddSeparator()
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Copy.png'))
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Cut.png'))
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Paste.png'))
        toolbar.AddSeparator()
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Undo.png'))
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Redo.png'))
        toolbar.AddSeparator()
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Run.png'))
        toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/Stop.png'))
        toolbar.Realize()

Or this:

Code:

        icons = ('New', 'Open', 'sep', 'Save', 'Save as', 'sep', 'Copy', 'Cut', 'Paste', 'sep', 'Undo', 'Redo', 'sep', 'Run', 'Stop')
        
        toolbar = self.CreateToolBar()
        
        for icon in icons:
            if icon == 'sep':
                toolbar.AddSeparator()
            else:
                toolbar.AddLabelTool(-1, '', wx.Bitmap('icons/%s.png' % icon))
        
        toolbar.Realize()

Let's say i made a Pygame surface on the canvas. does it support that?


Heh heh heh (Semi-evil laugh)

Offline

 

#67 2010-02-21 00:19:22

floppy_gunk
I Am Your Father.
From: Earth, The Milky Way (I think)
Registered: 2009-10-08
Posts: 186
Website

Re: General Emerald Discussion

hidas wrote:

Let's say i made a Pygame surface on the canvas. does it support that?

:o I don't even know how that could be possible.


Big Bob bites black bugs, but black bugs bite Big Bob back.

Offline

 

#68 2010-02-21 01:56:06

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: General Emerald Discussion

floppy_gunk wrote:

hidas wrote:

Let's say i made a Pygame surface on the canvas. does it support that?

:o I don't even know how that could be possible.

That would be cool though.


http://card.ly/images/vcard-green-small.png

Offline

 

#69 2010-02-21 04:00:27

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

Pygame does have support for multiple surfaces, i think.


Heh heh heh (Semi-evil laugh)

Offline

 

#70 2010-12-03 03:58:33

tracyk859
Member
Registered: 2010-12-03
Posts: 1

Re: General Emerald Discussion

Thanks for the post. Hi guys, Im a newbie. Nice to join this forum.

__________________
[please don't advertise]

Offline

 

#71 2010-12-03 12:55:59

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

tracyk859 wrote:

Thanks for the post. Hi guys, Im a newbie. Nice to join this forum.

__________________
[Please don't advertise]

Welcome, hope you find what we do here interesting.
If you haven't noticed, we have a non-dev forum aswell.


http://www.punbb-hosting.com/forums/m30wusers/index.php


I am A M30Wr.
I always get the last word.

Offline

 

#72 2011-04-19 10:19:31

sajad
Member
From: pakistan
Registered: 2011-04-19
Posts: 1

Re: General Emerald Discussion

Thanks! This is something I've really missed and was very happy to find. :)

Offline

 

#73 2011-04-22 19:12:02

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

sajad wrote:

Thanks! This is something I've really missed and was very happy to find. :)

Its kinda... dead. Every now and again one of the devs will post something in the dev forum. But that's about all that happens nowadays...


I am A M30Wr.
I always get the last word.

Offline

 

#74 2011-04-27 11:39:32

gupta77
Member
From: pakistan
Registered: 2011-04-27
Posts: 1
Website

Re: General Emerald Discussion

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.

Offline

 

#75 2011-05-01 17:38:22

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

:/ right...


I am A M30Wr.
I always get the last word.

Offline

 

Adverts

Board footer

Powered by FluxBB
Hosted by PunBB-Hosting