PDA

Click to See Complete Forum and Search --> : VB - A splash form with a bouncing sprite


MartinLiss
Feb 18th, 2003, 01:32 PM
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.

CVMichael
Feb 19th, 2003, 05:32 PM
I get a runtime error when I run your code: Runtime Error 53: File not found: "STKIT432.DLL"

MartinLiss
Feb 19th, 2003, 05:48 PM
I've updated the zip file in the first post. You'll need to place the dll in your system folder.

CVMichael
Feb 19th, 2003, 05:54 PM
I've downloaded sprite.zip again, but there's no DLL inside...

MartinLiss
Feb 19th, 2003, 06:00 PM
Sorry about that. Try it now. I just replaced it again and I made sure the dll was there.

_Vb_N00bie_
Feb 19th, 2003, 06:01 PM
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 :)

CVMichael
Feb 19th, 2003, 06:04 PM
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...

MartinLiss
Feb 19th, 2003, 06:06 PM
Here is the dll by itself

CVMichael
Feb 19th, 2003, 06:09 PM
OK, now I got the DLL, but don't have time to test it, have to go to school :)

MartinLiss
Feb 19th, 2003, 06:22 PM
OK, I changed the code so that that dll is not needed at all. Dowload sprite2.zip out of the first post.

BrandonTurner
Feb 19th, 2003, 08:24 PM
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?

MartinLiss
Feb 19th, 2003, 08:45 PM
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.

morrowasted
Nov 27th, 2003, 04:04 PM
if i set the sprite speed very fast, the program closes:confused:

MartinLiss
Nov 27th, 2003, 04:07 PM
Can you post a simple project where it does that?

morrowasted
Nov 27th, 2003, 04:19 PM
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.

MartinLiss
Nov 27th, 2003, 04:21 PM
I'd still like to see a project.

rjbudz
Jan 26th, 2007, 03:08 PM
What a fun app. Good demo for moving sprites around, and edge detection. Looks like just the thing fledgling game programmers might enjoy.

MartinLiss
Jan 26th, 2007, 04:11 PM
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.