"Gradius" Laser

Page 2/2
1 |

By ro

Guardian (4123)

ro's picture

13-07-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.

By wolf_

Ambassador_ (9769)

wolf_'s picture

13-07-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.

By ro

Guardian (4123)

ro's picture

13-07-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.

By Edwin

Paragon (1182)

Edwin's picture

13-07-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.

By ro

Guardian (4123)

ro's picture

13-07-2005, 15:57

thaz exactly what I did, iirc. thanx for clearing that up so Wolf and I can stop throwing tomatoes at eachother and continue with normal business like cuffing up some rediculous names for that 'new' msx thingy. cheers.

By wolf_

Ambassador_ (9769)

wolf_'s picture

13-07-2005, 16:05

aaaawwww... I actually liked throwing tomatoes at you ^_^
news.bbc.co.uk/media/images/40003000/jpg/_40003014_face.jpg

By [D-Tail]

Ascended (8233)

[D-Tail]'s picture

13-07-2005, 16:34

On a more personal sidenote: that looks gross :\

Tongue

By sigma

Supporter (10)

sigma's picture

14-07-2005, 01:28

Funny how fast this thread went from Gradius to VDP modes to La Tomatina, and in less than 24 hours too...
Anyways, let me try to re-explain what I'm wondering about:
Let's say you have a laser and shoot it. Then you get a laser object originating at a point based on Vicky's current coordinates, and with a size of 1:

  ·---
          ·---
      _           ·---
  ···=|==> ==
      ¯
             ·---

Then, the way I see it, on the next frame or so the laser moves forward 8 pixels, and another piece is added on:

  ·---
          ·---
      _           ·---
  ···=|==> ====
      ¯
             ·---

But, if you were moving fast enough backwards, there would be a gap between segments:

  ·---
          ·---
    _           ·---
···=|==> ==  ==
    ¯
             ·---

And with forward movement, laser tiles would be stacked on top of each other, making the overall beam smaller. But, neither of these things happen, so Konami must have taken a different approach.

By ro

Guardian (4123)

ro's picture

14-07-2005, 07:32

no they don't. how do you figure?
it's simply a matter of reprinting the darn laser over and over again, gently adjusting x/y positions (dunno about the X pos tho)
keep in mind that the WHOLE laser is printed on each frame (no fragments, additions or whatever)

tomenadatentomatentomatenatvrat.
(figure that one out!)

By snout

Ascended (15187)

snout's picture

14-07-2005, 11:06

[off] ro: you should do that one with To and Tom. Tongue [/off]

Page 2/2
1 |