i just need to reset my password, im doing that know.
Offline
^ You're back! (And you replied to almost every thread...hehe)
Offline
i know... i like being all over the place.
Offline
Gershmer on punbb-hosting.com/forums/Emerald wrote:
We may actually be able to have sprites sooner than thought.
This simple .py file can display a .png file
Pretty cool, huh?
A quick Python-ing.
Display real images (not GUI pieces, ex menu bar, window, text box) in Python using PyGame.
import pygame #loads the pygame module w = [width] #sets image displaying area width h = [height] #sets image displaying area height screen = pygame.display.set_mode(([width], [height])) #make and display window graphic = pygame.image.load("[image name + file extension]").convert() screen.blit(graphic, (0, 0)) #Display image at 0, 0 pygame.display.flip() #Update screen running = 1 while running: #Loop this for event in pygame.event.get(): #get user input if event.type == pygame.QUIT: #if user clicks the close X running = 0 #make running 0 to break out of loop screen.blit(graphic, (0, 0)) #Display image at 0, 0 pygame.display.flip() #Update screen
Make it a no command line ☺ ☺ ☺ .pyw file
Oh yeah, if something in my code looks like this: [value], substitute the value for it, without brackets...
One more thing. You can't run the file through IDLE as "Run Module (F5)" You have to click on the .pyw file and let it run through itself. (Not in IDLE)
Last edited by gershmer (2009-11-15 19:25:54)
Offline
We'll need to attach the PyGame module to our installation (I can do all the installation wizards, I'm pretty good at NSIS).
Well, that's SOMETHING. Now we only need to set up how projects should be parsed. I personally like my idea from like a month ago - to an user it's an .emrd file ( remember, .emrld is for scripts ), but to the program it's an archive (you can use zlib), where the folder structutre is like this: (<this denotes a folder>)
project.xml This file holds the project info (sprites, track of remixes, etc.)
<Sprite1>
sprite.xml This file tells the program where the other files are
sprite.emrld This is the script file
<Costumes>
costume1.png
<Sounds>
sound1.ogg
And that's it.
Offline
Marky: I just remembered, if you can make Emerald in Java, then we can have it for the website.
Gershmer: Thanks for that, it should help very much in making graphics!
Everyone: Maybe once we get Version 1 of Emerald out, I'm thinking of having the Mods delete all the posts, or I could just make a new topic and delete this one. Any ideas?
Offline
Offline
Magnie wrote:
1. Gershmer: Thanks for that, it should help very much in making graphics!
2. Everyone: Maybe once we get Version 1 of Emerald out, I'm thinking of having the Mods delete all the posts, or I could just make a new topic and delete this one. Any ideas?
1. Thank you
2. Just create a [Release] Emerald v1.x thread here, along with the forums @PunBB, as most people would only see this thread. And if we ever see the need for Emerald v2.x, then do [Release] Emerald v2.x. Or just create another thread, the post-0.9 (as in 1.0 and on) Release thread. (Development still in here)
By the way, this has 534 replies and 7629 views, NOT BAD AT ALL, publicity wise.
Seriously, more than 7.5 thousand views? Sure, a lot are us, but that leaves still a ton of views.
Hopefully, one day, we will be endorsed by the MIT Media Lab, and we will look back and say "we were awesome"
Regards,
Gershmer
Last edited by gershmer (2009-11-16 17:21:51)
Offline
Offline
Gershmer1: Yes, 7.5k views are a lot, that's why I think, instead of making new topic, just ask Mods to rename it and delete all the posts, I love are views.
Offline
So you mean just don't post here? That works. ^.^
Offline
whos hosting?
Magnie: Why dont we just ask scratch for the source code for their one? and edit it for .emrld files?
Plus: If this works, we'll need to add an upload button. But we'll either need to program a program (lol) for it to added to the site, or we just put them all in a big folder and update once a day.
Offline
My first experiment with MS Installer...
http://filesocial.com/hv9wqz
Offline
How 'bout we host it on my website? ( emerald.mintriver.site90.com )
Marky: If we just make it are selves, then it's rightfully ours, not Scratch's.
Offline
I lol'ed.
You were all like No, Magnie, no no no, silly child, Gershmer has ASP.NET support, silly.
In the voice of my 7th Grade English Teacher, of course. (In my head that's what it sounded like)
Offline
My website should support it tooooo. xD
Offline
Scratchr Platform is what powers the website, not the program for view the projects. We could just ask to look at the source code for the viewer, then build our own one seperately.
Offline
I want an actual download link to the ScratchR Platform...
Offline
i think this is what your looking for then: http://svn.assembla.com/svn/scratchr/
Offline