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

#1 2010-01-20 19:20:59

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

Layout Completed

I have finally completed the layout of the page!

http://i48.tinypic.com/15r1gea.png

As you can see, the layout is similar to Scratch. The left window will be a list of variables/lists, costumes and sounds, the middle window will be where you type the code in, the top-right window is the stage area (where all the sprites and stuff are), and the bottom right window is the area where the list of sprites are. I will be making a toolbar.

Tell me if you have any suggestions, and if you don't like the background color!


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

Offline

 

2010-01-20 19:20:59

AdBot
Advertisements

#2 2010-01-20 19:30:35

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

Re: Layout Completed

Oh, and I almost forgot. If you want the source code for the interactive version (you need wxpython to run), here it is:

Code:

import wx


class menu(wx.MenuBar):
    def __init__(self, parent):
        wx.MenuBar.__init__(self)
        
        self.parent = parent
        
        file = wx.Menu()
        
        quit = wx.MenuItem(file, 1, '&Quit\tCtrl+Q')
        file.AppendItem(quit)

        self.parent.Bind(wx.EVT_MENU, self.OnQuit, id=1)

        self.Append(file, '&File')
        
    def OnQuit(self, event):
        self.parent.Close()

class Window(wx.Frame):
    def __init__(self, parent, id, title):
        wx.Frame.__init__(self, parent, id, title, size=(1024, 768))
        self.SetMinSize((530, 400))
        
        menubar = menu(self)
        self.SetMenuBar(menubar)
        
        panel = wx.Panel(self, -1)
        panel.SetBackgroundColour('#006600')
        
        sizer = wx.GridBagSizer(3, 3)
        
        splitter = wx.SplitterWindow(panel, -1)
        
        p1 = wx.Panel(splitter, -1)
        p1.SetBackgroundColour('#999999')
        
        p2 = wx.Panel(splitter, -1)
        p2.SetBackgroundColour('#CCCCCC')
        
        splitter.SplitVertically(p1, p2)
        splitter.SetBackgroundColour('#339933')
        
        sizer.Add(splitter, (0, 0), (2, 1), wx.EXPAND | wx.TOP | wx.LEFT | wx.BOTTOM, 3)
        
        p3 = wx.Panel(panel, -1, size=(480, 360))
        p3.SetBackgroundColour('#FFFFFF')
        sizer.Add(p3, (0, 1), flag = wx.EXPAND | wx.RIGHT | wx.TOP, border = 3)
        
        p4 = wx.Panel(panel, -1)
        p4.SetBackgroundColour('#999999')
        sizer.Add(p4, (1, 1), flag = wx.EXPAND | wx.RIGHT | wx.BOTTOM, border = 3)
        
        sizer.AddGrowableRow(1)
        sizer.AddGrowableCol(0)
        
        panel.SetSizer(sizer)
        self.Centre()
        self.Show(True)
        
        
app = wx.App()
Window(None, -1, 'test')
app.MainLoop()

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

Offline

 

#3 2010-01-20 19:55:05

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

Re: Layout Completed

I like it, yeah, it does kinda need the bar across the top for like opening things and stuff. Plus maybe some name tags?


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

Offline

 

#4 2010-01-20 19:57:29

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

Re: Layout Completed

What version of wxpython do you need, because it only has win32 and 64...


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

Offline

 

#5 2010-01-20 21:40:17

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

Re: Layout Completed

me likes.


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

Offline

 

#6 2010-01-20 21:40:47

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

Re: Layout Completed

markyparky56 wrote:

What version of wxpython do you need, because it only has win32 and 64...

Either.


All wxPython work with the 32 and 64 versions.


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

Offline

 

#7 2010-01-21 09:00:44

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

Re: Layout Completed

It has been liked. that makes me happy. :D


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

Offline

 

#8 2010-01-21 16:06:06

filo5
Diamond Creator
From: Catford, London, UK
Registered: 2009-10-08
Posts: 253
Website

Re: Layout Completed

I think we should put it other way: very left panel = project explorer, middle panel = script editor/paint editor/resource editor/project settings/start page, top-right area = no changes (stage preview), bottom-right area: TABS = {tab1 = info and properties of item selected in the left panel, tab2 = debug console/watchers}. Get what I mean?


http://img8.imageshack.us/img8/429/filo5newsigsg1planf.png

Offline

 

#9 2010-01-21 16:11:16

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

Re: Layout Completed

filo5 wrote:

I think we should put it other way: very left panel = project explorer, middle panel = script editor/paint editor/resource editor/project settings/start page, top-right area = no changes (stage preview), bottom-right area: TABS = {tab1 = info and properties of item selected in the left panel, tab2 = debug console/watchers}. Get what I mean?

