EN_US
<< October 2019 >>

 
 
 
 
 
 
1

2
3
4
5
6
7
8

9
10
11
12
13
14
15

16
17
18
19
20
21
22

23
24
25
26
27
28
29

30
31
 
 
 
 
 
Recent Entries:

11/06/24 ( 20:37:42 )
Itch.io Onslaught

28/06/21 ( 02:59:30 )
The Finish Line!

03/11/20 ( 20:38:58 )
Rest in Peace, Flash!

22/10/19 ( 09:18:01 ) - Taking a breather - done #coding

I have been in a ditch, emotionally.

But it seems since this week I am past that. I have briefly dipped into therapy and realized that everything is fine, should be fine. I just needed a break, and I had that. Everything is great.

So much so that I estimate having something resembling an actual working game this week. From literally nothing working for so many reasons, I transitioned to a working road manager and properly spawning mobs that follow the path and align themselves according to it.

This was a big issue so far, no matter what I did, the game just did not want to start when I selected a map.

So what I forgot is that back in the day, the flash system was frame-based. One frame had the map selection, the NEXT FRAME had all the game management assets. This now hast to be done by >spawning< a new GameManager [which SAT on the next frame in the original game, and now obviously did not exist in the beginning].

Also there were some hickups with attacker placement, specifically array initialization. The waypoint array was empty and that caused issues, obviously - so I spent several hours debugging why there "were no attackers" when the reality was, they were spawned and instantly "reached the goal" because the waypoint array was empty and on spawning the creeps were at the goal, mathematically. Great :D

As soon as that was solved I finally saw the creeps run along the demo path, everything fell into place.

I will show a video later this week when the turrets are operational which is so far not the case. It looks bad having a turret sit there and it totally ignoring the creeps running past it. More debugging to do, but I am energized and I can see the progress I have been working on for a year now. It feels great :)

Thanks to my friends and my wife, I could rest and recharge my batteries in these last months :)

Stay awesome!

Yours Chris