≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
2D worldmap radar
Posted by:
(you are not logged in)
Enter the missing letter in: "?nternational"
(you are not logged in)
Text:
[quote][b][/b] wrote: Hi Niko, thank for your answer, the problem with the math was more ment in regards to the transformation of the 2D element boundaries. At the moment I use simply a DIV as the map lets say 400x300px of size and a 5px span inside which will be the player. When I do something like this: App.player.elem.style.left = "" + Math.round(player.Pos.X) + "px"; App.player.elem.style.top = "" + Math.round(player.Pos.Z) + "px"; it surely works at first place, but without regards of the boundaries and dimensions of the wordmap DIV...[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact