Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-03-2010, 11:28 PM
geneticfrog geneticfrog is offline
Registered User
Join Date: Aug 2005
Location: Canada N-B
Posts: 294
geneticfrog can only hope to improve
Send a message via AIM to geneticfrog Send a message via MSN to geneticfrog
Gonstruct explained a bit.

I did a quick search on the forums on Gonstruct but i did not see any thread that really tried to help and explain how to use gonstruct. (i forshadow some other thread links)

What does Gonstruct really let you do? how?

Basically Gonstruct the main and big difference is that it offers layers. Everything else is the same. The layers work just like the ones in photoshop simply showing over the bottom layer under it. Or some may understand it more as if it was your old retroprojector back in school.


The sheets used on retro projectors work the same way. If you take a marker and make a tree. Then you take a second clearsheet and put it over it, what ever you draw on that second sheet or "layer" will show over the bottom one. It will not effect the bottom layer at all.

So in gonstruct AT the moment you get a limit of 4 layers.

Layers 0, layer 1, layer 2, layer 3. They are all like their own clear sheet for a retroprojector showing in order. Highest number ontop.

WARNING: if you use 4 layers or more, the CLient WILL Bug out in this current version.

Converting your tileset to Gonstruct:


Here is an example of a level completed fully in gonstruct from maloria. The red circles represent spots that wont have to be extra tiles in a tile set or have to go over and do with an image so it doesnt show back ground.



You see on the right all the pink around the tiles. Basically the pink in game is going to be invisible thus letting the tiles SHOW OVER other tiles. All the tiles that are transed will be layer 1-3 beacause they will need back grounds to replace the pink that will be gone in game and in the editor.

To make a Tileset Gonstruct friendly First someone has to go in and paint all the backgrounds around the detailer tiles pink. as seen in this image. Only keep the parts of the tiles that you want to keep of course.



Once the backgrounds are all painted that same pink color all over. You need to get a program that will allow you to make a certain color transparent. In this case i will show Paint Shop Pro, Pro photo X2.

NOTE: when you make a new layer the first top left tile gets pasted all over that layer. To save you some trouble simply make that first tile 100% pink so its transed and wont cause any annoying problems.
http://img130.imageshack.us/img130/4887/84377667.png

First step open the tileset image
Second step click Image > Pallet > Set pallet transparency.



Then set the color to pink and thats it, save!




Now in the Gonstruct i'll show you my settings. When you click "show a list of tilesets" it should look something like this. It seems if you have another tileset infront of the one you want. Even if you select it as main, it will still bug out. So its best to just delete every other tileset. (as far as i know)

In the "preferences" it seems not having graal set as the folder can bug your editor as well.





Now how to use the layers? There is not really any correct way to use layers as long as it looks nice. Here is how i have used them to create a few levels without taking too much time.

Getting started:

Adding removing viewing layers:
To add layers you click the small plus sign beside the number witch shows your current layer. The minus sign is to delete the top layer. The box with a check mark is to toggle the layer invisible or not. This will show you witch tiles are on that layer its pretty helpful.

WARNING: if you open a second level the previous levels layer will show the same no the next but its acutally 0. So you need to click it to change it and its back on track. Everytime you switch levels you need to do this.

Heres how i like to do it as a general guide line.

Layer 0 = Dirt, grass, water, chairs, bushy grass.
Layer 1 = the smallest grass borders
layer 2 = the second taller grass borders and cliffs.
layer 3 = all the grass/dirt/water detailers and trees.

you may find situations where you need to wing it in many cases.

Here an example its kinda messy and i dont know if it will help but i will post it anyway.

layer 0 = background not highlighted but grass dirt water etc
layer 1= orange
layer 2 = blue
layer 3 = purle


KNOWN BUGS:

1. do not go over 3 layers or you will see its not going to work right when you try to upload it online in RC
2. If you try to copy paste something from one edtior to another editor, it will crash.
3. If you highlight something and drag it out of its spot, what ever that is in your bottom right filling tile will replace it and cause problems. (not somuch a bug but can be VERY confusing with layers when its in the middle layers.)



4. possible problem if you dont set your folder as graal.
5. having a tileset above the one you want to use.
6. if you open a second level the previous levels layer will show the same on the next layer but its acutally 0. So you need to click it to change it and its back on track. Everytime you switch levels you need to do this.
I am sure ive made some spelling errors, i will edit again later.

In the end is it worth it?
yup!! very convenient!!!
__________________
Jer ^__^

Last edited by geneticfrog; 02-04-2010 at 09:18 PM..
Reply With Quote
  #2  
Old 02-03-2010, 11:30 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
Hmm, more than 3 layers don't work right in Graal? That's odd!
Reply With Quote
  #3  
Old 02-03-2010, 11:36 PM
geneticfrog geneticfrog is offline
Registered User
Join Date: Aug 2005
Location: Canada N-B
Posts: 294
geneticfrog can only hope to improve
Send a message via AIM to geneticfrog Send a message via MSN to geneticfrog
I agree.

The layers also cause the file to be bigger and cause a bit more lag ingame as well.

I think the next versions of graal will better support layers, I maybe wrong though.
__________________
Jer ^__^
Reply With Quote
  #4  
Old 02-03-2010, 11:39 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
Well Stefan has implied that it would be very easy to add the ability to draw layers over players, but I've never heard more than that about it.

And ya, each layer is basically another level stored in the same file so it will increase the file size a lot. However, any idea what kind of bugs layers > 3 cause? Because Graal's theoretically supports infinite layers, by NW format and by script. Is it just not drawing layers over 3?

