Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / How to fade screen & other qusetions

Author
Message
SonicX
20
Years of Service
User Offline
Joined: 17th Oct 2003
Location:
Posted: 18th Oct 2003 00:42

Hi, I'm a beginner and I have a few questions

1, How do I make the screen fade to balck and fade in?

2, How can I use my image in the change mouse command? (I want to use an image as a mouse cursor)

3, How to I increase the Frames Per Second? (images are moving too slowly)

Thanks for reading this
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 18th Oct 2003 03:34
1. Here's one way ...
Have a single pixel black image, make a sprite that uses it, stretch the sprite to full screen size, adjust the alpha setting on the sprite from 0 to 255 (transparent to solid) to fade out, and from 255 to 0 to fade in.

2. Just hide the current mouse pointer and position a sprite that the mouse coordinates

3. Switch the sprite backsave option off (see the SET SPRITE command)
SonicX
20
Years of Service
User Offline
Joined: 17th Oct 2003
Location:
Posted: 18th Oct 2003 14:40

Thanks I'll give it a try
JamesBlond
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Germany
Posted: 18th Oct 2003 14:45
For 1. you can also use the SET GAMMA command instead of the alpha values of a sprite.

Smile and be happy, things could be worse!
So I smiled and was happy, and things got worse...
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 18th Oct 2003 15:19
SET GAMMA wont always work - got a code snippet around...


Avatar & Logo by Indi. Insert witty comment here...

Login to post a reply

Server time is: 2024-09-21 06:47:32
Your offset time is: 2024-09-21 06:47:32