TNT Basic Forums > Feedback
Sprites choosing, Poly entities
< Last Thread     Next Thread >
Thread        Post A Reply

08-16-2010 07:42

Posted by:

Paris France

Find more posts by Maxime

Long time since I wrote. If you intend to go on, interesting procs would be :
- Detect mouse click in a sprite (not through Point in Rect and a loop through all Sprites Rects)...
- A click would return : the Sprites under the click, their numbers, their priorities. This would allow a choice, a move, a priority change, etc.

- Separately a follow-me proc to move the sprite (1 or more) with the mouse clicked. Can be done through coordinates, but a bit intricate.

- Let create geometric (Rect, Poly...) entities with a name so that it could be refered to. Should imply PointInRect (rect, x,y), MoveRect (rect, dx,dy) and associated PaintRect, FrameRect... So with Poly.

Thanks to your job, I am still using it, to translate home-made Apps (which work only in Classic) into Apps which will work (I hope...) on a new machine. I hope Basic will not die !

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.