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

#501 2013-01-13 08:12:01

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Itchy++ - a Scratch C++ Port

bobbybee wrote:

I have XP with zlib, never use lzo. zlib is moderately easy, you really can cut & paste most stuff.

Ok, no lzo then! I'll look into zlib...


http://i.imgur.com/1QqnHxQ.png

Offline

 

#502 2013-01-16 06:36:26

vedkhandekar
Scratcher
Registered: 2012-08-21
Posts: 11

Re: Itchy++ - a Scratch C++ Port

I too know C++ a bit. See the program below:

Code:

#include<iostream>
using namespace std;
int main()
{
        cout<<"Itchy++";
        return 0;
}

http://beta.scratch.mit.edu/static/site/galleries/thumbnails/19/2162.png

Offline

 

#503 2013-01-16 21:31:48

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Itchy++ - a Scratch C++ Port

vedkhandekar wrote:

I too know C++ a bit. See the program below:

Code:

#include<iostream>
using namespace std;
int main()
{
        cout<<"Itchy++";
        return 0;
}

That's gonna give an error. Add a space between the include and <iostream>


http://i.imgur.com/YBeXc.png

Offline

 

#504 2013-01-19 21:18:28

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Itchy++ - a Scratch C++ Port

Bump!


http://i.imgur.com/YBeXc.png

Offline

 

#505 2013-01-20 04:06:17

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Itchy++ - a Scratch C++ Port

vedkhandekar wrote:

I too know C++ a bit. See the program below:

Code:

#include<iostream>
using namespace std;
int main()
{
        cout<<"Itchy++";
        return 0;
}

Ok could you look at the code in our github repo and tell me weather you understand it.


http://i.imgur.com/1QqnHxQ.png

Offline

 

#506 2013-01-21 13:29:44

Devloper123
Scratcher
Registered: 2011-11-27
Posts: 100+

Re: Itchy++ - a Scratch C++ Port

Can be a tester if you want


http://i45.tinypic.com/2jafczs.gifAnd Dev! Sign up on this forum!i like the  tongue  emoticon

Offline

 

#507 2013-01-27 12:41:45

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: Itchy++ - a Scratch C++ Port

I dont know a lot of c++, but sign me up anyway.
Github is Zeusking19.


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#508 2013-01-31 02:18:57

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Itchy++ - a Scratch C++ Port

Zeusking19 wrote:

I dont know a lot of c++, but sign me up anyway.
Github is Zeusking19.

Added  smile


http://i.imgur.com/1QqnHxQ.png

Offline

 

#509 2013-02-02 15:56:23

mattdm
New Scratcher
Registered: 2012-09-10
Posts: 2

Re: Itchy++ - a Scratch C++ Port

If this project gets off the ground into code workable for end-users, I'm very interested in packaging it for Fedora. We're working on including Scratch 1.4, but the flash-based version will be a no-go.

Offline

 

#510 2013-02-05 02:31:05

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Itchy++ - a Scratch C++ Port

mattdm wrote:

When this project gets off the ground into code workable for end-users, I'm very interested in packaging it for Fedora. We're working on including Scratch 1.4, but the flash-based version will be a no-go.

Fixed  wink   tongue

Cool, thanks for the offer  smile  once we have some code you are welcome to package it for fedora.


http://i.imgur.com/1QqnHxQ.png

Offline

 

#511 2013-02-05 16:37:27

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Itchy++ - a Scratch C++ Port

Bump. does anyone know OpenGL or Qt5 and how to use them together?


http://i.imgur.com/1QqnHxQ.png

Offline

 

#512 2013-02-05 20:30:27

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Itchy++ - a Scratch C++ Port

TRocket wrote:

Bump. does anyone know OpenGL or Qt5 and how to use them together?

I know some OpenGL and qt but don't know how to put them together.  sad


http://i.imgur.com/YBeXc.png

Offline

 

#513 2013-02-07 02:54:00

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Itchy++ - a Scratch C++ Port

pwiter wrote:

TRocket wrote:

Bump. does anyone know OpenGL or Qt5 and how to use them together?

I know some OpenGL and qt but don't know how to put them together.  sad

Shouldn't be too hard if we can find a tutorial online somewhere...


http://i.imgur.com/1QqnHxQ.png

Offline

 

#514 2013-02-07 18:44:03

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Itchy++ - a Scratch C++ Port

TRocket wrote:

pwiter wrote:

TRocket wrote:

Bump. does anyone know OpenGL or Qt5 and how to use them together?

I know some OpenGL and qt but don't know how to put them together.  sad

Shouldn't be too hard if we can find a tutorial online somewhere...

I found one, but it uses an old version of qt5(alpha), with headers that aren't used anymore.


http://i.imgur.com/YBeXc.png

Offline

 

#515 2013-02-08 02:39:50

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Itchy++ - a Scratch C++ Port

pwiter wrote:

TRocket wrote:

pwiter wrote:


I know some OpenGL and qt but don't know how to put them together.  sad

Shouldn't be too hard if we can find a tutorial online somewhere...

