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


Forums > C64 Productions > Limitations - Sprites in the Borders
2006-08-26 19:38
Wile Coyote
Account closed

Registered: Mar 2004
Posts: 646
Limitations - Sprites in the Borders

hello,

I was thinking, has anyone drawn up a doc with (pictures :)explaining *all known* possibilities with placing sprites into the border areas of the screen.

I know:
8 sprites can be placed in the upper and lower borders.
7 sprites can be placed in the side borders.

I was thinking, what about the corner borders,is that classed as a sideborder or a top or bottom border (8 sprites).

Another question :) when 7 sprites are placed into the sideborders can the 8th free sprite be placed into the main (center) screen areas or by opening up the side borders, is the option for an 8th sprite not available.

I am asking these questions as i am thinking about designs that use the border areas :)

thanks
/wec
 
... 35 posts hidden. Click here to view all posts....
 
2006-08-27 11:22
tlr

Registered: Sep 2003
Posts: 1787
Quote:
So 4 sprites is the way to go. 4 sprites for the side borders and the other 4 sprites can be used on the (main) screen (or should that be 3 (7 total)).

Only 4 sprites in total on a given raster line with the normal screen open. That is 4 sprites that can be either in the border or in the middle of the screen.

Typical example of the simplest form is the first part of Bonanza.

Quote:
..and what about hires, multi colour, expanded sprites. Can this affect the timing? or is a sprite a sprite :)

A sprite is a sprite. If a sprite is active on a given line it affects timing.

Quote:
Crossbow spoke of displaying a sprite, but not a whole sprite (during Krestage or Krestage 2). I'll have to see the demo again, i think he speaks of displaying only the first 16 or 18 pixels of the sprite.

I don't remember the height, but I don't think you will benefit from this on a static image.

A sprite can change it's x-pos and color on a raster line in the middle of it so you can emulate this anyway.
2006-08-27 11:33
enthusi

Registered: May 2004
Posts: 677
Look for ESCOM-pictures.
Iirc they use all borders with xy-expanded sprites.
Wait I will check.
Airwolf
Nice example.
Most look worse :)
Anyway - there you go.
2006-08-27 11:47
tlr

Registered: Sep 2003
Posts: 1787
Quote: Look for ESCOM-pictures.
Iirc they use all borders with xy-expanded sprites.
Wait I will check.
Airwolf
Nice example.
Most look worse :)
Anyway - there you go.


ESCOS. Expanded Screen COnstruction Set
2006-08-27 13:42
JackAsser

Registered: Jun 2002
Posts: 2014
Phat moving ESCOS by HCL in Totally Stoned 2 ... FYI.
2006-08-27 14:15
Wile Coyote
Account closed

Registered: Mar 2004
Posts: 646
Quote: Quote:
So 4 sprites is the way to go. 4 sprites for the side borders and the other 4 sprites can be used on the (main) screen (or should that be 3 (7 total)).

Only 4 sprites in total on a given raster line with the normal screen open. That is 4 sprites that can be either in the border or in the middle of the screen.

Typical example of the simplest form is the first part of Bonanza.

Quote:
..and what about hires, multi colour, expanded sprites. Can this affect the timing? or is a sprite a sprite :)

A sprite is a sprite. If a sprite is active on a given line it affects timing.

Quote:
Crossbow spoke of displaying a sprite, but not a whole sprite (during Krestage or Krestage 2). I'll have to see the demo again, i think he speaks of displaying only the first 16 or 18 pixels of the sprite.

I don't remember the height, but I don't think you will benefit from this on a static image.

A sprite can change it's x-pos and color on a raster line in the middle of it so you can emulate this anyway.


The height thing, i thought the benefit could be from the added color made available :)

So how do you explain the note to *Don't Meet Crest*
There appears to be a character logo, rasterbars and 7 sprites. The sprites bunch up and appear to overlap each other and enter into the side borders. Mind you it could be an illusion, as while the 7 sprites appear to be on the same horizontal line, the sprites bunch up as they enter the side border, so maybe only 4 sprites are in the one location.

2006-08-27 15:30
Oswald

Registered: Apr 2002
Posts: 5086
in the dont meet crest note there are simply NO badlines :D I may be wrong here, but AFAIK it uses linecrunch, which is normally used to scroll the screen upwards, but you can also display with it about 56 different gfx lines (switching amongst csets and banks). well someone else will explain it more deeply :)
2006-08-27 15:35
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: The height thing, i thought the benefit could be from the added color made available :)

So how do you explain the note to *Don't Meet Crest*
There appears to be a character logo, rasterbars and 7 sprites. The sprites bunch up and appear to overlap each other and enter into the side borders. Mind you it could be an illusion, as while the 7 sprites appear to be on the same horizontal line, the sprites bunch up as they enter the side border, so maybe only 4 sprites are in the one location.



Havn't checked the code, but I say this is a classic example of avoiding badline. If I would have done it I would have chosen ECM mode. And at every 7th line repeat the char row to avoid bad lines, switch $dd00 and $d018 to select graphics. To get the borders brown I would have used a character with the third BG-color in ECM mode and let it be brown, at char column 39. Remeber the bgcolor of the char in column 39 defines the color of the border "under" the normal border, both in bitmap and in ECM mode. (bg color of a char in normal char mode is always $d021, but can vary in bitmap and in ECM mode).

But then again, I'm perhaps completly off here, it is still Crossbow code... :D

edit: forget about bitmap and ECM.... that's in single color only... :D someone else crack this...
2006-08-27 16:00
Oswald

Registered: Apr 2002
Posts: 5086
Jack, it can be multicolor chars / bitmap easily...
2006-08-27 16:19
JackAsser

Registered: Jun 2002
Posts: 2014
@oswald: indeed, just not switch gfx every line, but every 7th line. But how do you get the borders brown (and open) without using ECM or hires bitmap? Does he really put a $d021 split there?
2006-08-27 16:29
tlr

Registered: Sep 2003
Posts: 1787
Quote: @oswald: indeed, just not switch gfx every line, but every 7th line. But how do you get the borders brown (and open) without using ECM or hires bitmap? Does he really put a $d021 split there?


Yes, split...
x=$0b
sta $d016,x

:)
Previous - 1 | 2 | 3 | 4 | 5 - 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
Rebok/BOOM!/Tropyx
wacek/arise
Elder0010/G★P
Magic/Nah-Kolor
rime/Fancy Rats
Higgie/Kraze/Slackers
grip
chriz74
Fungus/Nostalgia
Impetigo/Crescent
MaD ][/Starship
Guests online: 125
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Triad  (9.2)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Crossbow  (9.8)
4 Lft  (9.8)
5 HCL  (9.8)

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