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.

2D All the way! / Sprite Runtime Error

Author
Message
Zombie 20
18
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 1st Oct 2007 17:16
Hi all how are you today?

This is really my first time working with sprites and I've run across an interesting problem. I can make my sprite show up but then I am given a runtime error, I will have a picture and my code attached for you all to see it. So I was wondering if you good folks might be able to point me in the right direction as to what the heck is going on.

Thanks in advance,
Zomb



Attachments

Login to view attachments
aluseus GOD
18
Years of Service
User Offline
Joined: 19th Mar 2007
Location: I\'m here. Now I\'m there. I keep moving
Posted: 2nd Oct 2007 01:04
I know the EXACT problem. The get image command takes an image from a BITMAP. If you want to use it, you have to paste the image to a bitmap and then set the bitmap to that bitmap and THEN, do everything else.

But cant you just do:



ANd if you want to paste the sprite, use paste sprite command.

Your signature has been deleted by a moderator because this joke is getting old.
Zombie 20
18
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 3rd Oct 2007 12:49
Well thank you both of you for helping me out, I've been sick for a few days and haven't been able to check on this thread. Thank you very much.

Login to post a reply

Server time is: 2025-05-15 09:54:35
Your offset time is: 2025-05-15 09:54:35