Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Stefan p
17
Years of Service
User Offline
Joined: 2nd Nov 2008
Location: Online
Posted: 5th Jun 2010 19:21
I'm trying to figure out a way that I can convert 2d camera coordinates to 2d map coordinates and back. So that you can make 2d maps of sizes bigger then your screen.

I am mother and father, but never nurse.I'm rarely still, but I never wander. What am I? See my sketch
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 5th Jun 2010 23:39
I think a little more information might be needed here, there's not really enough info for anyone to give you anything constructive... sorry!

Stefan p
17
Years of Service
User Offline
Joined: 2nd Nov 2008
Location: Online
Posted: 5th Jun 2010 23:54
Ok, basically I almost have this solved but here is the code I am using now.


I am mother and father, but never nurse.I'm rarely still, but I never wander. What am I? See my sketch
Stefan p
17
Years of Service
User Offline
Joined: 2nd Nov 2008
Location: Online
Posted: 6th Jun 2010 00:46
Solved my problem.

I am mother and father, but never nurse.I'm rarely still, but I never wander. What am I? See my sketch
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 7th Jun 2010 10:55
Great, and thanks for posting your solution! Looks pretty neat.

Login to post a reply

Server time is: 2026-07-25 16:21:20
Your offset time is: 2026-07-25 16:21:20