Jump to content

Photo

sprite width help

8 pixels width nusiz0

2 replies to this topic

#1 Trip2018 OFFLINE  

Trip2018

    Star Raider

  • 53 posts
  • young nerd
  • Location:nebraska

Posted Fri Jan 12, 2018 4:59 PM

Hey, I know bB can only generate sprites only 8 pixels wide, but im working on a game that reqires a slightly wider level of detail. True I could shrink the width down to 8 pixels then use NUSIZ0, but it looks awful that way does anyone know of a kernel. Thanks.



#2 SpiceWare ONLINE  

SpiceWare

    Draconian

  • 12,128 posts
  • Medieval Mayhem
  • Location:Planet Houston

Posted Fri Jan 12, 2018 5:13 PM

The player width is a limitation of the hardware, not bB.    

 

A couple options are:

  • use both players to create a 16 pixel image, then use flicker to draw additional objects onscreen
  • put the missile next to the player for 9 pixels, though I don't know if that's useful in bB (might need assembly for that)

An advanced assembly technique is to use line-by-line shifting on a 2x or 4x player (see examples in reply #16).



#3 Trip2018 OFFLINE  

Trip2018

    Star Raider

  • Topic Starter
  • 53 posts
  • young nerd
  • Location:nebraska

Posted Fri Jan 12, 2018 8:30 PM

Dang, that's to bad. So then your saying that those 16 to 32 pixel wide sprites are just vectorized NUSIZX sprites?

 

EDIT: I used your 2x sprite converter but I am having trouble adding it into my bb code. I tried using the asm, inline, include commands and got nowhere. Can you help? I have no assembly expierience.


Edited by Trip2018, Tue Jan 16, 2018 8:07 AM.






Also tagged with one or more of these keywords: 8 pixels, width, nusiz0

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users