Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   Layer's and You! (https://forums.graalonline.com/forums/showthread.php?t=134256126)

DustyPorViva 09-19-2009 08:18 AM

Layer's and You!
 
1 Attachment(s)
Thanks to Fry and his contributions to Gonstruct, layers are now possible to 'play' with. However... they're not much use if you don't have the right tileset, so I'm willing to share the one I created a while ago so you can all play with Gonstruct. Now, I'm going to warn you, don't expect to use this tileset and upload it and have everything work. Graal's client does not currently support alpha blending in tilesets... this is a method I use heavily in my layer tileset for things like shadows, and dynamic terrains. The solution? Either way it out for v6... or wait it out for me to create a layer tileset that doesn't use alpha blending. OR, to the extreme side, you can place all shadow tiles on a single layer and level.tilelayers[x].alpha = .32 to give them opacity via gscript... I don't advise that, though. However, if such a tileset is made, it will not be very flexible. The only benefit would be objects like tree tops being transparent... the bottom of the tree would still have green shadows, therefor still only really be visually pleasing on grass.

I may write up a tutorial on using Gonstruct and how to create layers... as while the concept is easy to grasp, when you start working with 4 layers and you have objects here and there, things can get really complicated really fast. Perhaps include a list of what is possible and what isn't, and exactly how layers work on Graal itself... side-effects and so on. Anyways, I should mention Graal hardly supports layers right now, so really all it's good for is playing around with.

Anyways, here's the tileset. There are oversights with it. A few tile errors here and there, tiles I deleted that I shouldn't have... they're few and far between, however. I may eventually add more to it, as well, like doing the same for interior tiles like the shelves and windows.

cbk1994 09-19-2009 05:39 PM

I remember trying this with Tig's level editor, it was quite cool.

DustyPorViva 09-19-2009 07:11 PM

Quote:

Originally Posted by cbk1994 (Post 1523913)
I remember trying this with Tig's level editor, it was quite cool.

Really? Tig said it didn't work... then again Skyld confirmed it to work with the beta Mac.

Tigairius 09-19-2009 08:27 PM

Quote:

Originally Posted by DustyPorViva (Post 1523922)
Really? Tig said it didn't work... then again Skyld confirmed it to work with the beta Mac.

Yeah, it ended up working but it was still kind of buggy, sometimes things weren't displaying transparency properly, etc.

DustyPorViva 09-19-2009 09:51 PM

Quote:

Originally Posted by Tigairius (Post 1523929)
Yeah, it ended up working but it was still kind of buggy, sometimes things weren't displaying transparency properly, etc.

On the Mac? Skyld showed me a screenshot and it looked perfect. However, my level loads the topmost layer and all transparency is black(so it's mainly a black screen with the top layer objects showing).

Pimmeh 09-19-2009 10:02 PM

Dusty... I love you

cbk1994 09-19-2009 10:47 PM

Quote:

Originally Posted by DustyPorViva (Post 1523935)
On the Mac? Skyld showed me a screenshot and it looked perfect. However, my level loads the topmost layer and all transparency is black(so it's mainly a black screen with the top layer objects showing).

Yeah, it worked on the 32-bit version (slightly older than the one involved with the Mac beta testing), but not on the newest 64-bit one. We reported all the bugs on that one, though.

Rufus 09-20-2009 04:19 PM

Galdor reminded me of this; layers would mean that we could apply filters right? Such as this.

xXziroXx 09-20-2009 04:35 PM

Quote:

Originally Posted by Rufus (Post 1524069)
Galdor reminded me of this; layers would mean that we could apply filters right? Such as this.

Yes. Yes it would. :D

Rufus 09-20-2009 04:40 PM

Quote:

Originally Posted by xXziroXx (Post 1524072)
Yes. Yes it would. :D

That's cool.

Gothika 09-20-2009 07:15 PM

Awesome.


All times are GMT +2. The time now is 08:21 PM.

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