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

#26 2012-02-04 21:11:14

bendad
Scratcher
Registered: 2008-06-14
Posts: 100+

Re: The Return Of M30W

I'm about to get my website set up I think. The 2nd or 3rd thing I'll do is set up the M30W subdomain.


Hi!  big_smile
Good to see you. (Even if I don't know you  wink  )

Offline

 

#27 2012-02-04 22:02:11

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

Re: The Return Of M30W

Okay, what should I do?

Offline

 

#28 2012-02-05 13:21:34

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: The Return Of M30W

maybe we could install trac on the website?
it really helps assigning things and share source  smile

Offline

 

#29 2012-02-06 05:52:38

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

Re: The Return Of M30W

roijac wrote:

maybe we could install trac on the website?
it really helps assigning things and share source  smile

That is a possibility. So is SVN. Hmm...

Offline

 

#30 2012-02-06 13:33:15

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: The Return Of M30W

or should i just make a launchpad thing for it?

Offline

 

#31 2012-02-06 13:43:52

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

Re: The Return Of M30W

roijac wrote:

or should i just make a launchpad thing for it?

I think we should wait for bendad's thoughts.

Offline

 

#32 2012-02-15 12:16:26

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: The Return Of M30W

file format: maybe similar to snap!'s XML, what do you think?

Offline

 

#33 2012-02-15 13:44:51

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

Re: The Return Of M30W

I guess that could work. Should images be in the same folder, or same file? Like the Scratch projects, the images are in the file, but in other programs, images are usually external.

So I'm thinking, if we want it all in one file, we could use some sort of compression module to compress the images and text-commands. But that would make it complicated to type the commands with a text-editor like notepad. I guess we could make a "compiler"/bundle'r to compress everything into a single file, which we can then make a player that decompresses the single project file and runs the project.

If we really want, we could do it like this:

Code:

<m30w_project>
    <m30w_settings>
        version = 1.0
    </m30w_settings>

    <project_settings>
        name = Example
        version = 1.0
    </project_settings>

    <sprites>
        <sprite name="Example">
            <costumes>
                <costume name="example">
                    ["text" version of image, like when you open an image in a text-editor]
                </costume>
            </costumes>
            <scripts>
                go to x:(10) y:(10)
            </scripts>
        </sprite>
    </sprites>
</m30w_project>

So basically the image is in the file (literally). Problem is, if someone modifies the "image text" then the image won't work.  hmm

Offline

 

#34 2012-02-15 14:28:54

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: The Return Of M30W

compress data URIs?
and why does they have to modify it in notepad?  yikes

Offline

 

#35 2012-02-15 14:40:50

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

Re: The Return Of M30W

roijac wrote:

compress data URIs?
and why does they have to modify it in notepad?  yikes

They don't have to, but if they don't have the M30W application on hand, then they can edit their projects without needing it. Sort of like Scratch 2.0 where users can edit their projects as long as they have an internet connection and Adobe Flash Player, but offline and much more flexible.

Last edited by Magnie (2012-02-15 14:41:47)

Offline

 

#36 2012-02-15 15:19:40

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: The Return Of M30W

the only reason i think it's not a good idea is because you'll have to make a directory for each project...
anyway, we could have a little mark box, "pack images inside file (for easier exporting)
i guess we could also use python2exe and freeze to compile it  smile

Offline

 

#37 2012-02-15 15:30:22

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

Re: The Return Of M30W

roijac wrote:

the only reason i think it's not a good idea is because you'll have to make a directory for each project...
anyway, we could have a little mark box, "pack images inside file (for easier exporting)
i guess we could also use python2exe and freeze to compile it  smile

Well, I meant actually putting the image into the file. Cause you can put images into text files, they are just harder to use when programming.

Compiling the M30W program into a .exe is easy, compiling the projects made in it is a little harder though.  hmm

Offline

 

#38 2012-02-17 06:47:18

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: The Return Of M30W

why, though?
make a 'stage mode', and make a .py file like this:

Code:

project = 
"""
<m30w_project>
    <m30w_settings>
        version = 1.0
        openIn = stageMode
    </m30w_settings>

    <project_settings>
        name = Example
        version = 1.0
    </project_settings>

    <sprites>
        <sprite name="Example">
            <costumes>
                <costume name="example">
                    ["text" version of image, like when you open an image in a text-editor]
                </costume>
            </costumes>
            <scripts>
                go to x:(10) y:(10)
            </scripts>
        </sprite>
    </sprites>
</m30w_project>
"""

, than you can just compile it  smile

Offline

 

#39 2012-02-17 09:36:46

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

Re: The Return Of M30W

roijac wrote:

why, though?
make a 'stage mode', and make a .py file like this:

Code:

project = 
"""
<m30w_project>
    <m30w_settings>
        version = 1.0
        openIn = stageMode
    </m30w_settings>

    <project_settings>
        name = Example
        version = 1.0
    </project_settings>

    <sprites>
        <sprite name="Example">
            <costumes>
                <costume name="example">
                    ["text" version of image, like when you open an image in a text-editor]
                </costume>
            </costumes>
            <scripts>
                go to x:(10) y:(10)
            </scripts>
        </sprite>
    </sprites>
</m30w_project>
"""

, than you can just compile it  smile

I guess that could work.

Offline

 

#40 2012-02-17 10:16:38

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: The Return Of M30W

it should work
anyway, what's going on with project hosting?

Offline

 

#41 2012-02-17 10:24:01

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

Re: The Return Of M30W

roijac wrote:

it should work
anyway, what's going on with project hosting?

Bendad probably forgot about us or something.  tongue

We should probably start on the gui-base (the stage, coding area, and the menu bar on top). Then we can work on the sprites. Then commands.

Do we want to continue using wxPython or use some other module?

Offline

 

#42 2012-02-18 14:14:58

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: The Return Of M30W

i suggest qt, but wx is also fine
throw it on sourceforge?

Offline

 

#43 2012-02-18 14:21:58

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

Re: The Return Of M30W

roijac wrote:

i suggest qt, but wx is also fine
throw it on sourceforge?

Well, either works I think. I haven't really used either, so we'll just pick one and then use it.

Offline

 

#44 2012-02-18 14:39:31

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: The Return Of M30W

so sourceforge?

Offline

 

#45 2012-02-18 14:54:30

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

Re: The Return Of M30W

roijac wrote:

so sourceforge?

Uh, sure.

Offline

 

#46 2012-02-18 14:58:50

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: The Return Of M30W

https://sourceforge.net/p/m30w/, how do i add you?

Offline

 

#47 2012-02-18 15:02:31

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

Re: The Return Of M30W

Not sure, maybe Google it?

Offline

 

#48 2012-02-18 15:29:50

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: The Return Of M30W

This looks cool. I'm working on a similar project, but with Processing instead of Python ^^


Posts: 20000 - Show all posts

Offline

 

#49 2012-02-19 08:27:52

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: The Return Of M30W

added you, will upload the code later today  smile

Offline

 

#50 2012-02-19 11:22:44

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: The Return Of M30W

uploaded the code+little patch+some tickets, feel free to spam tickets, even if pretty useless  big_smile
and now i know how to use git  smile

Offline

 

Board footer