Nice one DVader!!!
Suggestion: Notepad++ is a very good LUA editor, and is free. Just a suggestion
I'm not particularly interested in the radar now, I'm working on something different now (one scifi model for the store), but if it has to do with sprites, as they are created and how are destroyed.
The question is: Can you hide the radar temporarily, and turn it on again when you need it?
I've been reviewing the script radar, and can not find any code that does, from what I gather that not contemplate the possibility to hide or destroy and re-create it, when necessary.
There's nothing like "DeleteSprite (mySprite)" in the radar code.
I think something like "HideSprite / ShowSprite" avoid having to destroy it and create it, every time you want to use.
Had not worked much with sprites before, I'm not very familiar with them.
Suppose you have a computer display in should appear a number of sprites (let's say fruits), arranged in rows and columns, as well, the fact of calculating the position of these sprites (fruits) over the pc display is a pain for me, and I have to use trial and error to find the ideal position for each one, and I hate having to do this.
I think there must be a simpler way to do this, if so, do you explain it?
I already know the theory, you create first screen in the init section of the code, and then create and "position sprites" other above the screen (this is the hardest part for me), and I would like to simplify, if possible.
I have understood that they are based on the screen coordinates, this would be fine for the first sprite, the sprite base, in this case, the pc display; but for me, the sprites intended to go over the base sprite (display), they should be in this case "display" co-or based, and not screen based, it may help to position the others sprite.
SetSpritePosition ( mySpriteBase , 50 , 50 ) -- center of the screen. (4 the pc display). And...
SetSpritePosition ( mySpriteApple , mySpriteBase['x']-0.5 , mySpriteBase['y']-0.5 ) as example
so with the rest of the fruits, till get all them arrange in cols and rows over the pc display, so the player can choose whatever.
Or it is already so, and I'm missing someting here?
Thanks 4 all feedbacks
3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz
OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics