Log In  

bo
by dw817
Cart #bo-0 | 2020-01-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

TO LOAD THIS CART in Pico-8, in immediate mode type:

load #bo

BOMBER for the Apple ][ computer has always been one of my favorite quick-shot 6502-assembly machine-language games, and at 32k it was a marvel for what it did.

Using no BASIC code at all, neither Floating Point nor Integer and purely in machine-language it had a jet come from the right-hand side of the screen to soar to the left while a tank below plodded from left to right.

Your mission: to bomb the tank. But it wouldn't be easy. While the initial tank that appeared followed a fairly steady course, the ones to follow were tricky to hit as they sometimes even went in reverse.

To make it more difficult the bomb you dropped followed a slow but steady curve. It was up to you to determine the best way to hit the tank by dropping your bombs on it.

And while you were granted an unlimited number of bombs to drop, you only had 60-seconds in which to do so.

Bomber is my entry in this week's Applecart. You can find more information about this weekly event HERE.

Please enjoy BOMBER, one of the great games from the history of the Apple ][ computer - and especially feel free to read the source-code which is chock full of helpful remarks including how the particle explosion is done. Thanks !

P#71883 2020-01-12 22:02 ( Edited 2020-01-12 22:03)

Ahh nice! That answers my question which I just posted in your other thread :D crazy that it was coded in assembly :O

14 bombs in 120 seconds hitting 6 tanks
First 4 where first shot hits :D guess that is the best I can do^^

P#71886 2020-01-12 22:14 ( Edited 2020-01-12 22:18)

That's pretty darned good at that, @Yesyoor ! Next time press F6 to save a screenshot and post your results as a picture.

I'd be curious to see other people see if they can get a better score than that.

Can I count on your participation for this week's Applecart coding challenge ?

P#71887 2020-01-12 23:54

Oh there is a Challenge going on? This month unfortunately I am extremly short on time. In february and march I will have a lot of spare time, but I will see what I can do this week :D

P#71891 2020-01-13 02:10

Well hopefully, @Yesyoor ... and if I hadn't mentioned this I should. Anyone can work on any of the Apple carts even if that week has passed. That includes Saucer Attack, Saucer Invasion, Bomber, and of course the one for this week, Star Wars.

Post the cart and I'll find it and include your cart and a link to your page for every submit entered.

Thanks !

P#71905 2020-01-13 17:24

Apple II revival game festival is on LOL nice one. Lokks like my GORG (Gorgon Apple II game) sorta remake inspired someone! :)

P#71932 2020-01-14 15:28

Anything is possible, @BGelais. Mostly I got back into Apple because I started remembering and playing again 3-different games:

Odyssey: The Compleat Apventure
(spelled correctly)

This game:


Morloc's Tower

and lastly GOLD RUSH.

To you Pico-8 Apple coders out there, no worries. I'm not going to choose these as projects as they are clearly considerably more complex and advanced than our current challenges.

P#71937 2020-01-14 17:24 ( Edited 2020-01-14 17:25)

Great stuff as always. I like how much spread your explosions have on the X-axis. In my version, I chose a narrow upward angle which, now that I've seen yours, isn't nearly as satisfying. ;-)

P#71950 2020-01-14 21:28

Well now @Nosnibor28 if you want to on this new one due 01-19-20 you can take those tie-fighters and have them explode outward by pixels. You don't have to follow the Apple cart exactly and I do encourage creativity and enhancement.

P#71951 2020-01-14 22:37
1

@dw817

btw, Apple II trio, lets share ya my code snippet for Apple II text functions.

function _draw()
cls()
iprint("inverse",5,5)
fprint("flash",5,7)
nprint("normal",5,9)
nprint("apple ][",10,0) 
end

function iprint(_str,_x,_y)
l=#_str*4
rectfill(_x*4,_y*6,_x*4+l,_y*6+5,7)
print(_str,_x*4,_y*6,0)
end

function fprint(_str,_x,_y)
l=#_str*4
print(_str,_x*4,_y*6,7) 
    if (time()%.5>.2) then
        rectfill(_x*4,_y*6,_x*4+l,_y*6+5,7)
        print(_str,_x*4,_y*6,0)
    end
end

function nprint(_str,_x,_y)
print(_str,_x*4,_y*6,7)
end
P#72519 2020-01-31 17:40

Quite lovely, @BGelais !

Here it is with edges:

function _draw()
cls()
iprint("inverse",5,5)
fprint("flash",5,7)
nprint("normal",5,9)
nprint("apple ][",10,0) 
end

function iprint(_str,_x,_y)
l=#_str*4
rectfill(_x*4-1,_y*6-1,_x*4+l,_y*6+5,7)
print(_str,_x*4,_y*6,0)
end

function fprint(_str,_x,_y)
l=#_str*4
print(_str,_x*4,_y*6,7) 
    if (time()%.5>.2) then
        rectfill(_x*4-1,_y*6-1,_x*4+l,_y*6+5,7)
        print(_str,_x*4,_y*6,0)
    end
end

function nprint(_str,_x,_y)
print(_str,_x*4,_y*6,7)
end

Now how about that LORES ? :)

cls()
for i=0,39 do
  for j=0,39 do
    rectfill(4+j*3,4+i*2,4+j*3+2,4+i*2+1,j+i)
  end
  flip()
end
for i=1,4 do
  print("line #"..i,0,84+i*8,7)
end
repeat
  flip()
until btn()>0
P#72520 2020-01-31 19:42 ( Edited 2020-01-31 21:36)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 18:02:37 | 0.054s | Q:33