Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-10-2008, 03:56 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Robin View Post
I understand, and as the name suggests, it's a very generic function. addEventListener does not even have to be added, although it would be good.
Then stop making a fuss about it.
Quote:
If catchevent worked the way you and myself would like it to, I could make this:

PHP Code:
function addEventListener(obj,event,func) {
  
obj.catchEvent(event,func);

Yes, that could fit perfectly into your atan->arctan junk.
Quote:
I'd like to keep general c-like based script standards in order to encourage more players to script.
GS2 is easy enough to learn. Personally, I see addEventListener as more confusing. Plus, it's not like people go around and say "HMM I COULD LEARN GS2 BUT IT DOESNT COMPLY WITH MY ECMA**** "
Quote:
You say I do not understand consistency, when I am talking about standards. Standards are about keeping things consistent.
We have consistency. Consistency of GS2. There is no reason we need consistency for any other languages.

Actually, I will start a crusade to make GS2 compliant with my BASICStandards

This way, everyone coming from BASIC would be able to script GS2
__________________
Reply With Quote
  #2  
Old 05-10-2008, 10:13 PM
Robin Robin is offline
The secret of NIMH
Robin's Avatar
Join Date: Apr 2005
Location: Wales, UK
Posts: 515
Robin will become famous soon enough
Send a message via AIM to Robin
Quote:
Originally Posted by cbkbud View Post
Then stop making a fuss about it.
I already did.

Quote:
Originally Posted by cbkbud View Post
Yes, that could fit perfectly into your atan->arctan junk.
arctan is not the standard name for that function, try C, C#, Java, Actionscript etc. Judging by the fact that the following is perfectly legal GScript2, Stefan has already started to implement some Actionscript:
PHP Code:
function init(obj:Objectx:Numbery:Number) {

Quote:
Originally Posted by cbkbud View Post
GS2 is easy enough to learn. Personally, I see addEventListener as more confusing. Plus, it's not like people go around and say "HMM I COULD LEARN GS2 BUT IT DOESNT COMPLY WITH MY ECMA**** "
Is it really? Then why do I continue to see some god awful scripting from otherwise talented people? If it's so easy, why don't you contribute some scripts? I haven't seen anything in the Code Gallery from you since I got here.

Plus, as I have already said, I can add my own "addEventListener" if catchevent was fixed, it does not matter to me what the function is named as long as it works

Quote:
Originally Posted by cbkbud View Post
We have consistency. Consistency of GS2. There is no reason we need consistency for any other languages.
Obviously not considering the legal bit of Actionscript / GS2 above.

Quote:
Originally Posted by cbkbud View Post
Actually, I will start a crusade to make GS2 compliant with my BASICStandards

This way, everyone coming from BASIC would be able to script GS2
BASIC has no standards, it was a Microsoft invention. ECMA is not a script on it's own. It's a set of standards, like ISO or RFC.

I was starting no crusade sir, I saw the inklings of GS2 becoming something greater than it already is and decided to try and help, and yet was bashed
__________________

Reply With Quote
  #3  
Old 05-10-2008, 10:19 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Robin View Post
arctan is not the standard name for that function, try C, C#, Java, Actionscript etc.
It is silly to make another function just because you do not wish to adapt

And yes, I know atan is the standard, I also script Java and basic Actionscript.
Quote:
Is it really? Then why do I continue to see some god awful scripting from otherwise talented people? If it's so easy, why don't you contribute some scripts? I haven't seen anything in the Code Gallery from you since I got here.
http://forums.graalonline.com/forums...ad.php?t=73425
http://forums.graalonline.com/forums...ad.php?t=73742
http://forums.graalonline.com/forums...ad.php?t=73784
http://forums.graalonline.com/forums...ad.php?t=73857
http://forums.graalonline.com/forums...ad.php?t=77749
http://forums.graalonline.com/forums...ad.php?t=77694
http://forums.graalonline.com/forums...ad.php?t=73726

I haven't been scripting much as final exams are approaching.

Quote:
I was starting no crusade sir, I saw the inklings of GS2 becoming something greater than it already is and decided to try and help, and yet was bashed
I apologize, sir.
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:57 PM.


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