Posted: 12th Nov 2021 5:05
Ok. I see

You will have to use 4 lines from the center and another line to get the distance because it is 2d.

when measuring in radians, an angle of ? radians will correspond to an arc whose length is r?, where r is the radius of the circle. Thus in the unit circle, "the arc whose cosine is x" is the same as "the angle whose cosine is x", because the length of the arc of the circle in radii is the same as the measurement of the angle in radians.[11] In computer programming languages, the inverse trigonometric functions are often called by the abbreviated forms asin, acos, atan.[12]


We will have to build a function to use the 4 lines with asin, acos, atan

Let me try, ill let you know.
Posted: 12th Nov 2021 5:10
y=sin?1(x)


This is where I start.
Posted: 12th Nov 2021 5:27
I need 3D, this is a piece of cake in 2D

the diameter of the sphere can be calculated from the 2 points to the centre, easy I've done that, what I need now is the arc value of the curve along the path between the 2 points, I know you take the diameter from the previous calculation and the arc distance between the 2 points and you have the height at each factor of the path (as I understand what I am reading)

-ArcTan is the answer, I am sure of that, just cant get the formula right.
Posted: 12th Nov 2021 5:39
the diameter of the sphere can be calculated from the 2 points to the centre, easy I've done that,


Oh, I should have read your whole post sorry.

-ArcTan is the answer, I am sure of that, just cant get the formula right.


Can I ask why? because there might be a easer way to do what your needing.
Posted: 12th Nov 2021 5:54
see the video in my thread, the line of yellow dots should be on the surface of the sphere, the red lines are just debug to visualise the math so far, also any follow up on this subject can be posted there, lets not pollute this thread anymore with my issue.
Posted: 12th Nov 2021 19:09
[size=xlarge]NOW OVER $1000 IN CASH AND PRIZES[/size]
Posted: 12th Nov 2021 19:26
Nice, I better get coding some actual game mechanics then

Why am I double posting all of a sudden, never happened before now twice in 2 days, is that my end or TGC end?
Posted: 12th Nov 2021 22:46
NOW OVER $1000 IN CASH AND PRIZES


That needs to be decided how it will be awarded, because saying there is cash prizes and not just a cash prize says winners will win just a certain amount.

Now I'm not doing this to win any money, it would be a extra cool thing, but I think it is fair to say who gets what for what.

CASH AND PRIZES

Cash for what, What prizes?

I better get coding some actual game mechanics then


Yes, Because I already have a full working game that has just about everything, but do not stress, we still have a month till after Christmas. Because your game will be much better if you don't rush it.
Posted: 12th Nov 2021 22:54
That needs to be decided how it will be awarded, because saying there is cash prizes and not just a cash prize says winners will win just a certain amount.

We haven't decided exactly how we will divvy up the cash/prizes but it looks like there will be 1st, 2nd, 3rd and an Encouragement award

Cash for what, What prizes?

We are still chasing a number of additional prize opportunities and are in the process of getting logos etc from sponsors so we can post specifics.

One thing is for sure though. If you don't eneter a game you won't win anything.
Posted: 12th Nov 2021 23:02
Encouragement award


I Encourage That everyone start making something soon.

I just finished adding 5 guns with different ammo amounts and hit point damages . You will have cash in the game, fake cash, and you have to spend this for what guns you want for each level. There will be ten guns of all.

One is a guy who is in a plow who runs over a group of zombies, he is like a one hit for a swarm.

Having fun with this.
Posted: 12th Nov 2021 23:19
Its not for us to say who gets what that's down to the organizers...

Yes, Because I already have a full working game that has just about everything, but do not stress,


I don't stress, if its ready its ready, if not, well even a playable tech demo qualifies as a viable entry, innovation does not come overnight

You know what, If I come last and a single person says "wow, that's got potential", in my mind, I have won, besides, your entry and mine will not be judged in the same category, we are not competing, Phaelax, Raven and Janbo on the other hand are going to give me some stiff competition!! (as I'm sure a few others will too)

@Phaelax, I am also bringing my A game lol
Posted: 12th Nov 2021 23:22
your entry and mine will not be judged in the same category,


Don't Speak to soon, You haven't seen my finished product yet lol.
Posted: 12th Nov 2021 23:29
HaHa, in that case, bring it on!
Posted: 12th Nov 2021 23:58
HaHa, in that case, bring it on!


I just love to compete, Mabey you should have not gave me such good advice on how to code, same for Virtual Nomad.

You both helped me so much in learning.

Edit::

So here we go, a updated video of how I'm implementing the gun system, or should I say plant system.
Posted: 13th Nov 2021 0:55
Don't forget there are plenty of free Tower defense asset packs out there including this Kenny one, or google for more
Posted: 13th Nov 2021 1:09
Hammertime!



that might be an axe? either way, good stuff
Posted: 13th Nov 2021 1:11
MC Hammer wrote: "Hammertime!"


Posted: 13th Nov 2021 1:26
So here we go, a updated video


Looking good

I have not even started an actual "game" yet but I have part built 3 tools so far to help with its development (you guys know what I'm on about here, right?) the first one you saw, the path utility, this tool (below) will help me populate the planet with decor and items and save out as json (unfinished ATM) but this is the astatic I am thinking of going with, I tried a toon shader but... still unsure, the 3rd tool also unfinished is ..... TOP SECRET! .... not giving everything away, has to be some surprises!!



Looks to much like cheap carpet, doesn't it? ....

That's better, some Aqua

Posted: 13th Nov 2021 1:47
I have part built 3 tools


Idea.

Make some tools for the user to build also, this will help us build a defense world on our own, now that would probably win, I should just shut up.
Posted: 13th Nov 2021 1:58
Yeah the user will have tools to build that's kind of the entire point of the game, these tools are to help me build the planet and data sets needed, I don't like doing it all in one project it just gets messy, that tool ^^ will produce a json file with the location of mountains, trees, city's and other consumables, everything beyond what you see now will be destructible even the mountains, you lose the game if the aliens strip your planet bare, people, rocks, trees they want the lot!

I got some funny things planned ... expose my warped sense of humour this game will!!