Knuckle Cracker

Creeper World 3 => Custom Map Discussion => Colonial Space Map Discussion => Topic started by: AutoPost on October 18, 2014, 09:42:15 AM

Title: Custom Map #1266: Twin Peaks Castle. By: warren
Post by: AutoPost on October 18, 2014, 09:42:15 AM
This topic is for discussion of map #1266: Twin Peaks Castle
(http://knucklecracker.com/creeperworld3/queryMaps.php?query=thumbnailid&id=1266)

Author: warren
Size: 128x128

Desc:
Final episode (4) of Battle Castle. Play ep. 1 first for instructions. In this episode, the series comes to a thrilling conclusion at a famous pass.
Title: Re: Custom Map #1266: Twin Peaks Castle. By: warren
Post by: warren on October 18, 2014, 09:46:42 AM
As the final episode, this one is very hard. If needed, some tips can be found on http://knucklecracker.com/forums/index.php?topic=17221.0 (http://knucklecracker.com/forums/index.php?topic=17221.0)
Title: Re: Custom Map #1266: Twin Peaks Castle. By: warren
Post by: ChaosMaster130 on October 20, 2014, 01:41:14 AM
OK Before anything else the map has one BIG problem.

The. LAG.

So yeah in less then 5 minutes I could tell that playing this map would be a massive slog. So I'm giving this map a thumbs down for now.

Sorry man   :(
Title: Re: Custom Map #1266: Twin Peaks Castle. By: warren
Post by: Richard333 on October 20, 2014, 03:30:54 AM
Quote from: ChaosMaster130 on October 20, 2014, 01:41:14 AM
OK Before anything else the map has one BIG problem.

The. LAG.

So yeah in less then 5 minutes I could tell that playing this map would be a massive slog. So I'm giving this map a thumbs down for now.

Sorry man   :(
Yeh the lag deals me in before the enemy units do at around 10 minutes at 1x speed after 3x then 2x.
Title: Re: Custom Map #1266: Twin Peaks Castle. By: warren
Post by: Tyler21 on March 09, 2015, 05:43:36 PM
Warren, your coding skills are amazing, although this was a pretty difficult map because of the lag.

I tried so do something with the lag in the editor (well, I just inserted some dynamic delay functions within movement and attack commands that increase the delay with the total unit count so as to improve performance) and this very primitive trick managed to improve performance a lot. I had almost no lag at around 2,000 units at x1 speed (the delay in the case of 2,000 units is about 1 sec for each unit).

However, because of these delays, the units are 'slower' (in game time terms, but not in real time). I think the speeds could be dynamically adjusted too so as to counterbalance the delays. But then the units would move too discontinuously...

Anyways, this castle series was the most impressive crpl work I have ever seen around here (except for the original CW of course :))
Title: Re: Custom Map #1266: Twin Peaks Castle. By: warren
Post by: warren on March 09, 2015, 06:46:41 PM
I already have a bunch of delays in the script (implemented with custom timers). They are located after a few if statements and before the performance heavy sections. This ensures that responsiveness takes less of a hit. Move should be far more expensive than attack. There are a couple other scripts running that could also be contributing to lag. In particular, the script that modifies how much creeper it takes to flow uphill. That one has a lag cost directly proportional to the map size. That is one reason there are no large maps in the series.
Title: Re: Custom Map #1266: Twin Peaks Castle. By: warren
Post by: tanminecraft2 on September 29, 2015, 09:33:56 AM
do you want to meet telanir? he is an amazing coder like you he created sleeper he's great
Title: Re: Custom Map #1266: Twin Peaks Castle. By: warren
Post by: warren on September 29, 2015, 11:56:47 PM
I am familiar with hir work, yes.