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
2 registered members (AndrewAMD, Ayumi), 1,405 guests, and 4 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
Page 1 of 2 1 2
[PAID] flight destination targeting #333042
07/13/10 19:09
07/13/10 19:09
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
William Offline OP
Expert
William  Offline OP
Expert

Joined: Aug 2001
Posts: 2,320
Alberta, Canada
Hello,

I need a flight navigation code. Basically, the plane is targeting a destination, and when the destination gets out of view, it shows up as a small rotating panel arrow on the screen which points to the object no matter where it is(up, down, left, right).

Here is a screen-shot showing this:



I will need it to support up to 11 individual arrows pointing to 11 different objects. I would like to have the arrow pointing closer to the edge of the screen than in this image. As well, the more accurate the better.

You do not have to code the targeting when the object is on screen, just the arrows that point properly when the object is off screen. The arrows should be panels. Make a small test demo showcasing this code. Please PM me if you are interested.


I will pay $50 for this, and PayPal is required for payment.

Cheers,
Will


Check out Silas. www.kartsilas.com

Hear my band Finding Fire - www.myspace.com/findingfire

Daily dev updates - http://kartsilas.blogspot.com/
Re: [PAID] flight destination targeting [Re: William] #333048
07/13/10 19:51
07/13/10 19:51
Joined: Mar 2003
Posts: 3,010
analysis paralysis
NITRO777 Offline
Expert
NITRO777  Offline
Expert

Joined: Mar 2003
Posts: 3,010
analysis paralysis
To do this properly you need somebody who is comfortable with dot product calculations because essentially you need to project the vector of the target upon a plane which is attached to the player's pan. Then determine what degree of roation it is relative to that plane.

(To be honest I never could quite wrap my head around it enough to code it wink

Re: [PAID] flight destination targeting [Re: NITRO777] #333051
07/13/10 20:09
07/13/10 20:09
Joined: Jun 2008
Posts: 428
Rasch Offline
Senior Member
Rasch  Offline
Senior Member

Joined: Jun 2008
Posts: 428
The hard part would be to set the different targets i think.

The rest could be done with a 3d arrow (thin enought to look 2d) which can rotate in all axis.

Re: [PAID] flight destination targeting [Re: Rasch] #333057
07/13/10 20:39
07/13/10 20:39
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
William Offline OP
Expert
William  Offline OP
Expert

Joined: Aug 2001
Posts: 2,320
Alberta, Canada
I'm not as great at math as I'd like, so that's why I put this job up. I'm not looking for a 3d arrow that points to the nearest target. But rather 2d panel arrows that circle around the screenspace and points to their target.

I'm willing to negotiate a higher price for it if it takes a fair bit of time to code.


Check out Silas. www.kartsilas.com

Hear my band Finding Fire - www.myspace.com/findingfire

Daily dev updates - http://kartsilas.blogspot.com/
Re: [PAID] flight destination targeting [Re: William] #333059
07/13/10 21:01
07/13/10 21:01
Joined: Jun 2008
Posts: 428
Rasch Offline
Senior Member
Rasch  Offline
Senior Member

Joined: Jun 2008
Posts: 428
What do you have done so far? I think it´s necessary to combine your targeting script with the arrow script if there´s already one.

Re: [PAID] flight destination targeting [Re: Rasch] #333061
07/13/10 21:09
07/13/10 21:09
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
William Offline OP
Expert
William  Offline OP
Expert

Joined: Aug 2001
Posts: 2,320
Alberta, Canada
My targeting is mixed in with a bunch of other code. I don't think it's really necessary as the arrow script doesn't kick in until the entity leaves the screen. I will handle whatever shows when the entity is on the screen.


Check out Silas. www.kartsilas.com

Hear my band Finding Fire - www.myspace.com/findingfire

Daily dev updates - http://kartsilas.blogspot.com/
Re: [PAID] flight destination targeting [Re: Rasch] #333062
07/13/10 21:10
07/13/10 21:10
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Why? Three functions would be enough: One that creates an arrow and returns it's id, one that allsows you to update the target and one that removes a arrow.

The rest (updating the panels etc) could be done transparent in the background, no need to integrate it into existing code.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: [PAID] flight destination targeting [Re: WretchedSid] #333146
07/14/10 12:14
07/14/10 12:14
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
@William, you've gone over your PM limit, you'll need to delete some. I may have some code that can help you...

Re: [PAID] flight destination targeting [Re: DJBMASTER] #333156
07/14/10 13:37
07/14/10 13:37
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
i am like: "What is it so hard around it i guess i can easily do that?"

will give it a try

edit: i created such script, around 30 lines, unlimited arrows, can be dinamacally added/removed, can point to moving objects etc. But i have some questions about your request thanks.


Last edited by Quadraxas; 07/14/10 15:15.

3333333333
Re: [PAID] flight destination targeting [Re: Quad] #333211
07/14/10 19:47
07/14/10 19:47
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
Worth a go and completed relatively quickly, so... will accept payment of $40 or $20 with credits, contact me at jks_here@hotmail.com if you are happy with that.

Page 1 of 2 1 2

Moderated by  checkbutton, Inestical, Perro 

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