"Gradius" Laser (Development MSX Fora)MSX Resource Center PassionMSX MSX2 contest           
            
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 52 gasten en 4 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - "Gradius" Laser

Ga naar pagina ( 1 | 2 Volgende pagina )
Schrijver

"Gradius" Laser

sigma
msx friend
Berichten: 10
Geplaatst: 13 Juli 2005, 00:59   
How does the laser weapon in Gradius and Parodius work? By which I mean the laser stays coherent no matter how you are moving, as opposed to being compressed or discontinuous if you just, say, used the player's current abscissa every few frames to elongate the beam (which is the simplest method I could think of).
evulopah
msx addict
Berichten: 462
Geplaatst: 13 Juli 2005, 08:31   
Your English is very good... 2 good 2 b true cause I have red your post 3 times now... still don't get it...
BiFi
msx guru
Berichten: 3142
Geplaatst: 13 Juli 2005, 08:50   
Let's reduce things to a more standard level of English : the laser (and its length at that moment) is moved identically to the movement of the ship. His question is: how did they do that?
ro
msx guru
Berichten: 2329
Geplaatst: 13 Juli 2005, 09:46   
it's simply a matter of recalculating the Y position of the beam (same as your "ship" and reprint the darn thing.
since Gradius is screen 1, this is done withing a milisecond. Screen 1 is charbases which means FAST.
there ya go. no biggy.
wolf_
online

msx legend
Berichten: 4712
Geplaatst: 13 Juli 2005, 10:24   
You sure it isn't screen 2 ?

It *is* screen 2, in patternmode
ro
msx guru
Berichten: 2329
Geplaatst: 13 Juli 2005, 11:44   
might also be screen 2. But it's the same difference.
screen 1 has great pattern mode, same as screen 2 but maybe faster!? dunno.
wolf_
online

msx legend
Berichten: 4712
Geplaatst: 13 Juli 2005, 12:30   
scr1 = 2 colors per 8 chars
scr2 = each char has unique colors (max 2 on a row ofcoz)
ro
msx guru
Berichten: 2329
Geplaatst: 13 Juli 2005, 12:38   
huh? no way dude. screen 1 has same specs. 2 colors per 1 row of char, like scr2.

wolf_
online

msx legend
Berichten: 4712
Geplaatst: 13 Juli 2005, 12:48   
read again ^_^

scr1 = 2 colors per 8 chars <-- and max 2 colors on a row, naturally..

scr2 = each char has unique colors (max 2 on a row ofcoz)
ro
msx guru
Berichten: 2329
Geplaatst: 13 Juli 2005, 14:22   
so u say. char 0-7 all have the same color on row 0 for example? (thaz crap, I've dun it 10000 o'times back in the days)
(only in STANDARD screen mode, duh)
or am I totally stupid?
wolf_
online

msx legend
Berichten: 4712
Geplaatst: 13 Juli 2005, 14:27   
what I'm saying is that char0..7 have 2 colors, char 8..15 have 2 colors, char 16..23 have 2 colors etc. etc.

So, the @ABCDEFG chars (64..71) have 2 shared colors .. meaning your 'A' can be fore:15 back:4 (for white on blue) but the other chars in that 'group' are like that then as well.

Which is why games are generally taking place on screen 2 ... just have a peek at Konami games orso .. and see what the emulator says about the screenmode.
ro
msx guru
Berichten: 2329
Geplaatst: 13 Juli 2005, 15:00   
Lemme dig into some old basic stuff I've got laying around .. I did that stuff (15 years ago, gheh) in screen 1, each char it's own color set.

wolf_
online

msx legend
Berichten: 4712
Geplaatst: 13 Juli 2005, 15:33   
iirc there's no screen 1 or 2 in asm, rite? Just patternmode, and you need to set a bit for scr2-mode orso. I remember Edwin doubting the very same issue, some half year ago, because he had the asm-method in mind.
ro
msx guru
Berichten: 2329
Geplaatst: 13 Juli 2005, 15:42   
read again ^_^

I said BASIC, but I used VDP reg's to set that pattern mode indeed, hmm a mix of sc1 and sc2. gheh.
In asm there's also sc1, 2 and more. but like BASIC it's merely a matter of some VDP presets for each screen.
Edwin
msx professional
Berichten: 620
Geplaatst: 13 Juli 2005, 15:44   
ro, the confusion about the screen capabilities probably comes from some old basic apps. Screen 2 in basic hides the fact that it's a pattern mode and emulates a normal graphics mode by setting a different pattern at each location. Most basic apps I saw that used the Sc2 pattern mode did so by setting screen 1 and then setting some VDP registers to enter the sc2 pattern mode. The advantage is that basic can still use it as a pattern mode like it would in screen 1, but you have the screen2 pattern where you can use 2 colors per line.
 
Ga naar pagina ( 1 | 2 Volgende pagina )
 







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