Making Music

In my last article, I wrote on making a song, here, we are going to place that song in a tracker for usage in a game. Be aware that there is not a quick simple way to take the MIDI and place it in the tracker, you will have to spend time transcribing each note into the tracker. Furthermore, each tracker has its own file format that are not compatible with one another. So be prepared to spend a lot of time transcribing to each tracker and testing them out.
Continue reading “Making Music”

High score entry

9-16-2018
Once we have determined that a high score has been achieved, we need a way to enter in the initials of the player so that they can be proudly be displayed next to the score. The following function allows you to accomplish this.

First of all, here’s our code.
Continue reading “High score entry”

Insertion Sort

8-20-2018
A sorting method is required for almost every high score routine. Once we determine that player’s score.

For my game, I chose the Insertion sort. While not the quickest type of sort, it’s still pretty efficient, does not take up additional memory and it’s fairly small and short making it memory friendly. It is also non-recursive which also makes it memory friendly, as it won’t fill up the stack. I personally love the simplicity of the insertion sort routine.
Continue reading “Insertion Sort”

High Scores, soaring even higher

8-1-2018
First, I want to thank Allen Albright and Antonio Villena for helping me understand the logic for the high score list.

Every arcade game needs a high score display, you just want to see how high you can go and beat the other players that play your game. It’s been a standard in all arcade machines since Space Invaders. The idea is rather simple. You have a list of scores and initials, you keep track of your players current score when the game is over you see if your last games score is larger than the lowest score on the table. If it is, give the player the ability to enter in their initials, store the initials and score in the table and display the results.

Continue reading “High Scores, soaring even higher”

Wipe Screen Follow-up

As with everything, the code can and should be improved for speed and size. As challenging it is sometimes for me to write the code, there s always room for improvement.

I was prompted to make the code more efficient by a reader to the blog to do this.
Continue reading “Wipe Screen Follow-up”

Wiping the Screen

7-21-2018
This is a pretty simple task, but I do want to do a quick write-up on it.

We do have occasions where we want to clear our screen, this task will come in handy for a few upcoming features that we will be using.
Continue reading “Wiping the Screen”

Fase and the tile color scheme

7-17-2018

The FASE engine is particular on the color scheme it must use for tile design. It must be exact colors.

To help out with this here is an uncompressed PNG of the colors that must be used with tile design. I hope you find this useful.

in RGB notation, these colors are

FASE Color scheme

Black R=0 G=0 B=0
Blue R=0 G=0 B=192
Bright Blue R=0 G=0 B=255
Red R=192 G=0 B=0
Bright Red R=255 G=0 B=0
Magenta R=192 G=0 B=192
Bright Magenta R=255 G=0 B=255
Green R=0 G=192 B=0
Bright Green R=0 G=255 B=0
Cyan R=0 G=192 B=192
Bright Cyan R=0 G=255 B=255
Yellow R=192 G=192 B=0
Bright Yellow R=255 G=255 B=0
White R=192 G=192 B=192
Bright White R=255 G=255 B=255

Take care and happy coding.

Using the Keyboard

First of all, I want to thank Antonio Villena (https://antoniovillena.es/ ) for his help, knowledge, and patience with me for the information in this article.

I struggled with the next part, for some reason I was not able to resolve in my head on keyboard usage. I had to employ the knowledge of Antonio Villena in order to get this sorted out.
Continue reading “Using the Keyboard”

Design a site like this with WordPress.com
Get started