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.

Bug Reports / dbp 5.8 crashes after delete sprite & image

Author
Message
David iz cool
18
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 27th Oct 2005 04:59
example code:



Zone Chicken
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: `~-..-~`~-..-~`
Posted: 27th Oct 2005 06:35 Edited at: 27th Oct 2005 07:35
Your problem is you making more complicated then you need to.

Since you media is created/displayed and then deleted as a title before the main loop and game you could put them before and can use a wait for the title.



however if you needed to display the image during the game instead of just at the beginning you could use your method you would just have to control it so the action causing the image to be displayed and then deleted could only be called one time since the media is deleted.



Your signature has been erased by a mod -- please resize to under 600x120...
David iz cool
18
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 27th Oct 2005 06:49
ok thanks! i guess i can do it that way

ignore this thread then.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 27th Oct 2005 10:51


That code runs fine here

David iz cool
18
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 27th Oct 2005 14:59


hmmmmmm. i tested it also,it didnt crash. but it did with my other code in my program. wonder if something else in my code is causing the crash along with this snippet?
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 27th Oct 2005 16:19
If you are having problems finding where an error is, use Exit Prompt

EXIT PROMPT "I made it to my Pancake flipping function", ""

When it crashes, it will display the last thing written to the exit prompt.

David iz cool
18
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 27th Oct 2005 17:55
thanks Batvink! ill try that

Login to post a reply

Server time is: 2024-04-19 18:46:15
Your offset time is: 2024-04-19 18:46:15