Jump to content
  • entries
    430
  • comments
    1,870
  • views
    662,819

Colony 7 particles under control!


Guest

393 views

Hi there!

 

Yay! I somehow managed to find some time to work on this again! :D

 

This update implements a large chunk of the particle code. There's still several small tweaks to be done sometime later, but all particles are now able to *perform* their main tasks:

 

The game can handle 6 particles. 2 are reserved for the "Own Fire Trails" effect and the other 4 for enemy fire.

 

Right now the Trails effect is pretty much completed, just press fire to see it. (Move the crosshair while firing for the full effect.)

 

Funny sidenote here: After I was completely done with this code, I slept a night over it and completely rewrote it the other day, using 4 bytes RAM less - requiring less ROM at the same time! :-o

 

Another part of the code that's done now, is the playfield destruction code. I'm extremely pleased with it, since it not only looks and feels totally smoothly, but I also think the code is very elegant.

 

I already had some playfield destruction code in Gunfight, on which I generally based this part, but I think what I have now is even better.

 

Look at this small snippet dealing with the horizontal part of the hit. Not only does it advance Y to index the right PF byte (out of 6 possible) it also already generates the correct table index for the erasing bitmask in A while its at it:

 

   LDA particlex1+1,X
   CLC
   ADC #12
   LSR
   LSR
RightHalf
   CMP #8
   BMI EORTHis
   INY
   SEC
   SBC #8
   CMP #8
   BMI UseAsIs
   INY
   SEC
   SBC #8
   CMP #8
   BMI EORTHis
   INY
   SEC
   SBC #4
   JMP RightHalf

EORTHis
   EOR #$07  ; reverse PF bitorder!
UseAsIs

 

Ok, enough bla... attached are binary and source code.

 

Next milestone are Nathans sprites in action! Yeeha! ;)

 

Greetings,

Manuel

5 Comments


Recommended Comments

The graphics are impressive, Manuel. If this had come out in 1982, people would have been skeptical that it was an Atari 2600 game. They would have figured Intellivison or something.

Link to comment

Hi there!

 

The graphics are impressive, Manuel. If this had come out in 1982, people would have been skeptical that it was an Atari 2600 game. They would have figured Intellivison or something.

 

Thanks! Just wait until Nathans sprites are there, it'll look even better then! :)

 

I think that'll be one of the last 4K versions then though. I have the space for the sprites reserved, but otherwise I'm already down to the last page for code space.

 

I bet the Intellivision could also do an impressive version of Colony 7. Only auto-fire would be definitive must there :)

 

Greetings,

Manuel

Link to comment

Hi Manuel,

 

a quick question: when the buildings get hit by enemy fire, will there be massive explosions :) (please please please) or will they just disappear?

 

Also: this looks very nice! I like it a bunch. :) Glad you're still working on it.

Link to comment

Hi there!

 

a quick question: when the buildings get hit by enemy fire, will there be massive explosions :) (please please please) or will they just disappear?

 

Explosions of course! :)

 

(The colors at the bottom are fixed, but all sprites are read from pointers, so it'll probably rather look like crumbling or disintegrating than real explosions. Hm... explosive SFX should help it though :))

 

Also: this looks very nice!  I like it a bunch. :)  Glad you're still working on it.

 

Thanks! I hope to get updates done every 1-2 weeks now, even if it's only Babysteps :)

 

Greetings,

Manuel

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...