Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Software sprites....
2006-04-24 10:16
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....
 
2006-12-11 22:23
PopMilo

Registered: Mar 2004
Posts: 146
@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: 728
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: 146
@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: 954
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: 146
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: 2014
Any previews popmilo?
2007-01-04 10:33
tlr

Registered: Sep 2003
Posts: 1790
Quote: Zone Ranger has some cool software sprites, not too smooth, but very fast.. Zone Ranger

Hadn't seen that one. Great!
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
Scrap/Genesis Project
leonofsgr/Singular C..
Didi/Laxity
slimeysmine
Genius/Xenon
WVL/Xenon
A3/AFL
Guests online: 124
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

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