How to Create Your Own C64 Platform Game: "The Runner"

  Рет қаралды 683

agpxnet

agpxnet

6 ай бұрын

This video explains how to implements the logic of a platform game, including collision detection and response of the sprites with the background. In the video, the implementation of the mini-game "The Runner" will be explained in details. Full source code and binary (.prg) provided. (English version).
#commodore64 #platform #programming #videogames #collisions #tutorial #retrocomputing
If you liked the video and want to see more, please press "like" button, share and subscribe! Thank you!
Source code and binary link: drive.google.com/file/d/1_sc3...
Source code can be compiled with XC=BASIC 3: xc-basic.net/doku.php?id=v3:s...
Previous related video on Sprite-Background collision detection (you can see a demo of "The Runner" at the end of it): • Sprite-Background coll...
Italian version: • Come Creare Un Videogi...
Voices generated via TTS from the site: ttsfree.com/text-to-speech
Errata corrige: An arrow is missing from the Falling state to the Running state in the state machine.

Пікірлер: 7
@kraftwerk974
@kraftwerk974 Ай бұрын
Great tutorial. Now I need to convert something similar to 6510 assembly 😑
@Chick2Disk
@Chick2Disk 5 ай бұрын
This is a series of great videos! Thanks for the effort you put!
@agpxnet
@agpxnet 5 ай бұрын
If you find them useful, please share these videos so I can make more. Thank you.
@Chick2Disk
@Chick2Disk 5 ай бұрын
​@@agpxnetDone😊
@ArneChristianRosenfeldt
@ArneChristianRosenfeldt 5 ай бұрын
RLE Leads to this distribution of lengths. Either let the compressor find out max length and number of bits needed or add a Huffman coder. Maybe even length 0 can be included and very long spans are coded repeatedly? Can of worms.
@agpxnet
@agpxnet 5 ай бұрын
Yes, I definitely need a better compression scheme and Huffman is the natural choice. I used RLE just because it's very simple to implement and the decompression is very fast.
@ArneChristianRosenfeldt
@ArneChristianRosenfeldt 5 ай бұрын
@@agpxnet yeah and it works. I just mean that RLE has a natural choice for length and that is 8 bits. But that feels so arbitrary. It sure works great for platforms! Windows bitmap format offers RLE, but nobody seems to use it. All I know is gif and jpeg.. I think that jpeg uses RLE with Huffman. Huffman has this connection to entropy coding / arithmetic coding and Shannon information theory. Would be interesting to see an arithmetic codec on a C64. Maybe a background task to complete level loading?
Rilevamento collisioni Sprite-Fondale
6:13
agpxnet
Рет қаралды 464
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 27 МЛН
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 26 МЛН
Low Cost Motion Capturing System
1:21
HuCE - cpvrLab
Рет қаралды 23 М.
Sprite-Background collision detection
6:13
agpxnet
Рет қаралды 1,4 М.
Intermediate SQL -  Filtering grouped data
3:07
Code Path
Рет қаралды 19
Nand2Tetris: Hack Assembly and Machine Programming
2:42
Smooth Scrolling Orizzontale Bidirezionale
4:32
agpxnet
Рет қаралды 320
Decorator Design Pattern: Easy Guide for Beginners
3:54
C64 Sprite Multiplexing (IT)
12:34
agpxnet
Рет қаралды 1,1 М.
Composite Design Pattern: Easy Guide For Beginners
3:16
Smooth Scrolling Verticale
9:27
agpxnet
Рет қаралды 858
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 5 МЛН
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 27 МЛН
Красиво, но телефон жаль
0:32
Бесполезные Новости
Рет қаралды 1,5 МЛН