Spot on Texture

Blitz3D Forums/Blitz3D Programming/Spot on Texture

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.

Scale your spot to one extreme and position it correctly.

Scale your spot to the other extreme and position it correctly.

Now, take the difference of the scales and divide that by the position difference.

Then this will give you the mulitplier for the scale.

Apply this multiplier to the position of your spot dependant on your spot scale.