Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Coinoperator ! (Registered 2024-06-17) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Software sprites....
2006-04-24 10:16
PopMilo

Registered: Mar 2004
Posts: 145
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....
 
2006-11-07 15:40
algorithm

Registered: May 2002
Posts: 702
many methods of speeding up the software sprite plotting. precalculated pixel shifts of the main character, etc, then only something such as ora opcodes, etc
2006-12-11 22:23
PopMilo

Registered: Mar 2004
Posts: 145
@MikeD: I mannaged to get 7 x 24x21 freely movable sprites with no predefined rotations in 50 fps (but with only 10 raster lines left free... :( ). And then I tried sprites with preshifted definitions (4 of them for every sprite) (aproximately 33% faster routine) and 8 is easy doable in this way.

Since Im planning platform game Im thinking to use this method because game objects would mainly walk on platforms or such. So I have to make animation frames for them anyway - and I can limit the movements to "steps". enemy robot similar to some kind of "walker" on two legs could walk in steps, and guess what? Those steps would be 4 pixels each :)

Same goes for flying objects and any other - they all need animation to look nice, so I just have to make those animations compatible with char boundaries...

p.s. Here is a draft of my main character :)

2006-12-12 07:30
HCL

Registered: Feb 2003
Posts: 717
COol. He's got a big.. whatever.
2006-12-12 15:53
Cruzer

Registered: Dec 2001
Posts: 1048
Starts to sound/look promising. Please add a preview soon.
2007-01-02 10:17
MikeD
Account closed

Registered: Jan 2006
Posts: 19
Sounding pretty cool! When your not pre-shifting them, how do you go about rotating them?

Are they hires or multicolour?
2007-01-03 12:16
PopMilo

Registered: Mar 2004
Posts: 145
@MikeD:

I use tables for each rotation, 256 bytes each (3 tables, no need for table if shift=0)

its all in previous post (35#)

Im using black hires software sprites over multicolor hardware sprites (this way I get to choose from 16 colors for each sprite, if I used chars for multicolored sprites I would have only first 8 colors...)
2007-01-03 15:00
MikeD
Account closed

Registered: Jan 2006
Posts: 19
Ah...cool. That also means you just ORA the data in I guess, which would help quite a bit. Good idea.

Oh...I see, a table for each rotation. Mmm..I guess I have that too, I have a barrel shifter which rotates "X" pixels...so yeah. Just a slightly different way of looking at it.

Good though, nice and big as well.
2007-01-03 15:35
Hein

Registered: Apr 2004
Posts: 933
Zone Ranger has some cool software sprites, not too smooth, but very fast.. Zone Ranger
2007-01-04 00:32
PopMilo

Registered: Mar 2004
Posts: 145
Quote: Ah...cool. That also means you just ORA the data in I guess, which would help quite a bit. Good idea.

Oh...I see, a table for each rotation. Mmm..I guess I have that too, I have a barrel shifter which rotates "X" pixels...so yeah. Just a slightly different way of looking at it.

Good though, nice and big as well.


Well... :) I dont even ora with back :) I just sta.

All the backgrounds are empty... Light blue for outside spaces, and black for underground. And if there are details in the background like colums and wall sections, they are infront of sprites (like in DanDare), or some kind of fence wich is black also appears infront of sprites. This ofcourse needs masking so not much of this on one screen because its cpu intensive...

Mike: what do you mean with "barrelshifter"? I know how they work in hardware but wouldnt they be slow in software? Do you have a routine to ror part of mem? is it faster than my method? Hmmm.... Ill have to do some calculations... :)
2007-01-04 07:59
JackAsser

Registered: Jun 2002
Posts: 1995
Any previews popmilo?
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Sokratekk
Yogibear/Protovision
Mason/Unicess
LHS/Padua
MWR/Visdom
MAT64
Hend/Protovision (ptv)
zscs
Earthshaker/Silicon ..
Guests online: 113
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.7)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Comaland 100%  (9.6)
9 Wonderland XIV  (9.6)
10 Aliens in Wonderland  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 Replicate  (9.6)
6 Rainbow Connection  (9.5)
7 It's More Fun to Com..  (9.5)
8 Dawnfall V1.1  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 Tim  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.04 sec.