dadecoza
-
Content Count
6 -
Joined
-
Last visited
Posts posted by dadecoza
-
-
-
This is my first little batari game to familiar myself with basic programming for the Atari 2600.
The game is based on Blitz for the ZX Spectrum. It is one of the games I remember from my childhood. It is similar to Canyon Bomber for the 2600.
The game were also called City Bomber and City Lander on other platforms.
From https://en.wikipedia.org/wiki/Blitz_(video_game)...
A plane moves across the screen at a steady speed. When the plane reaches the end of the screen it moves to the other side and drops down one line, with the speed increasing each time the plane drops a line. Below is a cityscape composed of blocks. The player has to drop bombs from a plane, and each bomb which hits a building removes one or more blocks. As the plane descends it risks hitting any remaining blocks so priority has to be given to bombing the tallest "buildings". The level is completed when all blocks are removed and the plane has descended safely to the bottom of the screen.Most of this game is copy paste from Random Terrains awesome tutorials. (I'm pretty sure he will not approve of all the gosubs)
The game is only 2k as that is the only size eproms I currently have handy.
The one thing I was unable to do were to make each building a different colour. If someone have a cool trick of accomplishing that it would be appreciated.

Attached is the bin and bas.
-
2
-
-
Nice work! Are you willing to share the .bas? I'm interested to see how you did the title screen.
-
Found one of Random Terrains examples ...
http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#sprite_missile_example
x = (missile0x-18)/4 : y = (missile0y)/8
if collision(playfield,missile0) then pfpixel x y off : missile0y = 0 : score = score + 10I should have figured that out by myself.

-
Hi Guys!
I'm a bit of a n00b and require a little help.
if collision(playfield, missile0) then pfpixel x y off : missile0y = 0 : score = score + 10
I want to hide the pfpixel where the missile hit how do I calculate x and y if I only have the coordinates of the missile?
or are there a nice elegant solution?
Thanks!

EPROM Emulator
in Atari 2600 Programming
Posted
I have done a similar project using an Arduino UNO to dump ROM files from SD card to an 8k static RAM ... a very cheap option if you are only interested in 2k and 4k games. (possibly 8k with the pixels past 8k pcb with GAL).
https://github.com/dadecoza/atari2600-arduino-cart