Jump to content
IGNORED

How does one actually clone/copy the sprites?


ioi_xd

Recommended Posts

Say I wanted to make something like this:

9iWIPWl.png

(This is just an example, I'd probably do much more then just this.

How would I go about cloning an object and/or changing it's sprite before being cloned? I know this is possible through NUSIZ0 registers, but you don't have much control over where it's cloned, how big the gap is, or etc. How would one clone the sprites and control where it goes? I'm hoping to accomplish this through BASIC and not have to write Assembly code.

Edited by ioi_xd
Link to comment
Share on other sites

The multisprite kernel and DPC+ both have built in "time sharing" of the second real hardware sprite. The eee.bas code is manually re-positioning player1 every frame (that's why the non player sprites always flicker)

 

The nice thing about letting batariBASIC do the time sharing is that it's usually smart enough to know when to flicker and when not. Though on the multi sprite kernel i've seen edge cases where everything flickers.

Link to comment
Share on other sites

Gemintronic,

 

For the repositioning is it possible to have collision detection using a variable or temp with the ball. Using the eee example you shot one of them and then you have 3 left etc.

 

The other question would be possible to have plafield detection. I think this would be harder and use more variables.

 

The reason I ask is that then I could possibly port over the PacMan Eat N Run game from DPC to the Standard Kernel. I have strayed away from DPC until the AFP can support it. Thanks if you have an idea or someone else's does.

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