Sprite dragging and point collision

Blitz3D Forums/Blitz3D Beginners Area/Sprite dragging and point collision

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Greetings all. Just a few questions:

1) Does SeedRnd Millisecs() need only to be executed once in a program for complete randomness to take effect? If so I assume that every time a Rand/Rnd event occurs the seeded number would be set as the current Millisecs() value at the time of that particular event.

2) For a sprite moving from one point to another specific point, what is the best method for detecting when the sprite meets the specific point?

3) What is the best method for dragging a sprite around the screen with the mouse? (ie. click on the sprite, hold button down and drag).

Any assistance would be appreciated.