Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Announcements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 10 votes, 4.60 average. Display Modes
  #106  
Old 06-24-2013, 01:16 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Hey Julien/Stefan,

Any update on my class extending problem? http://forums.graalonline.com/forums...9&postcount=90

Also, will overloading functions be supported?
Reply With Quote
  #107  
Old 06-24-2013, 08:06 AM
Julien Julien is offline
Registered User
Join Date: Jun 2013
Posts: 8
Julien is on a distinguished road
Hello,

GS3 is currently emulating classes using only GS2 features.
While the GS3 syntax already support constructors, getters / setters, inheritance, classes can only be used as containers as for now.

You can only define simple classes with members initialization but functions do not work yet.

Example:
PHP Code:
class Animal extends TStaticVar {
  var 
name string;
  var 
canBreathe boolean true;
}

class 
Dog extends Animal {
  var 
canBark boolean true;
}

function 
onCreated() : void {
  var 
dog Dog = new Dog();
  
dog.name "Woof";
  echo(
dog.canBark); // 1 (true)
  
echo(dog.canBreathe); // 1 (true)

Reply With Quote
  #108  
Old 07-14-2013, 02:04 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Quote:
Originally Posted by Stefan View Post
- We can possibly convert the scripts to other languages (C++, Javascript etc.) so it can possibly run in a browser in the future
I realize that this deals with Graal's actual source code rather graalscript, but does this means it might possible to port graal to other platforms or handhelds, ie. 3DS and Vita?
__________________
Deep into the Darkness peering...
Reply With Quote
  #109  
Old 07-15-2013, 06:09 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
We also plan to convert the engine to GS3 sometime We more look into targeting Javascript and C# though
Reply With Quote
  #110  
Old 07-17-2013, 07:34 AM
Gunderak Gunderak is offline
Coder
Gunderak's Avatar
Join Date: Jun 2011
Location: Australia
Posts: 795
Gunderak is on a distinguished road
Why C#?
__________________

Gund for president.

Remote PM {P*}x (Graal813044) from eraiphone -> Stefan: I hav 1 qustion
*Gunderak: he hav 1
*Gunderak: qustion
Reply With Quote
  #111  
Old 07-17-2013, 03:54 PM
Julien Julien is offline
Registered User
Join Date: Jun 2013
Posts: 8
Julien is on a distinguished road
There are several cross-platform game libraries that are based on the Mono / .NET Framework (C#):
  • Unity 3D (also supports JavaScript-like language)
  • Xamarin
  • MonoGame
  • ...

Conversion from GS3 to C# would allow the Graal engine / tools / scripts to be compatible with these libraries, and possibly deploy on new platforms.
Reply With Quote
  #112  
Old 07-17-2013, 05:48 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Julien View Post
Conversion from GS3 to C# would allow the Graal engine / tools / scripts to be compatible with these libraries, and possibly deploy on new platforms.
and this benefits Graal and it's developers how?
__________________
Quote:
Reply With Quote
  #113  
Old 07-17-2013, 06:38 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Quote:
Originally Posted by fowlplay4 View Post
and this benefits Graal and it's developers how?
more stuff to deal with, particles and FB as example
__________________
MEEP!
Reply With Quote
  #114  
Old 07-22-2013, 07:28 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by fowlplay4 View Post
and this benefits Graal and it's developers how?
it will bring more players to zodiac
__________________
Reply With Quote
  #115  
Old 07-24-2013, 04:21 AM
GodlyAmbitions GodlyAmbitions is offline
Registered User
Join Date: Jul 2006
Posts: 32
GodlyAmbitions is an unknown quantity at this point
i hope they really go for C# instead of gs3
Reply With Quote
  #116  
Old 07-24-2013, 05:20 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
C# will also be useful for me (as it's my language of choice atm )
Reply With Quote
  #117  
Old 02-18-2014, 06:30 PM
Jakov_the_Jakovasaur Jakov_the_Jakovasaur is offline
Deleted by Darlene159
Jakov_the_Jakovasaur's Avatar
Join Date: Sep 2013
Location: Deleted by Darlene159
Posts: 354
Jakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud of
hello!

lets just hypothesize for one moment that i were to put my scripting abilities towards developing a playerworld which uses gs3, what alternative platforms could i then expect the playerworld to be made available on, and what time frame could i expect this to be within?

alternatively, if i were to develop a playerworld using gs2 instead, is the current pc platform even going to be supported in future?

thank you!
__________________
This signature has been deleted by Darlene159.
Reply With Quote
  #118  
Old 02-18-2014, 08:46 PM
Tim_Rocks Tim_Rocks is offline
a true gentlemen
Tim_Rocks's Avatar
Join Date: Aug 2008
Location: USA
Posts: 1,863
Tim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to behold
Quote:
Originally Posted by Jakov_the_Jakovasaur View Post
hello!

lets just hypothesize for one moment that i were to put my scripting abilities towards developing a playerworld which uses gs3, what alternative platforms could i then expect the playerworld to be made available on, and what time frame could i expect this to be within?

alternatively, if i were to develop a playerworld using gs2 instead, is the current pc platform even going to be supported in future?

thank you!
When Timmah from South Park can walk.
__________________
Reply With Quote
  #119  
Old 09-03-2014, 04:14 PM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
sup bros, gs4.5 comin next week

eidt: i promise
Reply With Quote
  #120  
Old 09-04-2014, 01:53 AM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
Is there any updates on this available? I really like the idea of GS3.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:44 AM.


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