00:00
00:00
MSGhero
Free time is nice time.

Nick @MSGhero

Age 30, Male

Somewhere in the North

Joined on 12/15/10

Level:
17
Exp Points:
2,848 / 3,210
Exp Rank:
19,904
Vote Power:
5.85 votes
Rank:
Police Sergeant
Global Rank:
6,518
Blams:
456
Saves:
937
B/P Bonus:
12%
Whistle:
Normal
Trophies:
6
Medals:
661
Supporter:
11y 5m 6d
Gear:
3

Midnight Musings #3

Posted by MSGhero - September 18th, 2013


I really don't want to go to sleep right now.

I started an as3 tutorial to fill the time when I don't have anything fun to code. The idea itself is pretty creative, using the github commits log and revision history to act as a step-by-step tutorial. Not sure where the project will go or how complicated it will be, but it might be useful to someone. And if it means answering less of the same damn questions in flash forum, then it will be worth it for us all.

While coding Juggernaut 2, I realized something important. I was coding with speed in mind, trying to optimize things and avoid slower but nifty features. And then I profiled the game. For those uninitiated in Scout, this shows that the game uses about 20% of the maximum allowable time to maintain 30 frames per second. But then I zoomed in and realized that the game itself uses 20% of that 20%, the rest is flash sitting around waiting for something to happen. The active bits of the game use 4% of the maximum, and I was trying to optimize shit? That's basically nothing. That IS nothing. I can do whatever I want, and that graph will hardly move. Even if the game suddenly started using 15 times more active frame time, it would still run smoothly. So those nifty and fancy but slow features? Doesn't even matter, I'm adding them in. And they are lovely.

Fighting games are weird. Since they're entirely dependent on animations and hitbox regions, it's kinda awkward to code since I can't do much until I have most of the art and hitbox data per frame. And combo systems are weird too, like, are you supposed to show the player shuffling around and cancelling half-played animations while he types out your combo?

Uni is going ok. This semester is pretty boring, though. I'm taking two required classes that have little to do with my major, and they're both lab classes, aka time sinks. Then a probability and stats class (I hate probability), a calculus-based applied science class (I love calculus and applied science) with lots of algebra (I hate algebra), and a computing class that uses MATLAB and Taylor series (my two least favorite things that involve math). So yeah, not very interesting or fun.

To the two or three people reading this, follow me on twitter for more frequent bitching. But you probably already are. Three people...man I really need to get front-page privilege...project manager for a daily 5th doesn't mean what it used to mean (if it ever meant anything).

...The things I do instead of adding buttons to a menu like I'm supposed to be doing. Booooooooring.

Midnight Musings #3


Comments

Oh boy im gonna learn from the tutorial you made!

Let me know any suggestions or questions you have (besides "finish it already").