Slightly... watchers?


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

Offline

 

#10 2010-03-13 18:16:35

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

Re: Layout Completed

Hows it going now? And what does this look on a windows computer?


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

Offline

 

#11 2010-03-13 18:28:47

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

Re: Layout Completed

UMMM it doesnt work on my windows pc with python 2.6 and uh, wxpython installed.

Error: %1 is not a valid win32 application.

I'm also also working on the layout of M30W++ using the java swing toolkit. Requires no extra libs, and it has a sprite library(I thinks anyway);


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

Offline

 

#12 2010-03-13 19:33:12

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

Re: Layout Completed

cds56 wrote:

UMMM it doesnt work on my windows pc with python 2.6 and uh, wxpython installed.

Error: %1 is not a valid win32 application.

I'm also also working on the layout of M30W++ using the java swing toolkit. Requires no extra libs, and it has a sprite library(I thinks anyway);

M++ isn't using the .NET framework is it? since its not cross-platform.


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

Offline

 

#13 2010-03-13 21:07:08

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

Re: Layout Completed

markyparky56 wrote:

cds56 wrote:

UMMM it doesnt work on my windows pc with python 2.6 and uh, wxpython installed.

Error: %1 is not a valid win32 application.

I'm also also working on the layout of M30W++ using the java swing toolkit. Requires no extra libs, and it has a sprite library(I thinks anyway);

M++ isn't using the .NET framework is it? since its not cross-platform.

Oh, M30W++ is being made in java, simply because of the Swing toolkit, and that they're so similar in their syntax that it should be easy as 1-2-3.

(1, learn swing, 2 make the layout, 3 code m30w++)

And henceforth rendering it cross-platform.


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

Offline

 

#14 2010-03-13 21:41:27

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

Re: Layout Completed

cds56 wrote:

markyparky56 wrote:

cds56 wrote:

UMMM it doesnt work on my windows pc with python 2.6 and uh, wxpython installed.

Error: %1 is not a valid win32 application.

I'm also also working on the layout of M30W++ using the java swing toolkit. Requires no extra libs, and it has a sprite library(I thinks anyway);

M++ isn't using the .NET framework is it? since its not cross-platform.

Oh, M30W++ is being made in java, simply because of the Swing toolkit, and that they're so similar in their syntax that it should be easy as 1-2-3.

(1, learn swing, 2 make the layout, 3 code m30w++)

And henceforth rendering it cross-platform.

So... will it use a seperate compiler or just use the Python version and just port it to Java/whatever your doing it in?


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

Offline

 

#15 2010-03-13 22:07:43

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

Re: Layout Completed

markyparky56 wrote:

So... will it use a seperate compiler or just use the Python version and just port it to Java/whatever your doing it in?

Separate compiler? there's a m30w compiler?


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

Offline

 

#16 2010-03-14 09:48:19

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

Re: Layout Completed

cds56 wrote:

markyparky56 wrote:

So... will it use a seperate compiler or just use the Python version and just port it to Java/whatever your doing it in?

Separate compiler? there's a m30w compiler?

Im not sure, i think so, since Filos planning on porting M30W to diamond so that he can get access to he compiler part of it, to maybe we should actualy make the compiler seperate, it would be helpful for people not wanting to use the M30W program to make their games (Idk why they wouldn't though)


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

Offline

 

#17 2010-03-14 20:41:28

bendad
M30W Computer Geek
From: A Place....
Registered: 2010-01-23
Posts: 162
Website

Re: Layout Completed

Sweet!


http://bendad.dragonadopters.com/dragonanimated_433188.gif "Fate protects fools, little children and ships named Enterprise" -- Commander Riker

I'm sorry that I am copying Filo5's old signature, but it is very awesome. As they say, imitation is the highest form of flattery.

Offline

 

#18 2010-03-15 00:59:28

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

Re: Layout Completed

When m30w's completed, it could actually be sweet!
I mean, (in theory) it's as easy as scratch, faster(in theory, but most likely quite faster), written in a language people from the planet earth can understand, will have sprites.

I do hope this works out.


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

Offline

 

#19 2010-03-15 18:23:33

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

Re: Layout Completed

cds56 wrote:

When m30w's completed, it could actually be sweet!
I mean, (in theory) it's as easy as scratch, faster(in theory, but most likely quite faster), written in a language people from the planet earth can understand, will have sprites.

I do hope this works out.

Yep, this'll be awesome.


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

Offline

 

Adverts

Board footer

Powered by FluxBB
Hosted by PunBB-Hosting