This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; | |
| ; ----------------------------------------------------------------------------------- | |
| ; | Program: SAM Coupe Sprites Tutorial 8 - Part 3: Sideways Jumps | | |
| ; | Filename: blog6\8-3.asm | | |
| ; | Based on: Tutorial 8 part 2 (blog6\8-2.asm) | | |
| ; ----------------------------------------------------------------------------------- | |
| ; | |
| ; The same keyboard controls Dizzy as before. Keys 1 to 5 change palette entry 0, | |
| ; which is the colour of the whole background. | |
| ; Space rolls. Hold Z or X to walk left or right. Hold Z or X and press Space |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; | |
| ; ----------------------------------------------------------------------------------- | |
| ; | Program: SAM Coupe Sprites Tutorial 8 - Part 2: Changing Colours | | |
| ; | Filename: blog6\8-2.asm | | |
| ; | Based on: Tutorial 8 part 1 (blog6\8-1.asm) | | |
| ; ----------------------------------------------------------------------------------- | |
| ; | |
| ; The same keyboard controls Dizzy as before. Keys 1 to 5 change palette entry 0, | |
| ; which is the colour of the whole background. | |
| ; Space plays the jump once. Hold Z to walk left, or X to walk right. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; | |
| ; ----------------------------------------------------------------------------------- | |
| ; | Program: SAM Coupe Sprites Tutorial 8 - Part 1: A Colour Palette | | |
| ; | Filename: blog6\8-1.asm | | |
| ; | Based on: Tutorial 7 part 3 (blog5\7-3.asm) | | |
| ; ----------------------------------------------------------------------------------- | |
| ; | |
| ; The same keyboard controlled Dizzy as before, but now we set our own colour palette. | |
| ; Space plays the jump once. Hold Z to walk left, or X to walk right. | |
| ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; | |
| ; ----------------------------------------------------------------------------------- | |
| ; | Program: SAM Coupe Sprites Tutorial 7 - Part 3: Walking | | |
| ; | Filename: blog5\7-3.asm | | |
| ; | Based on: Tutorial 7 part 2 (blog5\7-2.asm) | | |
| ; ----------------------------------------------------------------------------------- | |
| ; | |
| ; Space plays the jump once. Hold Z to walk left, or X to walk right. Dizzy idles | |
| ; when nothing is held. Reset to stop the demo. | |
| ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; | |
| ; ----------------------------------------------------------------------------------- | |
| ; | Program: SAM Coupe Sprites Tutorial 7 - Part 2: Space to Jump | | |
| ; | Filename: blog5\7-2.asm | | |
| ; | Based on: Tutorial 7 part 1 (blog5\7-1.asm) | | |
| ; ----------------------------------------------------------------------------------- | |
| ; | |
| ; The jump now only plays when Space is pressed. Instead of asking the ROM for a key | |
| ; we read the keyboard port directly, which prepares us for holding keys in Part 3. | |
| ; Reset to stop the demo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; | |
| ; ----------------------------------------------------------------------------------- | |
| ; | Program: SAM Coupe Sprites Tutorial 7 - Part 1: Keyboard Control | | |
| ; | Filename: blog5\7-1.asm | | |
| ; | Based on: Tutorial 6 part 4 (blog4\6-4.asm) | | |
| ; ----------------------------------------------------------------------------------- | |
| ; | |
| ; The flicker-free animation from Tutorial 6 now reacts to the keyboard. Press any | |
| ; key to play the jump sequence once; Dizzy then returns to the idle sequence. | |
| ; The keyboard is read straight from port 0xFE. Reset to stop the demo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; | |
| ; ----------------------------------------------------------------------------------- | |
| ; | Program: SAM Coupe Sprites Tutorial 6 - Part 4: Flicker-Free Animation | | |
| ; | Filename: blog4\6-4.asm | | |
| ; | Based on: Tutorial 6 part 3 (blog4\6-3.asm) | | |
| ; ----------------------------------------------------------------------------------- | |
| ; | |
| ; Part 3 draws straight onto the screen being displayed, so you can catch Dizzy | |
| ; half-drawn. Here each frame is drawn on a hidden screen page, and the pages are | |
| ; swapped at the next frame interrupt. Reset to stop the demo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; | |
| ; ----------------------------------------------------------------------------------- | |
| ; | Program: SAM Coupe Sprites Tutorial 6 - Part 3: Animation Tables | | |
| ; | Filename: blog4\6-3.asm | | |
| ; | Based on: Tutorial 6 part 2 (blog4\6-2.asm) | | |
| ; ----------------------------------------------------------------------------------- | |
| ; | |
| ; Part 2 toggled between two frames with a compare. Here the frame addresses are held | |
| ; in a table, and the program steps through all nine frames in the external file | |
| ; blog4\dizzy_system_interleaved.asm. Reset to stop the demo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; | |
| ; ----------------------------------------------------------------------------------- | |
| ; | Program: SAM Coupe Sprites Tutorial 6 - Part 2: An External Sprite File | | |
| ; | Filename: blog4\6-2.asm | | |
| ; | Based on: Tutorial 6 part 1 (blog4\6-1.asm) | | |
| ; ----------------------------------------------------------------------------------- | |
| ; | |
| ; Part 1 stored both frames inside the program. Here the frames live in the external | |
| ; file blog4\dizzy_system_interleaved.asm, which is generated by the Sprite Editor. | |
| ; The code is the same as Part 1, apart from the frame labels. We still alternate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; | |
| ; ----------------------------------------------------------------------------------- | |
| ; | Program: SAM Coupe Sprites Tutorial 6 - Animating Two Frames | | |
| ; | Filename: blog4\6-1.asm | | |
| ; ----------------------------------------------------------------------------------- | |
| ; | |
| ; Tutorial 5 draws one interleaved mask/pixel sprite. This version keeps that setup | |
| ; and the same Draw_Sprite routine, then alternates between two Dizzy frames. | |
| ; Both frames use the system palette, so no palette setup is needed. | |
| ; The animation runs forever; reset the machine to stop it. |
NewerOlder