I came up with an idea for 'tests' (scratch projects to be run through itchy to test whether an idea works). See github for details.
Currently both tests 'fail'. I am running fedora 17 with gnome shell. I will try it out tomorrow on mint with cinnamon and my Arch Linux box.
For testing purposes mint is ubuntu.
Offline
@Math
Still a prob
Offline
@pwiter
Modify the if to include windows, guess.
Offline
If you like at my scratchio.h, I put a copy of endian.h in the header. Just use that
Offline
Ok... Really? All of the issues? You may as well point out that scripts don't work and I should fix them. Be patient, I am still working on the sprites and stuff. Also, the reason sprites don't render is that they images cannot be decoded yet.
Last edited by MathWizz (2012-09-28 23:42:48)
Offline
I just made some new branches where the packaging will go eventually. Arch linux packaging is complete and I am going to start work on the rpm.
Offline
I know how to package -apps through make.
Offline
@All - Can we consider doing some organization of the graphics code? I think it would be a good idea to abstract the messy SDL stuff to within a series of graphics classes (I noticed there's a good deal in main() ), or something like that, because it could come in very handy down the road for us to change graphics-specific stuff without altering program logic.
Last edited by amcerbu (2012-10-01 01:11:44)
Offline
Wait...can we do a sub-division of itchy++, the Itchy Emulator. Basically, it would emulate Scratch's VM (sounds odd). Itchy++ would use the library form of the Itchy Emulator for playing projects.
Offline
bobbybee wrote:
Wait...can we do a sub-division of itchy++, the Itchy Emulator. Basically, it would emulate Scratch's VM (sounds odd). Itchy++ would use the library form of the Itchy Emulator for playing projects.
i was thinking the same sort of thing with my IPPX idea it would be written for Itchy Bytecode and Itchy++ would convert the scratch project and compile it...
Offline
Exactly. It would be particularly good because the Scratch file format requires a module in itself to parse, so if we wrote a module to convert to bytecode, we wouldn't be forced to mash all the code together.
Offline
By the way, having written a small Scratch 2.0 player myself, I could write the sb2 to bytecode module. Then we have a universal code (plus if we want to read other sorts of projects, maybe even Itchy code itself, we can have a universal method of doing stuff).
Offline
bobbybee wrote:
By the way, having written a small Scratch 2.0 player myself, I could write the sb2 to bytecode module. Then we have a universal code (plus if we want to read other sorts of projects, maybe even Itchy code itself, we can have a universal method of doing stuff).
sounds good to me, we need to decide on a format for Itchy Byte code... and document it properly!
Offline
I'm quite good at designing file formats and writing specs for them, consider it done.
Offline
TRocket wrote:
bobbybee wrote:
By the way, having written a small Scratch 2.0 player myself, I could write the sb2 to bytecode module. Then we have a universal code (plus if we want to read other sorts of projects, maybe even Itchy code itself, we can have a universal method of doing stuff).
sounds good to me, we need to decide on a format for Itchy Byte code... and document it properly!
We don't need to write a THIRD format for saving files. -.-
Offline
Yeah, I think we did talk about writing a special Itchy++ file format earlier, and decided against it.
On a completely unrelated note: do you think we could build a feature that would "convert" a Scratch project into a .cpp file? Of course, that file would have to be compiled manually (unless we could somehow include some open-source compiler, which, I actually realized, could be done), but I think it would be cool to be able to create executables.
Last edited by amcerbu (2012-10-01 17:18:56)
Offline
amcerbu wrote:
Yeah, I think we did talk about writing a special Itchy++ file format earlier, and decided against it.
On a completely unrelated note: do you think we could build a feature that would "convert" a Scratch project into a .cpp file? Of course, that file would have to be compiled manually (unless we could somehow include some open-source compiler, which, I actually realized, could be done), but I think it would be cool to be able to create executables.
I think an Itchy++ format would simplify things, not complexify them. Since we're dealing with 2.0 and 1.4 files, we need a universal way to do things between them, e.g. the Itchy format.
Offline
bobbybee wrote:
I think an Itchy++ format would simplify things, not complexify them. Since we're dealing with 2.0 and 1.4 files, we need a universal way to do things between them, e.g. the Itchy format.
It's worth noting that your format would accomplish a different goal (viz. execution) from the Scratch 1.x and 2.0 file formats (which are designed for storage).
Offline