A spite is a transparent icon and the attached project contains a customizable splash form that contains a sprite that bounces off the walls of the form.
Printable View
A spite is a transparent icon and the attached project contains a customizable splash form that contains a sprite that bounces off the walls of the form.
I get a runtime error when I run your code: Runtime Error 53: File not found: "STKIT432.DLL"
I've updated the zip file in the first post. You'll need to place the dll in your system folder.
I've downloaded sprite.zip again, but there's no DLL inside...
Sorry about that. Try it now. I just replaced it again and I made sure the dll was there.
Same here but I went to another site to downlaod it and I put it in my system32 folder and the folder of the source code and still get the same error as him? ANy ideas why? Thanks :)
Now I'm starting to wander if there is something wrong with my computer cuz it looks the same (the zip contents I mean).
I still don't see a DLL in the zip...
Here is the dll by itself
OK, now I got the DLL, but don't have time to test it, have to go to school :)
OK, I changed the code so that that dll is not needed at all. Dowload sprite2.zip out of the first post.
how do you get the pointer to be the defualt cursor, when i run mine it has the hourglass there at all times. Is it possible to fix that?
The form's MousePointer property is set to be the HourGlass. Change it to whatever you want, but I would think you'd want the hourglass if you are using this form as a splash form.
if i set the sprite speed very fast, the program closes:confused:
Can you post a simple project where it does that?
all i did was edit the variables where it says "decrease these to lower the sprite speed" to 30 and 40, and after a few seconds the program crashed.
i was just editing your program, it wasn't in my own.
I'd still like to see a project.
What a fun app. Good demo for moving sprites around, and edge detection. Looks like just the thing fledgling game programmers might enjoy.
Thanks, I actually stripped that out of a fairly large business app that I wrote a long time ago for Rolm Systems. Rolm sold telephone switching equipment and software (they originated Press 1 for...), hence the phone sprite.