PDA

View Full Version : GraalDev


coreys
03-14-2008, 05:09 AM
(Note to moderators: I'm not sure this is in the right area, since it isn't about GScript, so move it if you think it isn't.)

Recently I've been learning and gotten some good experience with the Python coding language (technically scripting language, since it's interpreted, but eh) and I've decided to do something I've wanted to do (but never had the knowledge) for a long time. I'm creating a set of cross-platform Development tools aimed at Graal Development. (I started working on a level editor that supports tile layers just as practice, but I've postponed it for awhile, but I will start it back up if it seems that Stefan hasn't really been working on those client tools he has mentioned before)

Currently I am working on a paint program with everything a GAT or any other developer will need for making graphics for Graal. Basic paint tools like MS Paint; support for layering, alpha, and color transparency; and advanced tools such as lighten/darken, smudge, and filters like contrast adjustment.

These tools will, of course, be free and open-source, unlike higher end programs that do the same, like Paint Shop Pro.

So my proposition is for anyone who would be willing to help, specifically those experienced with the Python language, or even C (apparently you can make C extensions in Python), preferably with knowledge of the wxPython and Python Imaging Library libraries. I, of course, am looking for peoples input and anyone else wanting to help with idea's, graphics, etc.

cbk1994
03-14-2008, 05:18 AM
(Note to moderators: I'm not sure this is in the right area, since it isn't about GScript, so move it if you think it isn't.)

Recently I've been learning and gotten some good experience with the Python coding language (technically scripting language, since it's interpreted, but eh) and I've decided to do something I've wanted to do (but never had the knowledge) for a long time. I'm creating a set of cross-platform Development tools aimed at Graal Development. (I started working on a level editor that supports tile layers just as practice, but I've postponed it for awhile, but I will start it back up if it seems that Stefan hasn't really been working on those client tools he has mentioned before)

Currently I am working on a paint program with everything a GAT or any other developer will need for making graphics for Graal. Basic paint tools like MS Paint; support for layering, alpha, and color transparency; and advanced tools such as lighten/darken, smudge, and filters like contrast adjustment.

These tools will, of course, be free and open-source, unlike higher end programs that do the same, like Paint Shop Pro.

So my proposition is for anyone who would be willing to help, specifically those experienced with the Python language, or even C (apparently you can make C extensions in Python), preferably with knowledge of the wxPython and Python Imaging Library libraries. I, of course, am looking for peoples input and anyone else wanting to help with idea's, graphics, etc.

Stop worrying about the damn dev tools for Windows -- Mac doesn't even have any! And people complain that Window's dev tools are outdated.

Personally I think the graphics editor is a waste of time; I doubt you could make one that would match similar free programs ... would take far more experience than it seems you have (from reading your post).

I would personally skip level editor for now, and work on a GANI editor that can rotate, resize, etc (even if you have to have it automatically create rotated and resized images). If anything needs work, it is the GANI editor.

Of course, GANI Editor is one of the things that could be easily made in game, the files are very simple.

Anyway, sounds good. Keep us posted! Once you finish this, go learn Cocoa and come back and make me some damn Mac dev tools!

coreys
03-14-2008, 05:26 AM
I said they were cross-platform. They'll work on any OS that Python supports, which is Windows, Mac, Linux...even BeOS...not that we'd need anything other than the first three.

Twinny
03-14-2008, 05:29 AM
Does gimp run on mac?

Vulcan
03-14-2008, 05:32 AM
Does gimp run on mac?

Yeah, there is a version for OSX.

coreys
03-14-2008, 06:15 AM
Well I planned to make it whole set of tools. Level Editor (assuming Stefan doesn't beat me to it), Gani Editor, Paint program, I intended to make a separate
animated gif creator (the PIL makes it pretty easy to do it), possibly little programs to create GUI's and such.

Inverness
03-14-2008, 06:43 AM
Ugh, I thought I told you not to do that. The external scripting windows will be released much sooner than you could make that stuff and if they work just fine then you have wasted your time.

DustyPorViva
03-14-2008, 06:48 AM
I'd still like an external level editor...

coreys
03-14-2008, 07:03 AM
Ugh, I thought I told you not to do that. The external scripting windows will be released much sooner than you could make that stuff and if they work just fine then you have wasted your time.
I'd still like an external level editor...

::cough::
Exactly...that and I have yet to see any news of Stefan's Online Level Editor.
Also...personally, although I obviously cannot say for anyone else, think that Client based tools are annoying. They clutter the screen, and glitches seem to pop up everywhere. (Like showimg's showing on top of the Client RC)

Inverness
03-14-2008, 07:50 AM
What part of External Scripted Window is not understood? Its not really different than your use of wxPython.

grawlgamer
03-14-2008, 07:57 AM
I thought mac was all about painting pretty pictures? :confused:

Horrified
03-14-2008, 12:49 PM
I thought mac was all about painting pretty pictures? :confused:
I thought it was staring at them? :confused:

And some kind of external script program that can detect literally anything wrong with your scripts would save a **** load of time when you don't know what you're doing wrong.

coreys
03-14-2008, 05:31 PM
And some kind of external script program that can detect literally anything wrong with your scripts would save a **** load of time when you don't know what you're doing wrong.
Only in my wildest dreams could I accomplish that. :(

And last I heard, Inverness, Stefan was planning to make client tools, not external ones.

DustyPorViva
03-14-2008, 05:45 PM
What part of External Scripted Window is not understood? Its not really different than your use of wxPython.
I don't believe external windows will make an internal level editor any different... since, well, it's not in a separate window anyways.

zokemon
03-14-2008, 07:07 PM
If external level editors aren't super laggy and are nice and smooth, I will finish my in-game .nw editor with tilelayer support, stamps, painting tools, etc.

DustyPorViva
03-14-2008, 07:28 PM
The problem I see with using an external window level editor is the fact that you'd have to draw the level using images... :/

coreys
03-14-2008, 07:45 PM
The problem I see with using an external window level editor is the fact that you'd have to draw the level using images... :/
What's the difference between that and internal? Graal is constantly doing it.

Chompy
03-14-2008, 08:41 PM
What's the difference between that and internal? Graal is constantly doing it.

It's like drawing an image using polygons :(

DustyPorViva
03-14-2008, 09:27 PM
What's the difference between that and internal? Graal is constantly doing it.
One level=4096 images for each tile.
I can't believe you just compared showing images to how Graal generates a level. Sure, Graal has to display the level too, but it's pretty obvious it's much more efficiently done than using showimg's.

coreys
03-14-2008, 10:05 PM
One level=4096 images for each tile.
I can't believe you just compared showing images to how Graal generates a level. Sure, Graal has to display the level too, but it's pretty obvious it's much more efficiently done than using showimg's.

?
I was talking about an external level editor. o_o
And internal one wouldn't need to be showing 4096 showimg's o.0

cbk1994
03-14-2008, 10:18 PM
external scripting windows will be released much sooner
I sure hope so, they are working very well on Mac.
Client based tools are annoying.
Don't talk unless you've seen the external windows (which is like Stefan, Skyld, and I). The external windows are much, much better.
I said they were cross-platform. They'll work on any OS that Python supports, which is Windows, Mac, Linux...even BeOS...not that we'd need anything other than the first three.
ilu <3
What part of External Scripted Window is not understood? Its not really different than your use of wxPython.
Might be slightly less laggy, plus you wouldn't need internet.
I thought mac was all about painting pretty pictures? :confused:
No, GTFO
I thought it was staring at them? :confused:

No, GTFO!

And some kind of external script program that can detect literally anything wrong with your scripts would save a **** load of time when you don't know what you're doing wrong.
Impossible. How could it detect serverside functions? x.x
And last I heard, Inverness, Stefan was planning to make client tools, not external ones.
Guess you've heard incorrectly.
I don't believe external windows will make an internal level editor any different... since, well, it's not in a separate window anyways.
What do you want? Is there any difference? Should work exactly the same, except for performance. Still, personally I think the plusses outnumber the minuses.
?
I was talking about an external level editor. o_o
And internal one wouldn't need to be showing 4096 showimg's o.0
I think he was saying you'd have to show 4,096 images to show the level in the external one.

coreys
03-14-2008, 10:53 PM
Impossible. How could it detect serverside functions? x.x
You could still detect syntax errors and such.

Guess you've heard incorrectly.
I remember Stefan mentioning he was going to make client tools, not external ones.

I think he was saying you'd have to show 4,096 images to show the level in the external one.
Not exactly. It would be better to take 4096 image pieces and put them together to form one image. And Graal still has to do more, I'm sure.

Tolnaftate2004
03-14-2008, 11:04 PM
If anyone here knows how zip compression works, I'm sure the same principle could be used to speed up drawing these images, methinks. Constraints could be placed on such a window to force some culling, too...

DrakilorP2P
03-15-2008, 03:11 AM
If anyone here knows how zip compression works, I'm sure the same principle could be used to speed up drawing these images, methinks. Constraints could be placed on such a window to force some culling, too...
I don't think drawing speed is of any concern. If you really need blazing speed, put everything in a 1024x1024 texture and tell the graphics card to draw it.
This type of decompression would probably just make everything slower, unless your original method is grossly suboptimal.

DustyPorViva
03-15-2008, 03:13 AM
?
I was talking about an external level editor. o_o
And internal one wouldn't need to be showing 4096 showimg's o.0
The whole point was about internal client tools(like clientRC). I dunno where you got the idea I was talking about external level editor's.

coreys
03-15-2008, 03:24 AM
The whole point was about internal client tools(like clientRC). I dunno where you got the idea I was talking about external level editor's.

Well okay, then what's the problem there?
No-ones making any.

DustyPorViva
03-15-2008, 03:41 AM
No 'problem' per say, but the whole argument that external windows will make everything so much better. I'm sure it'll make things like scripting windows and RC better, but it's not gonna make a client level editor any better(since you can either have no external window... and thus, no help. Or do it in an external window, and have to draw the level via showimg's). Thus, I still encourage the coding of an external level editor like introduced in the original post. My point was just to those who said there's no reason since external windows were coming.

Tolnaftate2004
03-15-2008, 05:29 AM
I don't think drawing speed is of any concern. If you really need blazing speed, put everything in a 1024x1024 texture and tell the graphics card to draw it.
This type of decompression would probably just make everything slower, unless your original method is grossly suboptimal.

Uh, I think we might be talking about different things; I meant an internal level editor...

zokemon
03-15-2008, 06:22 AM
The problem I see with using an external window level editor is the fact that you'd have to draw the level using images... :/

I already did that with my level editor that I made 2 years ago or so. I used TDrawingPanels as it doesn't lag nearly as much. And again, I'll finish it if external windows are added and are efficient.

coreys
03-15-2008, 05:21 PM
I'm still going to make a level editor, though!
For offline purposes. :)
That and I personally would just prefer it, as apparently some others would as well.

cbk1994
03-15-2008, 05:55 PM
I already did that with my level editor that I made 2 years ago or so. I used TDrawingPanels as it doesn't lag nearly as much. And again, I'll finish it if external windows are added and are efficient.

They will be added, and they are very, very efficient and work great.

Chompy
03-15-2008, 09:20 PM
They will be added, and they are very, very efficient and work great.

video or it didn't happen..

Bah, I want to make stuff using external windows :(

cbk1994
03-16-2008, 05:36 AM
video or it didn't happen..

Bah, I want to make stuff using external windows :(

I apologize for the large watermark, it was either that, or it was exported as a 5 GB SWF file ...

x4-eHBTgOEg

coreys
03-16-2008, 06:04 AM
This pleases me.

Of course, I still have yet to see any reason to stop my efforts.

cbk1994
03-16-2008, 06:16 AM
This pleases me.

Of course, I still have yet to see any reason to stop my efforts.

No, continue. I would love to see an external level editor or GANI Editor for Mac (and Windows, of course ...)

Still, I think you'd be wasting your time making an image editor when there are many free ones that can do so much more (no offense).

coreys
03-16-2008, 06:33 AM
I haven't found a single free one I particularly like.

And in any case, I've made it my goal to make a quick little GIF Animator first. It should be fairly easy.

DrakilorP2P
03-16-2008, 03:31 PM
I haven't found a single free one I particularly like.
It sounds like modifying the interface of an existing editor would save quite some time. From what I've gathered, that should be quite easy on the GIMP.