Search found 1088 matches

by Gunroar:Cannon()
Sat Jul 09, 2022 6:49 pm
Forum: Support and Development
Topic: I have 1 question.
Replies: 10
Views: 4871

Re: I have 1 question.

(Max 3 attachments, so double post :brows:) dromety_32x32.png All based off this version of the Parrot AR 2.0 by the way... https://i.ytimg.com/vi/xWCYNiyqY8o/maxresdefault.jpg You could also make attempts at art, though I understand you might feel that some art you do may look like a turd, but at l...
by Gunroar:Cannon()
Sat Jul 09, 2022 6:45 pm
Forum: Support and Development
Topic: I have 1 question.
Replies: 10
Views: 4871

Re: I have 1 question.

How can I make a game like duskers? I know to some people this is bad coming from me but...errr...you could think? If you don't really have a problem that needs fixing then maybe put it in General. I dunno :P Not really sure what you mean (didn't watch the video ) but also look at algorithms like h...
by Gunroar:Cannon()
Sat Jul 09, 2022 2:56 pm
Forum: Support and Development
Topic: Cric-I mean CIRC-ular velocity
Replies: 20
Views: 4120

Re: Cric-I mean CIRC-ular velocity

The thing is that the parent doesn't have an angular velocity (isn't orbitting something else). Just if it moves left while the rotator is orbiting to the right it appears slower (though I believe it's going at the right speed, just the illusion caused by the parent moving) so ... I'll try to post a...
by Gunroar:Cannon()
Sat Jul 09, 2022 10:05 am
Forum: Support and Development
Topic: Cric-I mean CIRC-ular velocity
Replies: 20
Views: 4120

Re: Cric-I mean CIRC-ular velocity

Haha, dang I'm stupid. I didn't copypaste, and I was distracted while typing it out, that's why there's so many mistakes. In cos and sin should be time_alive (time which entity has lived). And the problem of the rotator appearing to orbit slower when the parent is moving is still there with your code.
by Gunroar:Cannon()
Fri Jul 08, 2022 8:23 pm
Forum: Support and Development
Topic: Cric-I mean CIRC-ular velocity
Replies: 20
Views: 4120

Re: Cricular velocity

Just realized Ibspelt Circular incorrectly. :rofl: Sorry Okay, I used a code like this to rotate an object around a point rotator.getVx = function(self, vx) return math.cos(vx)*radius+vx and 1) Is the radius global? It's pseudocode. 2) Why "+vx"? getVx doesn't change vx, only modifies it.....
by Gunroar:Cannon()
Fri Jul 08, 2022 6:53 pm
Forum: Support and Development
Topic: Cric-I mean CIRC-ular velocity
Replies: 20
Views: 4120

Re: Cricular velocity

Okay, I used a code like this to rotate an object around a point rotator.getVx = function(self, vx) return math.cos(self.time_alive)*radius+vx and rotator.getVy = function (self, vy) return math.sin(self.time_alive)*radius+vy end rotator. update = function (self, dt) ... self.x = self.x + self:getVx...
by Gunroar:Cannon()
Fri Jul 08, 2022 6:38 pm
Forum: Support and Development
Topic: Buttons on android?
Replies: 3
Views: 1572

Re: Buttons on android?

by Gunroar:Cannon()
Tue Jul 05, 2022 8:08 am
Forum: Libraries and Tools
Topic: lua_switch, a shorthand for creating switch statements in lua
Replies: 5
Views: 5558

Re: lua_switch, a shorthand for creating switch statements in lua

I like this one... I like this one very much :joker:
Seems useful to me.
by Gunroar:Cannon()
Mon Jul 04, 2022 11:44 am
Forum: Support and Development
Topic: Attaching an entity's collision box to another moving object
Replies: 4
Views: 1230

Re: Attaching an entity's collision box to another moving object

So if the player goes 10 pixels in this step, but the carried object can be moved just 5 pixels until the collision, then the player goes to the 5 pixels too. In this way the collision of the carried object is a collision for the player too. Normally the collision detection is: Player: can I move m...