Gamestudio Links
Zorro Links
Newest Posts
How to buy tomorrow at open?
by frutza. 06/01/23 19:58
Adding Position to Current Trade
by AndrewAMD. 05/30/23 10:34
Unable to change multiplier of contract
by vicknick. 05/30/23 06:56
Wrong Definition of Sharpe Ratio in Zorro?
by vicknick. 05/29/23 06:32
Backtest strategy on bitcoin/crypto
by JamesHH. 05/26/23 04:36
Return type of floor()
by AndrewAMD. 05/25/23 14:17
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (AndrewAMD), 1,065 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
BInnacle, androsa, XquicksnowX, danishinvest, Trail
18942 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Onscreen Map #318847
04/10/10 11:45
04/10/10 11:45
Joined: Apr 2010
Posts: 14
D
daggpro Offline OP
Newbie
daggpro  Offline OP
Newbie
D

Joined: Apr 2010
Posts: 14
Hi i have made a racing game and i wanted to have a map on the hud that updates the player position and shows the distance of the car from the destination.

How do i proceed confused

Re: Onscreen Map [Re: daggpro] #318850
04/10/10 12:02
04/10/10 12:02
Joined: Mar 2010
Posts: 120
Switzerland
T
TehV Offline
Member
TehV  Offline
Member
T

Joined: Mar 2010
Posts: 120
Switzerland
I recomend using a panel with digits and a panel with a bitmap that shows a top-down view of the map. Add another panel (could be a small dot) for the car position.
Now just update the dot position (pos_x and pos_y of the dot panel) in the function of the car.
If you have any questions on how to do that, feel free to ask.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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