PlaneShift

Development => Development Deliberation => Topic started by: arcus on June 28, 2005, 05:37:13 am

Title: about using aws
Post by: arcus on June 28, 2005, 05:37:13 am
hi, all
I have a question about the aws. I want to make a game using CS, and in the game, there are several windows like chat window, status window and also the main window. In the main window, it shows the whole 3d game world. In my impression, this main window should be transparent, and its size should be the full screen, also it can receive all related game event in its area. Right? If so, how about the solution by using aws?
I have seen the PS code, it create a package of paws to hold PS gui function. But I think it is too complex for my application.

Any help and suggestion will be welcome!

Frank
Title:
Post by: AryHann on June 28, 2005, 08:02:05 am
Hi,

I have been using PS code for creating another application and I have used PAWS. I didn\'t need all the windows PS engine was proposing, but just few and I have simply simplified that.

From what I know AWS needs to be reviewed or some major work, because it has been neglected for some time. I might be wrong, though.
Title:
Post by: Androgos on June 28, 2005, 08:07:49 am
Quote
Originally posted by arcus
hi, all
I have a question about the aws. I want to make a game using CS, and in the game, there are several windows like chat window, status window and also the main window. In the main window, it shows the whole 3d game world. In my impression, this main window should be transparent, and its size should be the full screen, also it can receive all related game event in its area. Right? If so, how about the solution by using aws?
I have seen the PS code, it create a package of paws to hold PS gui function. But I think it is too complex for my application.

Any help and suggestion will be welcome!

Frank


IF you use AWS you don\'t need to do a window, you just paint the world as usual and then call Print on the AWS manager and it will print the windows on top
Title:
Post by: arcus on June 28, 2005, 08:24:05 am
Quote
Originally posted by Androgos
IF you use AWS you don\'t need to do a window, you just paint the world as usual and then call Print on the AWS manager and it will print the windows on top

Thanks a lot for your help.
So for a game with main game window, chat window, I just need to implement the chat window by defining some gui definantion file, while the main game window needn\'t any gui defination file, it catchs the full screen and shows them on the top. Right?


Frank
Title:
Post by: Androgos on June 28, 2005, 12:46:41 pm
yes
Title:
Post by: arcus on June 29, 2005, 06:50:46 am
how about the difference between CS\'s aws and PS\'s PAWS, it seems that PS use its own defined window system?
For example, I want to use a button with an image appearance, in the CS\'s aws, I cannot find its support, but in the PS\'s aws, the pawsButton can support this.
So I\'m afraid that using CS\'s aws maybe some specific GUI feature it doesn\'t support.
Title:
Post by: acraig on June 29, 2005, 04:04:16 pm
I wrote PAWS ( PlaneShift\'s Alternate Windowing System ) out of fustration of trying to customize Crystal Space\'s AWS windowing system.   However, AWS is still in development in CS so if there is something not supported in AWS you can ask them about it on the CS mailing list.  

AWS tries to be more COM and interface like while PAWS is more subclass and inherritance based.  It\'s a matter of what you feel more comfortable with.