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 02-08-2008, 11:17 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Couple of image suggestions

1) I've suggested it before but I'd still like to see it happen: allowing negative input to stretchx/y. This would flip the image when under 0. So stretchy=-1 would be a vertical flip of an image. Right now there is rotating of images, but no flipping. Why not?
2) changeimgvis also allowing negative input. This would show images under the tileset. Please... pretty please?

3) not a suggestion, but a bug of sorts. Rotating any gani, whether it be a player object or showimg object, will distort its position. This is not apparent on gani's such as idle, walk, push and such, but try rotating a gani and setting it as sword. Its position gets all screwed up.
Reply With Quote
  #2  
Old 02-08-2008, 11:27 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by DustyPorViva View Post
2) changeimgvis also allowing negative input. This would show images under the tileset. Please... pretty please?
You can already do this with guis.
__________________
Do it with a DON!
Reply With Quote
  #3  
Old 02-09-2008, 05:16 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Ya I know... you should know I know, you taught me! :P
I'm talking in relation to level coordinates though.
Reply With Quote
  #4  
Old 02-10-2008, 03:41 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
Ganis are rotating around their center (1.5, 2) I think
Reply With Quote
  #5  
Old 02-10-2008, 04:22 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 Stefan View Post
Ganis are rotating around their center (1.5, 2) I think
Is it possible to change the anchor position of a GANI or image?
__________________
Reply With Quote
  #6  
Old 02-10-2008, 09:00 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by cbkbud View Post
Is it possible to change the anchor position of a GANI or image?
That's a great idea.

Maybe something like:
NPC Code:
centerrelative - Where the relative center of the image is based on the width and height.  Default is {0.5, 0.5}.
centeroffset - Pixel offset from the relative center that is regardless of image width and height. Default is {0, 0}.



So if you wanted it to always rotate around its lower left corner you could just do:
PHP Code:
centerrelative = {01};
centeroffset = {00}; 
If you wanted to rotate 16 pixels down and right from the upper left, you could just do:
PHP Code:
centerrelative = {00};
centeroffset = {1616}; 
__________________
Do it with a DON!
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 10:23 PM.


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