Jump to content
Sign in to follow this  
Gemintronic

Playfield based "sprite" demonstration

Recommended Posts

This code is not commented so I can't say it's an "example". It does demonstrate a playfield based sprite is possible. Unfortunately, no_blank_lines doesn't work AT ALL with pfheights :(

 

The vertical line above and below the sprite is just a marker to help illustrate what is going on.

 

Note this is a horrible kludge since pfheights are hard-wired in. I use an on-goto statement that leaps to 32 different labels. Each label (A-Z 0-5) is a vertical position for the "sprite".

 

WHY WOULD YOU DO THIS?

* Make a sprite without using player0 or player1

 

DRAWBACKS:

* Forces you to use pfheights

* Can't use the playfield as, er, a playfield

* Playfield sprites are wider than traditional sprites.

pfsprite.bas

pfsprite.bin

  • Like 1

Share this post


Link to post
Share on other sites

The vertical line above and below the sprite is just a marker to help illustrate what is going on.

Nope, I don't like that explanation. As I was moving the sprite up and down that vertical line wondering "What the heck is this?!?" it suddenly hit me. You've created the 2600's first exotic pole dancer! :-D

  • Like 2

Share this post


Link to post
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.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...