Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (7th_zorro), 1,390 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Any animated radar examples? #351448
12/25/10 00:34
12/25/10 00:34
Joined: Dec 2010
Posts: 22
G
Gorilla123 Offline OP
Newbie
Gorilla123  Offline OP
Newbie
G

Joined: Dec 2010
Posts: 22
Hello I am new here but I need some help with my project. I am not quite exactly a beginner but decided to post this in the starting with gamestudio section in the forum anyway. So here it is I need a radar example with an animated radar. I can figure out the minimap part for myself but I need an animated radar that works and looks good as well. Thank you very much, and just so no questions are asked I use 3d Game Studio A7 7.77!

Last edited by Gorilla123; 12/25/10 00:35.
Re: Any animated radar examples? [Re: Gorilla123] #351449
12/25/10 00:58
12/25/10 00:58
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
set up a radar overlay panel
this panel is a full circle with your rotating(animated) radar
now you set up this panel with center_x and center_y
and simple increase the panels angle in every frame
now you have an animated rader grin


Visit my site: www.masterq32.de
Re: Any animated radar examples? [Re: MasterQ32] #351450
12/25/10 01:24
12/25/10 01:24
Joined: Dec 2010
Posts: 22
G
Gorilla123 Offline OP
Newbie
Gorilla123  Offline OP
Newbie
G

Joined: Dec 2010
Posts: 22
An example would be great if someone has one.

Re: Any animated radar examples? [Re: Gorilla123] #351452
12/25/10 02:27
12/25/10 02:27
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
Code:
PANEL* pan_radaroverlay = 
{
    bmap = "overlay.png";
    center_x = 32;        //The overlay = 64px²
    center_y = 32;
    flags = SHOW;
}
function radar_startup()
{
    while(1)
    {
        pan_radaroverlay.angle += 5 * time_step; //5 is rotation speed
        wait(1;
    }
}



here's the picture:



Visit my site: www.masterq32.de
Re: Any animated radar examples? [Re: MasterQ32] #351455
12/25/10 06:02
12/25/10 06:02
Joined: Dec 2010
Posts: 22
G
Gorilla123 Offline OP
Newbie
Gorilla123  Offline OP
Newbie
G

Joined: Dec 2010
Posts: 22
Much thanks Richy and Merry Christmas!


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1