Jump to content
IGNORED

New Batari one-line sprite Kernel / demo


Darthtom

Recommended Posts

HI Guys,

 

I just wrote an new one-line kernel for Batari Basic . Playfield could have any height, sprite is one-line resolution. Up to 4 sprites possible via flicker.

Any suggest please.

 

I attached a demo game ( Le Mans - start of the c64 game clone)

 

Have a nice day

 

Tom from Berlin

 

 

 

lemans.bas.bin

lemans.bas.png

Edited by Darthtom
  • Like 2
Link to comment
Share on other sites

2 hours ago, Karl G said:

Pretty cool stuff. I'm guessing the playfield is in ROM? Is it a mirrored / repeated playfield instead of asymmetrical? Are you planning on releasing the supporting code for others to use as well?

Yes , I will post the source code tommorrow, in case you can live without ball /missile0 , P0 could me multicolored- in 1 line res

The playfield ist mirrored or repeated in rom , yes of course, there is no available ram . You can use PF1 + PF2 , also PFO in case you don't need ball / multicolored support

 

 

Link to comment
Share on other sites

2 minutes ago, Darthtom said:

Yes , I will post the source code tommorrow, in case you can live without ball /missile0 , P0 could me multicolored- in 1 line res

The playfield ist mirrored or repeated in rom , yes of course, there is no available ram . You can use PF1 + PF2 , also PFO in case you don't need ball / multicolored support

 

 

asymetrical playfield is nearly impossible in a 1 -line kernel without DPC + etc. 

 

Link to comment
Share on other sites

i flickered p0 and p1 == 4 sprites 

the flicker is done with 30hz , that don't hurt your eyes too much

collision with p0/p1 with playfield works, collision through sprites not, you have to check the borders ( it is shown in my demo game Le Mans)

the ball is also flickered --> ball1 + ball2 and could have independent positions on x/y

also you could tweak the nusiz registers during run time --> for resize or double / triple sprites 

 

 

lemans.bas.bin

Edited by Darthtom
new version
  • Like 2
Link to comment
Share on other sites

 

On 1/30/2021 at 7:11 PM, Darthtom said:

 

1-line sprite kernel with batari basic. 

Playfield PF1 and PF2 also with 1-line res.

You can choose of different modi 

Modus 0  Add two flickered balls, at any height

Modus 1 : add multicolor sprite support for p0 and flickered p0 

Modus 2: colored playfield

Modus 3: colored background

Modus 4: add PF0 support 

the sprites must be all in the same height , it is done with sprite masking to reduce the cycles 

Greetings Tom

 

On 1/30/2021 at 7:11 PM, Darthtom said:

 

lemans.bas.bin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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...