| |
PopMilo
Registered: Mar 2004 Posts: 146 |
Software sprites....
Does anybody have any expirience with software sprites?
Bobs?
In hires or char mode?
Games I susspect have something to do with software sprites:
Cybernoid for bullets...
Last ninja for masking main character (its not a software sprite, only hardware one masked, to show visibility...)
karnov
Astromarine corps
..,
What is record for these?
|
|
... 111 posts hidden. Click here to view all posts.... |
| |
Sasq
Registered: Apr 2004 Posts: 156 |
As far as I can tell noone has mentioned the classic trick for making really fast software sprites; converting the bitmap to machine code.
You basically RLE-pack your graphics into code that draws itself. It's faster than any other soloution but clipping is tricky.
EDIT:
... hmm but that is probably not so good on the 6502 since you need relative adressing for that to work... |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
code that draws itself? huh? :) |
| |
T.M.R Account closed
Registered: Dec 2001 Posts: 749 |
Yeah, fairly common on the Z80-based platforms - seen that called "compiled sprites" before now. |
| |
Radiant
Registered: Sep 2004 Posts: 639 |
@T.M.R: It's generally the way to go for software "blitting" on more modern platforms as well. Not on 6502 though. |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
well lda sta lda sta lda sta code is not a new innovation. |
| |
PopMilo
Registered: Mar 2004 Posts: 146 |
Quote: I can't believe nobody has mentioned the noter to Irrational yet. :-)
Why "Irrational" ?
Because of the name? :)
|
| |
PopMilo
Registered: Mar 2004 Posts: 146 |
@Miked
Yes I made some more experiments but nothing great...
Im thinking about two aproaches:
1. To use software sprites made out of black chars for overlaying multicolor hardware sprites to get that "hires look" with colors... (They would have to be over blank areas of screen, rest of the background would be multicolor chars, scroll is easy to acomplish in this aproach)
or
2. To use multicolor soft sprites in graphic mode, overlayed on top with black hires hard sprites... but...but no scrolling because of the amount of data that would need to be moved.
I plan to try them and see what comes out of this...
Since Im planing a platform game, Im thinking maybe charmode sprites wouldnt be bad for a spray of bullets and some spectacular weapons made out of many small 2x2 char soft sprites (I really disslike those 8 pixel moving bulletts in many commodore games (even in my favourite "Turrican")
p.s. Great work on Xeo3, your blog is first thing to look at during morning coffe :) |
| |
T.M.R Account closed
Registered: Dec 2001 Posts: 749 |
Quote: Why "Irrational" ?
Because of the name? :)
Count the sprites on the note part... =-) |
| |
MikeD Account closed
Registered: Jan 2006 Posts: 19 |
popmilo: I would also consider just adding more sprites so you can get rid of the the 8 sprites in a row limit - but this would depend on the game. I do like the idea of using them along with normal sprites to get a HIRES colour effect though.
You could use that delayed DMA thing to scroll the bitmap if you really wanted to - although I've heard its a bit unstable.
How many have you managed to get running?
|
| |
Cruzer
Registered: Dec 2001 Posts: 1048 |
Bubble Bobble is a good example of software sprites that are not just the usual shots moving 8 pixels per frame. This clearly would have been no success with only a multiplexor. |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 - Next |