I found one, but it uses an old version of qt5(alpha), with headers that aren't used anymore.

If you search for the old header name it should be in the doxygen with what it's Been replaced with.


http://i.imgur.com/1QqnHxQ.png

Offline

 

#516 2013-02-08 09:07:04

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Itchy++ - a Scratch C++ Port

TRocket wrote:

pwiter wrote:

TRocket wrote:


Shouldn't be too hard if we can find a tutorial online somewhere...

I found one, but it uses an old version of qt5(alpha), with headers that aren't used anymore.

If you search for the old header name it should be in the doxygen with what it's Been replaced with.

I hardly know anything about doxygen, but I will try.


http://i.imgur.com/YBeXc.png

Offline

 

#517 2013-02-08 11:35:44

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Itchy++ - a Scratch C++ Port

pwiter wrote:

TRocket wrote:

pwiter wrote:


I found one, but it uses an old version of qt5(alpha), with headers that aren't used anymore.

If you search for the old header name it should be in the doxygen with what it's Been replaced with.

I hardly know anything about doxygen, but I will try.

are these the demos you're talking about?


http://i.imgur.com/1QqnHxQ.png

Offline

 

#518 2013-02-08 12:33:59

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Itchy++ - a Scratch C++ Port

TRocket wrote:

pwiter wrote:

TRocket wrote:


If you search for the old header name it should be in the doxygen with what it's Been replaced with.

I hardly know anything about doxygen, but I will try.

are these the demos you're talking about?

Yep. But since it is OpenGL 3, it might not work on Intel GPUs and old GPU.


http://i.imgur.com/YBeXc.png

Offline

 

#519 2013-02-09 03:44:20

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Itchy++ - a Scratch C++ Port

pwiter wrote:

TRocket wrote:

pwiter wrote:


I hardly know anything about doxygen, but I will try.

are these the demos you're talking about?

Yep. But since it is OpenGL 3, it might not work on Intel GPUs and old GPU.

Could we just use opengl 2 includes and libraries?


http://i.imgur.com/1QqnHxQ.png

Offline

 

#520 2013-02-09 16:57:45

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Itchy++ - a Scratch C++ Port

TRocket wrote:

pwiter wrote:

TRocket wrote:


are these the demos you're talking about?

Yep. But since it is OpenGL 3, it might not work on Intel GPUs and old GPU.

Could we just use opengl 2 includes and libraries?

There is a lot that changed from opengl 2 and 3.


http://i.imgur.com/YBeXc.png

Offline

 

#521 2013-02-17 08:35:19

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Itchy++ - a Scratch C++ Port

We  should use QPainter and let Qt do the OpenGL
http://qt-project.org/doc/qt-5.0/qtopen … nting.html


http://i.imgur.com/1QqnHxQ.png

Offline

 

#522 2013-02-17 17:17:56

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Itchy++ - a Scratch C++ Port

TRocket wrote:

We  should use QPainter and let Qt do the OpenGL
http://qt-project.org/doc/qt-5.0/qtopen … nting.html

Nice find. I was just about to commit a test line, but you committed first.  tongue  Now it's time to manually merge it.


http://i.imgur.com/YBeXc.png

Offline

 

#523 2013-02-17 19:57:43

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Itchy++ - a Scratch C++ Port

I have learned how to use QImage and render it using QPainter. But I need some help with I/O. From our old code I think that the image is stored in pixels, but not sure if it has an alpha channel. Anyways, you can set the individual pixels with

Code:

image.setPixel(int x, int y, qRgb(int r, int g, int b);

or with alpha channel using

Code:

image.setPixel(int x, int y, qRgba(int a, int r, int g, int b);

.


http://i.imgur.com/YBeXc.png

Offline

 

#524 2013-02-19 15:49:56

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Itchy++ - a Scratch C++ Port

pwiter wrote:

I have learned how to use QImage and render it using QPainter. But I need some help with I/O. From our old code I think that the image is stored in pixels, but not sure if it has an alpha channel. Anyways, you can set the individual pixels with

Code:

image.setPixel(int x, int y, qRgb(int r, int g, int b);

or with alpha channel using

Code:

image.setPixel(int x, int y, qRgba(int a, int r, int g, int b);

.

I think it would have an alpha channel, I'll look at it once we can build everything...

we need to try and get qmake subdirs template to work with our structure. I'll try and remove the old SDL code from scratchio.
Also, I am now using qtcreator for developing the main app. I'll probably still use eclipse for IPPX stuff, since it doesn't have a GUI.


http://i.imgur.com/1QqnHxQ.png

Offline

 

#525 2013-02-22 18:29:58

FINNHS
Scratcher
Registered: 2012-07-11
Posts: 9

Re: Itchy++ - a Scratch C++ Port

when gf clicked
say [My GitHub username is ScratchHub]
think [i heart scratch] for (10) secs
ask [Do YOU heart scratch?] and wait
end

Last edited by FINNHS (2013-02-22 18:38:59)

Offline

 

Board footer