Also, you should add in the cons of using layers. Specifically the lack of support on the official editor tools, that will pretty much delete all layer data and break the levels if used to edit anything.
Reply With Quote
  #5  
Old 02-03-2010, 11:44 PM
geneticfrog geneticfrog is offline
Registered User
Join Date: Aug 2005
Location: Canada N-B
Posts: 294
geneticfrog can only hope to improve
Send a message via AIM to geneticfrog Send a message via MSN to geneticfrog
Layer 3 itself is fine, its adding layer 4-5 and up.

When i was editing my level in the forest i tried to upload a level with 5 layers total (0 -1 -2 -3 -4 )

The Level kind of bugged and was showing tiles from a previous save i made with that level. It was pretty wierd but basically it wouldn't let me upload any updates with 5 total layers. IT would bug the level instantly on upload in RC.
__________________
Jer ^__^
Reply With Quote
  #6  
Old 02-03-2010, 11:52 PM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Nice post. Will +rep when I can.
Reply With Quote
  #7  
Old 02-04-2010, 02:11 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally Posted by geneticfrog View Post
2. If you try to copy paste something from one edtior to another editor, it will crash.
Wow, that is stupid. Surprised that nobody caught that.

Quote:
3. If you highlight something and drag it out of its spot, what ever that is in your bottom right filling tile will replace it and cause problems. (not somuch a but but can be VERY confusing with layers when its in the middle layers.
Not sure what else it is supposed to do. I guess you should choose a fully transparent tile as default tile when working on upper layers. Incidentally, I suppose selecting non-opaque default tiles needs to clear the default tile display before drawing the new default tile on top.

Quote:
6. if you open a second level the previous levels layer will show the same no the next but its acutally 0. So you need to click it to change it and its back on track. Everytime you switch levels you need to do this.
I cannot actually reproduce this.

Edit: Oh, fry fixed it after the last release. Too bad.

Last edited by Loriel; 02-04-2010 at 09:35 PM..
Reply With Quote
  #8  
Old 02-04-2010, 07:04 AM
geneticfrog geneticfrog is offline
Registered User
Join Date: Aug 2005
Location: Canada N-B
Posts: 294
geneticfrog can only hope to improve
Send a message via AIM to geneticfrog Send a message via MSN to geneticfrog
Quote:
Originally Posted by Loriel View Post



I cannot actually reproduce this.

Lets say you have two levels open. Your first level is set to layer 0 and your second is set to layer 1.

In the second level if i copy a tile while im on layer 1, then i click the tab for the first level and paste. The layer will show 1 but its acutally pasting it on layer 0.
__________________
Jer ^__^
Reply With Quote
  #9  
Old 02-04-2010, 03:08 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
didnt care to read because of the hug images, but, i guess, great work!

would be great if the images could get cut off some, u dont need to show all of the screen, for example.
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
Reply With Quote
  #10  
Old 02-04-2010, 05:26 PM
geneticfrog geneticfrog is offline
Registered User
Join Date: Aug 2005
Location: Canada N-B
Posts: 294
geneticfrog can only hope to improve
Send a message via AIM to geneticfrog Send a message via MSN to geneticfrog
Quote:
Originally Posted by Deas_Voice View Post
didnt care to read because of the hug images, but, i guess, great work!

would be great if the images could get cut off some, u dont need to show all of the screen, for example.
what if i want you or who ever to see the whole images?

is really not that bad :P, all you have to do is scroll down like once or twice more. Plus it saves you from clicking!
__________________
Jer ^__^

Last edited by geneticfrog; 02-04-2010 at 06:23 PM..
Reply With Quote
  #11  
Old 02-04-2010, 06:29 PM
geneticfrog geneticfrog is offline
Registered User
Join Date: Aug 2005
Location: Canada N-B
Posts: 294
geneticfrog can only hope to improve
Send a message via AIM to geneticfrog Send a message via MSN to geneticfrog
I also noticed I circled the trees as layer 2 but they are acutally layer 3.

You can do them on the same layer as the tall border grass if you just put the linking tile on layer 1 so it shows under the tree.
__________________
Jer ^__^
Reply With Quote
  #12  
Old 02-04-2010, 07:26 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
Should be pointed out that Stefan has said he's fixed most (if not all) tilelayer related errors in his version of v6, he's been going off and on Maloria quite a while to debug it.
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote
  #13  
Old 02-05-2010, 12:04 AM
superzx14 superzx14 is offline
Der Kapitän
superzx14's Avatar
Join Date: Sep 2006
Location: Canada, Quebec
Posts: 17
superzx14 is on a distinguished road
Send a message via AIM to superzx14 Send a message via MSN to superzx14
Nice tutorial jer. You should make a video of this tutorial.
Reply With Quote
  #14  
Old 02-06-2010, 02:40 AM
Engine Engine is offline
Registered User
Join Date: Jan 2010
Posts: 70
Engine is on a distinguished road
I'd like to see how to add opacity to a tile like dusty did with the shadows in his tileset. Could someone please explain that too.
Reply With Quote
  #15  
Old 02-06-2010, 02:45 AM
Immolate Immolate is offline
Indigo
Join Date: Dec 2009
Posts: 322
Immolate is on a distinguished road
Quote:
Originally Posted by Engine View Post
I'd like to see how to add opacity to a tile like dusty did with the shadows in his tileset. Could someone please explain that too.
More of a Photoshop/Paint.NET/GIMP technique than Gonstruct and I'm sure there are MILLIONS of tutorials which tell you how to change the opacity of a layer, fill bucket or paintbrush/pencil. This can't be done in paint.
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 10:22 AM.


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