Day 204

Time: 23:56

Commit

Pretty strong animation and sound effect combo. I am proud of my use of frame counting. There’s an even better way I can think of to do the chug sound, but I will leave that alone for now.

Tomorrow, I will plan out how to make my day commits playable. (Again.)

Advertisement
Day 204

Day 203

Time: 43:05

Commit

Found a simplification.

The code originally stored boxcar locations on two independent axes (x and y). This is too complicated and was causing bugs as I introduced acceleration and speed.

I was able to greatly simplify when I realized the train track is essentially a number line wrapped into a circle. I can store a car’s location with a single number on this line and then later “unwrap” the location based on where along the track it is.

This made for very clean code that leaves no room for bugs. The location is a single value, not some arbitrary pixel location.

Next: I want to look into making the “chug” sound match frequency with the train’s speed.

Day 203

Day 202

Time: 35:01

Added an accelerate/decelerate effect to the train. It accelerates once every 10 frames. I’ve heard about counting frames from speedrunners and fighting game players, but now I truly know what that means 🙂

I’ll sync sound and make acceleration more incremental tomorrow.

Sidenote: Had some blog presentation improvement ideas today.

  1. Visual representation of my projects on a calendar.
  2. A counter of what day I am on.
Day 202

Day 195

Coughing up my lungs and feeling a bit of a headache, but if I can post at a time like this, then I can do it much more often than I am now. Let’s set that precedent.

Time: 38:34

Commit

Never try to learn something on your own from the get-go. That’s like learning how to box by watching highlight reels of boxing. It is much more efficient taught from master to student.

You learn so much faster if someone can point out the next thing you are misunderstanding.

The picozines are my game dev teacher right now. Working through the Toy Train example, which is graphically intense. Will continue parsing tomorrow.

Day 195

Day 194

Time: 26:28

Commit

Made a little sample song today.

There’s quite a bit of music capability in here. You can assemble notes in the SFX editor with control for volume and tone, and then when you are done with your pattern, you can organize them into patterns and make music.

Plans:
-Make my sample games quickly playable through a link
-Continue through tutorials

Day 194