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-05-2011, 07:35 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
addtiletype()

This may have been requested before, if so it would be a good idea to bring up with V6 supposedly approaching.

If possible I'd like to see a function for:

addtiletype(x, y, width, height, tiletype);

This would work similarly to addtiledef2();, but instead of placing an image onto a tileset it would modify the tiletype within the specified area to your specified tiletype number.

This would make it much easier for applying custom tilesets of a fairly large size, usually you either have to include default tiles within them un-necessarily, or split them up into lots of different pieces and place over various different points of the tileset.
With this you'd simply be able to place a square of blocking tiles and a square of non blocking tiles anywhere not otherwise being used on the tileset via addtiledef2, then simply use the function to set your custom tilesets to the tiletype you want.
Reply With Quote
  #2  
Old 04-05-2011, 07:39 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
If only we had function hooking .
__________________
Reply With Quote
  #3  
Old 04-05-2011, 11:01 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
Looks like you're missing the levelstart parameter.
__________________
Quote:
Reply With Quote
  #4  
Old 04-10-2011, 05:32 AM
Devil_Lord2 Devil_Lord2 is offline
David K?
Devil_Lord2's Avatar
Join Date: Apr 2011
Location: PA, MD.
Posts: 643
Devil_Lord2 can only hope to improve
I like the idea, I tried to redo type0 pics1.png to be type1 until I realized there were more blocking tiles then there were blocking space.. that and telling which should be pots, chairs and such would be amazing. It would defeat the 'ingenious' type1 ^.-!
__________________

Digital Media Artist - David K? </3 (UnLoved)
www.davidkrout.com
www.twitch.com/DavidKkz



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 03:59 PM.


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