Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-25-2005, 04:51 PM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
Gani & Other Enhancement

Attach Sprite in the Ganishop
Script Editor in the Ganishop

Dynamic Variables (such as: SPRITE: 30 + PARAM1)

-- Other stuff...

Graal Version 4 should have GS2 enabled on client
Multi-dimensional Array reconition by code (this.mode[0][1] persay)
Multi-layered Levels -- When is that coming out?
__________________
In a world of change... Who'll you believe?
Reply With Quote
  #2  
Old 04-25-2005, 07:25 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by Velox Cruentus
Graal Version 4 should have GS2 enabled on client
Isn't that basically the whole point of V4? I'm looking forward to the new offline editor

Quote:
Multi-dimensional Array reconition by code (this.mode[0][1] persay)
Don't we have this already?
(Also 'persay' is not a word)
__________________
Reply With Quote
  #3  
Old 04-25-2005, 09:05 PM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
No -- size() doesn't work adequately for multidimensional arrays (adequatly), I do believe.

It doesn't matter as much, but it may prove useful eventually.
__________________
In a world of change... Who'll you believe?
Reply With Quote
  #4  
Old 04-25-2005, 09:26 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by Velox Cruentus
No -- size() doesn't work adequately for multidimensional arrays
How are you using it?
__________________
Reply With Quote
  #5  
Old 04-25-2005, 09:31 PM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
Not quite sure -- I had that problem some... Perhaps a month ago? I don't know. It only returned the first array dimension.
__________________
In a world of change... Who'll you believe?
Reply With Quote
  #6  
Old 04-25-2005, 09:39 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by Velox Cruentus
Not quite sure -- I had that problem some... Perhaps a month ago? I don't know. It only returned the first array dimension.
In Graal, a multidimensional array is essentially just an array of arrays. If you try to apply size() to it then you'll just get the length of that first array. If you want to get the total number of elements, and you're sure that every component array is the same width, you can just do: array.size() * array[0].size().

Personally, I'd just keep track of those things with variables.
__________________
Reply With Quote
  #7  
Old 04-25-2005, 11:27 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Quote:
Originally Posted by Velox Cruentus
Graal Version 4 should have GS2 enabled on client
It does.

Unless you mean offline.
Reply With Quote
  #8  
Old 04-25-2005, 11:33 PM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
changeimgmode doesn't seem to have any effect at all. O,o; Is it outdated?
__________________
In a world of change... Who'll you believe?
Reply With Quote
  #9  
Old 04-26-2005, 12:55 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by Velox Cruentus
changeimgmode doesn't seem to have any effect at all
Again: How are you using it?
__________________
Reply With Quote
  #10  
Old 04-26-2005, 02:59 AM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
changeimgmode 300,1;

But I was using a polygon -- Could that be the cause?
__________________
In a world of change... Who'll you believe?
Reply With Quote
  #11  
Old 04-26-2005, 03:07 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
For polygons the different image modes don't really make make sense, you can add colors or blackness depending on the color and alpha values (works in v3.1 and v4).

You can use new scripting for gani scripts with v3.1 and v4, the scripts are compiled on serverside and the compiled gani script is sent to the client then (can add something to remove the gani script before sending the plain .gani file to the client may be so people cannot steal the script).

It is planned that there will be an online editor in a few months, also the new gani editor will be scripted (you can already modify ganis by script). Need to add some way to zoom ganis/players for that.
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 12:48 PM.


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