Okay, what should I do?
Offline
roijac wrote:
maybe we could install trac on the website?
it really helps assigning things and share source![]()
That is a possibility. So is SVN. Hmm...
Offline
roijac wrote:
or should i just make a launchpad thing for it?
I think we should wait for bendad's thoughts.
Offline
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:
<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.
Offline
roijac wrote:
compress data URIs?
and why does they have to modify it in notepad?![]()
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
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
Offline
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![]()
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.
Offline
why, though?
make a 'stage mode', and make a .py file like this:
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
Offline
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
![]()
I guess that could work.
Offline
roijac wrote:
it should work
anyway, what's going on with project hosting?
Bendad probably forgot about us or something.
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
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
roijac wrote:
so sourceforge?
Uh, sure.
Offline
Not sure, maybe Google it?
Offline
This looks cool. I'm working on a similar project, but with Processing instead of Python ^^
Offline