Little Help Fellow Programmers ?

Miscellaneous. No spam or advertisements, constructive discussion encouraged.
User avatar
fr0stbyte124
Developer
Posts:727
Joined:Fri Dec 07, 2012 3:39 am
Affiliation:Aye-Aye
Re: Little Help Fellow Programmers ?

Post by fr0stbyte124 » Mon May 13, 2013 1:47 pm

Iv121 wrote:Yea you pretty much *Deleted program made 3D* for the noob I am :tongue: , this is gonna impress the examiner for sure ...

The vector points at the tile I'm currently checking ?
The point where your ray intersects the obstacles, assuming they are square blocks like in your illustration. You can use this to construct an overlay of what your tank can see, if you like. There are some further optimization you can do to make the overlay nice and sharp, but this is good enough for now.

Btw, since when were you planning to make it 3D? This is the first I've heard of it.

User avatar
Iv121
Vice Admiral
Vice Admiral
Posts:2414
Joined:Fri Dec 07, 2012 3:40 pm
Affiliation:UTN
Location:-> HERE <-

Re: Little Help Fellow Programmers ?

Post by Iv121 » Mon May 13, 2013 1:50 pm

Well originally the whole point was to determine the obstacles ... maybe a sketch would help.
They're watching ... Image

"I am forbidden tag" -CvN

User avatar
fr0stbyte124
Developer
Posts:727
Joined:Fri Dec 07, 2012 3:39 am
Affiliation:Aye-Aye

Re: Little Help Fellow Programmers ?

Post by fr0stbyte124 » Mon May 13, 2013 1:51 pm

Yeah, but they are obstacles on a 2D map, right?

Or are you planning on having elevation and stuff like that?

User avatar
Iv121
Vice Admiral
Vice Admiral
Posts:2414
Joined:Fri Dec 07, 2012 3:40 pm
Affiliation:UTN
Location:-> HERE <-

Re: Little Help Fellow Programmers ?

Post by Iv121 » Mon May 13, 2013 1:52 pm

No, it's 2D flat.
They're watching ... Image

"I am forbidden tag" -CvN

Loggerc4
Cadet
Cadet
Posts:15
Joined:Sat Jan 24, 2015 8:39 am
Affiliation:Ext-Vel
IGN:Loggerc4
Location:Earth..?

Re: Little Help Fellow Programmers ?

Post by Loggerc4 » Mon May 13, 2013 3:05 pm

I can help you.
'Tis not th'y 'monstrosity' you speak of, 'tis SCIENCE!!

Ivan2006
Fleet Admiral
Fleet Admiral
Posts:3021
Joined:Fri Dec 07, 2012 12:10 pm
Affiliation:[redacted]
IGN:Ivan2006
Location:In a universe.
Contact:

Re: Little Help Fellow Programmers ?

Post by Ivan2006 » Mon May 13, 2013 3:10 pm

Who yre you?
Quotes:
Spoiler:
CMA wrote:IT'S MY HOT BODY AND I DO WHAT I WANT WITH IT.
Tiel wrote:hey now no need to be rough
Daynel wrote: you can talk gay and furry to me any time
CMA wrote:And I can't fuck myself, my ass is currently occupied

Vinyl
Fleet Admiral
Fleet Admiral
Posts:3217
Joined:Wed Dec 05, 2012 9:54 pm
Affiliation:Hexalan
IGN:PCaptainRexK
Location:Hexalan

Re: Little Help Fellow Programmers ?

Post by Vinyl » Mon May 13, 2013 3:12 pm

Princess lua obviously.
cats wrote:I literally cannot be wrong about this fictional universe

Ivan2006
Fleet Admiral
Fleet Admiral
Posts:3021
Joined:Fri Dec 07, 2012 12:10 pm
Affiliation:[redacted]
IGN:Ivan2006
Location:In a universe.
Contact:

Re: Little Help Fellow Programmers ?

Post by Ivan2006 » Mon May 13, 2013 3:14 pm

Doesn´t appear like someone I know.
Er... lua, you a brony?
Quotes:
Spoiler:
CMA wrote:IT'S MY HOT BODY AND I DO WHAT I WANT WITH IT.
Tiel wrote:hey now no need to be rough
Daynel wrote: you can talk gay and furry to me any time
CMA wrote:And I can't fuck myself, my ass is currently occupied

User avatar
fr0stbyte124
Developer
Posts:727
Joined:Fri Dec 07, 2012 3:39 am
Affiliation:Aye-Aye

Re: Little Help Fellow Programmers ?

Post by fr0stbyte124 » Mon May 13, 2013 3:47 pm

Don't scare off Princess Lua.

Luna
Lieutenant
Lieutenant
Posts:583
Joined:Thu Dec 06, 2012 7:21 pm

Re: Little Help Fellow Programmers ?

Post by Luna » Mon May 13, 2013 3:49 pm

Princess Lua wrote:I can help you.
Who is this?
"The Sky is the Limit"
Image
Commander Error wrote:"Titan" - Moves slightly quicker than a glacier, on a good day.
Prototype wrote:F-14s are just gay Tornados.
Catsonmeth wrote:Which meant every two weeks, Tuesday night was reserved for mainlining coffee and getting sensual with a keyboard

User avatar
Iv121
Vice Admiral
Vice Admiral
Posts:2414
Joined:Fri Dec 07, 2012 3:40 pm
Affiliation:UTN
Location:-> HERE <-

Re: Little Help Fellow Programmers ?

Post by Iv121 » Mon May 13, 2013 3:53 pm

Well Lua is a programming language ... as for Princess Lua maybe you want to introduce yourself to the forum ?
They're watching ... Image

"I am forbidden tag" -CvN

 ҉ 
Commodore
Commodore
Posts:1574
Joined:Thu Dec 06, 2012 6:50 am
Affiliation:Kzinti Empire
Location:Kzinhome

Re: Little Help Fellow Programmers ?

Post by  ҉  » Mon May 13, 2013 4:07 pm

That would be Tiel.
;.'.;'::.;:".":;",,;':",;

(Kzinti script, as best as can be displayed in Human characters, translated roughly as "For the Patriarchy!")

User avatar
fr0stbyte124
Developer
Posts:727
Joined:Fri Dec 07, 2012 3:39 am
Affiliation:Aye-Aye

Re: Little Help Fellow Programmers ?

Post by fr0stbyte124 » Mon May 13, 2013 4:09 pm

Aww, you spoiled it.

Luna
Lieutenant
Lieutenant
Posts:583
Joined:Thu Dec 06, 2012 7:21 pm

Re: Little Help Fellow Programmers ?

Post by Luna » Mon May 13, 2013 4:34 pm

not true, its a new member.
"The Sky is the Limit"
Image
Commander Error wrote:"Titan" - Moves slightly quicker than a glacier, on a good day.
Prototype wrote:F-14s are just gay Tornados.
Catsonmeth wrote:Which meant every two weeks, Tuesday night was reserved for mainlining coffee and getting sensual with a keyboard

 ҉ 
Commodore
Commodore
Posts:1574
Joined:Thu Dec 06, 2012 6:50 am
Affiliation:Kzinti Empire
Location:Kzinhome

Re: Little Help Fellow Programmers ?

Post by  ҉  » Mon May 13, 2013 5:16 pm

Princess Luna wrote:not true, its a new member.
It's Tiel's alt.
;.'.;'::.;:".":;",,;':",;

(Kzinti script, as best as can be displayed in Human characters, translated roughly as "For the Patriarchy!")

Post Reply