Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Gscript should be.. (https://forums.graalonline.com/forums/showthread.php?t=40328)

adam 11-15-2002 04:43 AM

Gscript should be..
 
More object oriented...

Not sure how to describe what I mean though.
Things like creating images with scripts by drawing other images into it. then just using that one image..

:(

I lack the ability to describe further what I mean right now.

CheeToS2 11-15-2002 05:06 AM

Re: Gscript should be..
 
Quote:

Originally posted by adam
More object oriented...

Not sure how to describe what I mean though.
Things like creating images with scripts by drawing other images into it. then just using that one image..

:(

I lack the ability to describe further what I mean right now.

ehh.. do you mean like.. setting a shape as an image frame, then putting images onto the frame? so you're kind of defining that the object should be treated as an image

adam 11-15-2002 06:53 AM

Re: Re: Gscript should be..
 
Quote:

Originally posted by CheeToS2

ehh.. do you mean like.. setting a shape as an image frame, then putting images onto the frame? so you're kind of defining that the object should be treated as an image


I think that's what im getting at.


So I can do a bunch of things like. A health bar. a 23/60 bar and some text . and treat all of that like one image.

Python523 11-15-2002 07:44 AM

Re: Re: Re: Gscript should be..
 
Quote:

Originally posted by adam



I think that's what im getting at.


So I can do a bunch of things like. A health bar. a 23/60 bar and some text . and treat all of that like one image.

that would require A LOT of reprogramming in the script engine

CheeToS2 11-15-2002 08:31 AM

Re: Re: Re: Gscript should be..
 
Quote:

Originally posted by adam



I think that's what im getting at.


So I can do a bunch of things like. A health bar. a 23/60 bar and some text . and treat all of that like one image.

ehh, you mean like grouping in MS Word? lol

Kaimetsu 11-15-2002 09:25 AM

That's not object-orientation, or at least not in a programming sense.

Falcor 11-15-2002 10:03 AM

There should be classes and methods, but it requires lots of effort.. Plus we'd probably get into declaring variables and stuff... It would mess up older scripts.

adam 11-15-2002 11:41 AM

Backward compatibility is good and all.


But sometimes you just have to move on.
Heck you can use any telephone ever made and they all work the same with any phone outlet. That is nuts the phone system could be so much better if they didn't require backward compatibility by law.

And it just may be the same thing with many other things.

:-(
Aw well I can live without it.



I wasn't really sure what to call it. I forgot what object-oriented really meant in programming but I know some things that can do what im thinking of and they were referred to as object oriented languages.

CheeToS2 11-15-2002 06:31 PM

Quote:

Originally posted by Falcor
declaring variables
ew.

Kaimetsu 11-15-2002 07:30 PM

Quote:

Originally posted by Falcor
declaring variables
Woo!

Falcor 11-16-2002 03:37 AM

Quote:

Originally posted by Kaimetsu


Woo!

Only for people used to C++, the rest of the Gscript junkies would have to take a little time to ween themself off the gscript handicaps.

Python523 11-16-2002 04:48 AM

Quote:

Originally posted by Falcor


Only for people used to C++, the rest of the Gscript junkies would have to take a little time to ween themself off the gscript handicaps.

do you mean having to int a var before modifying or reading it? int varname; ?

adam 11-16-2002 11:24 AM

Declaring variables is all good and fun. ;-)

How else do you know what your using? :-/

wonderboysp2p 11-16-2002 01:14 PM

Quote:

Originally posted by adam
Declaring variables is all good and fun. ;-)

How else do you know what your using? :-/

GUESS & CHECK!!!!! w00t!!! ^_^


All times are GMT +2. The time now is 06:03 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.