Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-29-2014, 09:40 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
Graal Shop Pro

Welcome to my thread!

I've been working on a much improved scripted Graal Shop (GANI Editor). I've made quite a lot of progress and created a few ganis with it that would have been painful otherwise.

I believe I'm at or close to complete feature parity with the current Graalshop editor.

Controls / Gestures

1. Right mouse button held down to move the preview axis.
2. Ctrl + Left click to select multiple sprites.
3. Keyboard arrows can be used to make fine adjustments to selected sprites.
4. Sprites can be deleted by dragging them into the sprite list, or by being selected and pressing the delete key.
5. Wheel mouse to zoom in and out.

New Features

1. Multiple Sprite Selections. You can select multiple by holding CTRL and selecting a sprite.
2. Full Sprite Effects Support. Color, Mode, Rotate, Stretch all display properly in the preview.
3. Sprite Cutter. You simply select the non-transparent part of the image and it uses a fill algorithm to determine the bounds of the sprite.
4. Gridlines can be disabled.
5. Other small stuff that I can't recall.

I was planning on implementing more features but my work has kind of stagnated on it.

There is currently no serverside functionality to the tool so you don't need to worry about staff having it.

Ganis currently save to your Graal folder under scriptfiles or to your level/ganis folder if you're editing one from there.

Screenshot



Try it out!

You can log on to Zodiac and use the command "/graalshop" (without quotes) to open it.

Alternatively you can download the script, add it to your server and use it there.
Attached Files
File Type: txt graalshop_preview.txt (142.2 KB, 1708 views)
__________________
Quote:
Reply With Quote
  #2  
Old 03-30-2014, 12:31 AM
PhantosP2P PhantosP2P is offline
Pizza Wizard
PhantosP2P's Avatar
Join Date: Aug 2011
Location: California, USA
Posts: 122
PhantosP2P will become famous soon enough
If there's a greater force of scripting working towards making Graal a more productive platform, I don't know who it could be. Thanks FP!
Reply With Quote
  #3  
Old 03-30-2014, 04:50 AM
Stephen Stephen is offline
Boom!
Stephen's Avatar
Join Date: May 2004
Location: San Francisco
Posts: 10,410
Stephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud ofStephen has much to be proud of
Just needs inbetweening.
__________________
Reply With Quote
  #4  
Old 03-30-2014, 08:58 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
Impressive work as always
__________________
Reply With Quote
  #5  
Old 03-30-2014, 09:42 AM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
FP Knorr.
__________________
Reply With Quote
  #6  
Old 03-30-2014, 07:17 PM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu has a spectacular aura aboutTorankusu has a spectacular aura about
nice work, and great contribution as always. thanks.
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote
  #7  
Old 03-30-2014, 10:12 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
awesome thing you did there!

didnt check it out yet, but are the rotated images inside the preview done with your editor or are those already set by the template?
__________________
MEEP!
Reply With Quote
  #8  
Old 03-30-2014, 11:21 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
Very nice, I'll be sure to check it later. Looks great.
__________________
Reply With Quote
  #9  
Old 03-31-2014, 02:23 AM
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 callimuc View Post
didnt check it out yet, but are the rotated images inside the preview done with your editor or are those already set by the template?
Editor. I made them using the batch rotate feature in the add sprite menu out of a single sprite.

With batch rotate you could take a single sword frame either 45 or 90 degree then specify:

Sprites: 8 (360 / 45)
Start: 0
End: 6.28 (Start and End are set to that by default)

and it would create the rest sprites using the rotate effect. You can also change the Stretch X or Y to -1 and get the mirrored version of the sprites.
__________________
Quote:
Reply With Quote
  #10  
Old 04-02-2014, 04:13 AM
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
FYI- I didn't look at your code, but for Facebook you can't combine rotateeffects and coloreffects. It's one or the other
__________________
Reply With Quote
  #11  
Old 04-02-2014, 04:18 AM
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 xAndrewx View Post
FYI- I didn't look at your code, but for Facebook you can't combine rotateeffects and coloreffects. It's one or the other
that's dumb
__________________
Quote:
Reply With Quote
  #12  
Old 04-02-2014, 04:24 AM
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
I've just tested it on Zodiac. It's really great. Good job
__________________
Reply With Quote
  #13  
Old 04-07-2014, 10:08 AM
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
Nice :-)
Reply With Quote
  #14  
Old 04-07-2014, 01:02 PM
Elk Elk is offline
Sr Marketing Strategist
Elk's Avatar
Join Date: Nov 2005
Location: Deerland
Posts: 3,829
Elk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant future
Send a message via ICQ to Elk Send a message via AIM to Elk Send a message via MSN to Elk Send a message via Yahoo to Elk
Quote:
Originally Posted by Stefan View Post
Nice :-)
no u

-on topic-

I'll try it out when I get back from having a walk,

if only the default GUI from Graal wasn't such an eyesore
__________________
iEra IGN: *Elk (Darkshire)
iCla. IGN: *Elk (Darkshire)
iZone IGN: *Elk (Darkshire)




Reply With Quote
  #15  
Old 04-14-2014, 10:02 PM
Spikedude Spikedude is offline
Senator Amsel Zephlyn
Spikedude's Avatar
Join Date: Jul 2006
Posts: 283
Spikedude will become famous soon enough
We've been using this on Era, and it is the greatest thing ever. The sprite cutter saves so much time and adds so much flexibility, and I love having the script window right there. Best thing ever - especially since I'm stuck on a Mac so all I had before was the old in-game editor (which worked, but not without frustration). I don't think I could thank you enough!

The only problem I've had so far is with crashing while Importing sprites - is this a known issue or something I might be doing wrong?
__________________
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 06:14 PM.


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