Search found 19 matches

by aidalgol
Tue Nov 13, 2018 9:20 am
Forum: Support and Development
Topic: Implementing bouncing with HC
Replies: 2
Views: 3421

Re: Implementing bouncing with HC

pgimeno wrote: Mon Nov 12, 2018 6:28 pm The separating vector is not the bounce direction. It's more like the collision normal, but keep in mind it's not a unit vector.

Try with this: http://mathworld.wolfram.com/Reflection.html
Ah, that explains the 90° angle. Thanks! I shall read up on reflection.
by aidalgol
Mon Nov 12, 2018 9:35 am
Forum: Support and Development
Topic: Implementing bouncing with HC
Replies: 2
Views: 3421

Implementing bouncing with HC

I am trying to implement really basic physics using HC for collision detection, and I seem to have not implemented bouncing correctly. I have a moving ball and a static square, and I am trying to use the separating vector returned by HC.collisions() to change the direction of the ball's velocity so ...
by aidalgol
Fri Jul 20, 2018 7:30 am
Forum: General
Topic: Beginner looking for advice
Replies: 7
Views: 7861

Re: Beginner looking for advice

I'd second what everyone else has said, and also add some recommended reading: Finishing a Game by Derek Yu. I haven't finished a game yet myself, but the advice in that article has helped keep me from flailing even more than I do.
by aidalgol
Mon Jun 11, 2018 10:14 am
Forum: Libraries and Tools
Topic: Gladstone, a turn-based framework
Replies: 0
Views: 3278

Gladstone, a turn-based framework

I have been working on a framework for a turn-based stealth game off and on for the past year or so (I haven't had much free time), and I thought I'd share my progress. My demo "game" here is what I've been using to test features. It's not a playable game, but shows what little it can do s...
by aidalgol
Thu Jun 07, 2018 9:11 am
Forum: General
Topic: Does Löve support Linux ARM?
Replies: 14
Views: 15913

Re: Does Löve support Linux ARM?

Is it straightforward to build against OpenGL ES on Linux? There are several hobbyist ARM boards with official Linux support that only provide the OpenGL ES 2 profile. (Pretty much anything with a Mali GPU, for example.)
by aidalgol
Mon Mar 12, 2018 3:05 am
Forum: General
Topic: LOVE users map
Replies: 182
Views: 130508

Re: LOVE users map

Christchurch, New Zealand
by aidalgol
Sun Feb 25, 2018 2:18 am
Forum: Support and Development
Topic: Apply noise to bounce
Replies: 4
Views: 3709

Re: Apply noise to bounce

Thanks to everyone for their advice. I have started out using Box2D instead of just bump or HC because I wanted to add silly physics once I had a ball and two paddles. before zorg's post, I had implemented almost exactly that, but with randomNormal() instead of random(). I tried Ivan's suggestion of...
by aidalgol
Tue Feb 20, 2018 9:38 am
Forum: Games and Creations
Topic: Bump in the Night
Replies: 16
Views: 16869

Re: Bump in the Night

This looks really cool! Keen to see where this goes. It reminds me of the old game Mall Monster.
by aidalgol
Mon Feb 19, 2018 10:13 am
Forum: Support and Development
Topic: Apply noise to bounce
Replies: 4
Views: 3709

Apply noise to bounce

I'm trying to make a pong game, and I'm not sure how to introduce randomness to the angular velocity of the ball after it bounces off a paddle (which I want to do to make it a little less predictable than the original Pong). Each paddle is a static body, and the ball is a dynamic body with restituti...
by aidalgol
Mon Feb 19, 2018 9:57 am
Forum: Support and Development
Topic: Emacs Love2d autocompletion
Replies: 1
Views: 2817

Re: Emacs Love2d autocompletion

Not that this is of much help, but for what it's worth anyway, I use dabbrev-expand (bound to M-/), and that's been good enough. I've not had much joy with any autocompletion packages in Emacs. When I really want code completion, I use a completely different tool.