Here's my really basic code. Great for making "robot" sprites move.

プレイ済み
In your main loop, increment/decrement the sprite's X/Y until it comes in contact (or near) with the target sprite. You will need to use IF statement(s) and logic conditions to test the coordinates. I'll try to make an example program.
2そうだね プレイ済み
How do you detect sprite collision with circles (GCIRCLE)?

プレイ済み
Yep, except it was just "Lasership". You can find it on SBSource. I stopped working on it because it was a mess and I restarted it from nothing.
2そうだね プレイ済み
Thanks, just wait until I animate things!
1そうだね プレイ済み
The first version of Lasership 2 is now ready for download. This is only a small piece of what I have planned. I haven't added the editor yet but I will soon. The key is 5KL3NKNE.

プレイ済み
Starry with a chance of potatoes.

プレイ済み
I almost published Lasership 2 when I realized I forgot the most important thing - potatoes.

プレイ済み
I don't see how that face has anything to do with it.
0そうだね プレイ済み
Turning spaceships into junk ever since... well... a few minutes ago.

プレイ済み
So I need to execute the library program before the main one then I can call the starz function?
0そうだね プレイ済み
Pretend the code starting at line 20 is another program in slot 0. When I try to use the code at the top, it gives me an error saying "Type mismatch in 1:9." Why won't this work?

プレイ済み
I'm trying to use it as a start to an external library so I can just call the function in future programs.
0そうだね プレイ済み
Here's the cleaned up code. I've tried it in a nearly empty program witn only the code required to use the function. It still says "type mismatch".

プレイ済み
It says type mismatch in line 14. How do I fix it?

プレイ済み