View Single Post
 
Reply
Posted 2003-11-26, 07:48 PM in reply to weeman722's post "how do you make cutscenes/scolling text"
Scrolling Text:

This is rather complicated, but here goes:

The actual "text" is a PNG graphic file with a clear background. Keep note of the X/Y size - it's rather important. Use 320 width, since that's the screen's width, and makes for easier calculation.

You'll also need 2 variables: One for the X coordinate, and one for the Y coordinate.

Now, here's how you set the X/Y coordinates:

scrX = (1/2 the picture width)
scrY = 240 + (1/2 the picture height)

And while you're at it, you'll want this number as well:

StopNum = Picture height * -1.5

--------------

Put this code in wherever you want:

<>Variable oper: [0081:scrX], Set, 160
<>Variable oper: [0082:scrY], Set, 360
<>Variable oper: [0082:StopNum], Set, -540
<>Show Picture: 1, scrollerpic, (V[0081],V[0082])
<>Move Picture: 1, (V[0081], V[0083]), 20.0 sec (Wait)

Set the delay time to whatever you want.
---------------------------

As to the Move Event, I can't help much unless you want a specific thing to happen. Move Right and Face Up would move the event right and then make it face upward. Not much else I need to explain, unless you want something more.. complicated.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube