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.

Author
Message
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 5th Jun 2003 00:14
How do i want to paste a sprite over a 3d scene when my program starts but only want the sprite to display for a few seconds then delete it from the screen i have tried a few different ways but none seem to work can anyone help with this?
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 5th Jun 2003 01:06
Cant you use a timer and then HIDE SPRITE

RPGamer

Current Project: Eternal Destiny
Questions? Comments? Suggestions? Go to the Eternal Destiny Forum!
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 5th Jun 2003 01:14
I dont know how to do a timer rpg i tried the wait command but get undesired effects could you tell me how to do this?

you did give me an idea though i now have made it so that when the upkey is pressed it hides the sprite i tried to use delete sprite before and made the program crash everytime i pressed the upkey cos it tried to delete the sprite after it had been deleted.

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 5th Jun 2003 02:18
You probably have something like this:

if upkey() = 1 then delete sprite x

Instead use this:

if upkey() = 1 and sprite exist(x) then delete sprite x
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 5th Jun 2003 02:39
Nice one IanM that works great but i'm really looking to delete it after a few seconds using a timer like rpgamer said.

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 5th Jun 2003 10:24
Then do this:



Login to post a reply

Server time is: 2024-11-24 16:56:43
Your offset time is: 2024-11-24 16:56:43