Since im fairly new to triggering in galaxy editor, I was wondering if someone could take a look at the Triggers on my map. I want to know if theres anyway I can speed up the Generation of terrain? Could someone who has more of a programming brain, Teach me the best way to turn my current triggers into functions (So that I can generate terrain Based off of region size, Without coding it for each region.) Im still not sure how the functions get set up (I understand some other programing languages but ive never been very good at working with functions, I usually just tweak with stuff till it works the way I want it to. Which ends up being slow/Inconvenient).
I know this is a bit much to be asking and I should probably figure it out myself.
If the above isn't really convenient could someone give me an example of creating a function that can be called in gui, using gui. That way I can at the very least attempt to convert what I have so far into Functions.
Also Im having an issue with one other thing, I think i know how to fix it, but i will ask anyway just for suggestions.
Currently when it generates a dungeon it doesnt take very long (although its only generating rooms curently) However I am having shadowing issues (It has a partial shadow of a ledge being where its not anymore (take a look at the map and generate terrain for example).
To Generate Terrain in my map type 3 things
-debug camera (gives overhead view of top left corner of map)
-debug generate (runs Triggers that generate dungeon in under 30 seconds (Only rooms currently)
-debug reset (Wipes the Generated terrain so it can be generated over again)
You will have to run all 3 to see my problem Most likely (well theres 2 problems when it generates terrain it leaves little black shadows at each of the corners I can probably fix this easily, My other problem is after running reset It leaves black lines where the terrain was deformed)
You must login to post a comment. Don't have an account? Register to get one!