background scrolling (Development MSX Fora)MSX Resource Center MSXdev 2008 - MSX1 development bonanza!           
            
English Nederlands Español Português Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 159 gasten en 3 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - background scrolling

Schrijver

background scrolling

norakomi
msx professional
Berichten: 861
Geplaatst: 19 Februari 2005, 21:29   
I read somebody talking about background scrolling, but cannot seem to find it anymore.
I would like to experiment much more techniques of background scrolling, because I have had to limit the size of the scrolling background in my game due to speed problems.
What it comes down to so far is that I have used the same idea with background scrolling as I have with using software sprites (like some object flying from right to left, page p and 1-p)

Is there some more information somewhere regarding different techniques.
thinkin about background scrolling for gradius/manbowkinda gamez?
Grauw
msx professional
Berichten: 1002
Geplaatst: 19 Februari 2005, 22:55   
Those games use screen 4, which is a pattern mode and very fast. However, as you probably know, it has limitations as well (mainly, only 2 different colours for each 8 horizontal pixels).

~Grauw
norakomi
msx professional
Berichten: 861
Geplaatst: 19 Februari 2005, 23:36   
hmmm, interesting.
first I will finish my first level, my routines for enemies, routines for movement player, routines for scrolling etc.
then I can easily make the other levels, and experiment with other levels in screen 4.
I´m gonna ´set page´ in screen 4 to see how many pages it has.
So those games are in screen 4.......... nice 2 know.

I´m working as crazy on my new game, and it´s has the looks of spacemanbow. I even made the ship (as a test) look like the spacemanbow ship. Obviously later I can change it as desired.

But till now I restarted and deleted all my files several times.
(out of memory problems, speed problems, too complex programming problems, etc)

Hopefully (this is because my programming level is very low) I will have a first level finished within a week or 2 (it needs to be perfect !!!)
[D-Tail]

msx guru
Berichten: 2977
Geplaatst: 20 Februari 2005, 12:27   
Sounds really very very cool! I really hope you finish that game! But alas, SET PAGE won't work in SCREEN 4... You'll need to directly access the VDP using the VDP(x) functions. Look for the appropriate registers on the MAP, or maybe Grauw's as nice as to mention the necessary registers. Don't have them in my head here, too bad .
norakomi
msx professional
Berichten: 861
Geplaatst: 20 Februari 2005, 12:50   
I see, so this means that spacemanbow uses hardwaresprites in screen 4 only, and the background scrolling is done using the vdp's. Does this also mean that all the ending bosses require black background because those bosses are software sprites? I don't recall (100%) whether or not ALL the (moving) bosses have a black background, but it seems logical that this is necessary to make them move, otherwise they will mess up the background.
Maggoo
msx professional
Berichten: 576
Geplaatst: 20 Februari 2005, 13:17   
Yup, in Space Manbow all boss are made of tiles, orsoftware sprites if you prefer.
poke-1,170
msx professional
Berichten: 849
Geplaatst: 20 Februari 2005, 15:01   
VDP 24 does that if I am correct...in basic it would even do it easily over the y axis,but horizontal scrolling was quite a bit more work (copying to pages and then swapping them)...
http://www.mccm.aktu.nl/millennium/milc/gc/topic_17.htm pages are in dutch,but there was a lot of info in it about VDP registers
Grauw
msx professional
Berichten: 1002
Geplaatst: 20 Februari 2005, 15:44   
the background scrolling in Space Manboy is done by moving patterns in the tilemap in VRAM (that's 864 patterns each time, so I dunno if Basic is fast enough for that), not by using a simple scroll register orso. Nevertheless, in screen 5, VDP(24) is a good method to be able to quickly achieve scrolling.

As for set page in screen 4, I think you can use one of the BASE() commands in Basic to achieve the same effect, though it's not as easy to use. Otherwise, you'll need to do some VDP settings (not really much harder).

norakomi: you got it right with regard to the Space Manbow ending bosses.


~Grauw
wolf_

msx legend
Berichten: 4603
Geplaatst: 20 Februari 2005, 15:46   
The S.M. boss of level 1 has a few sprites around the 'eye' btw.

Anyhoo, In S.M. de big objects that don't move smoothly up/down are tiles (for example those spaceships leaving that platform/vehicle/thing), the rest is done with sprites. The main issue with those sprites is level-design/path-design, to prevent getting more than 8 sprites on a row.
Sonic_aka_T

msx guru
Berichten: 2260
Geplaatst: 20 Februari 2005, 19:40   
MSX sprites blow chunks... You have to be a blimmin' artiste to be able to do anything with 'em... I guess they're okay for bullets and whatnot tho...
Sonic_aka_T

msx guru
Berichten: 2260
Geplaatst: 20 Februari 2005, 19:40   
well, can be handy for like a player character too, and such...
[D-Tail]

msx guru
Berichten: 2977
Geplaatst: 20 Februari 2005, 20:44   
Sutchan is great at sprites!
 
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.