New Reply
Name
×
Email
Subject
Message
File 1000MB total
Tegaki
Password
[New Reply]


✞
Psalm 94


1_f9mTQNFSsK7awHA1WqfrfQ.gif
[Hide] (319.4KB, 1920x1020)
need a strictly 2d game engine with eliptical path tool, so i dont have to write a bunch of shid like a circle path
Replies: >>64
>>55 (OP) 
deg = 0;
centerX = x coordinate
centerY = y coordinate
radius = whatever integer
speed = whatever integer

degree +=  speed
current_x = centerX + radius * degree_sin(deg);
current_y = centerY + radius * degree_cos(deg);

congratulations you have an elliptical orbit
Replies: >>106
>>64 lol tx
[New Reply]
2 replies | 1 file
Connecting...
Show Post Actions

Actions:

Captcha:

- news - rules - faq -
- telegram -
jschan v. [ARBITRARY NUMBER]