Tried to match the case of the module folder in the require string. No joy.
Tried making the module folder name all lower case chars and matching require string. No joy.
Search found 28 matches
- Sun Apr 23, 2017 4:50 pm
- Forum: Support and Development
- Topic: [solved] HardonCollider module not found
- Replies: 6
- Views: 4055
- Sun Apr 23, 2017 4:09 pm
- Forum: Support and Development
- Topic: [solved] HardonCollider module not found
- Replies: 6
- Views: 4055
[solved] HardonCollider module not found
I am following the HardonCollider tutorial . I cloned the module from GitHub git clone git://github.com/vrld/HardonCollider.git and organized the file/directory structure per the tutorial. HC = require 'hardoncollider' Fails with [string "HC = require 'hardoncollider'..."]:1: module 'hardo...
- Thu Apr 20, 2017 2:29 pm
- Forum: Games and Creations
- Topic: Simple math practice
- Replies: 3
- Views: 3624
Re: Simple math practice
I'm new to LOVE myself... I think it's neat to use it to visualize trigonometric problems, and I really like how your demo looks and feels. If I understand correctly, you're using the Pythagorean theorem to calculate the distance between two points. I wonder if it would help to present an interactiv...
- Thu Apr 13, 2017 4:38 pm
- Forum: Support and Development
- Topic: Wrap images around game window
- Replies: 20
- Views: 15136
- Wed Apr 12, 2017 7:52 pm
- Forum: Support and Development
- Topic: Wrap images around game window
- Replies: 20
- Views: 15136
Re: Wrap images around game window
I figured it out (.love) of the test project is attached. I don't know if this very efficient. I haven't wrapped my mind around doing collision detection with this setup. Visualizing this helped me think it through. Here's what I came up with on a piece of paper. The thick rectangle is the window. &...
- Tue Apr 11, 2017 10:29 pm
- Forum: Support and Development
- Topic: Wrap images around game window
- Replies: 20
- Views: 15136
Re: Wrap images around game window
So, on the surface this seemed simple. Handling crossing of borders when the image is only crossing a single edge is easy enough, but handing crossing at corners is more involved. I'll have to think on this overnight. Thanks!
- Tue Apr 11, 2017 1:48 pm
- Forum: Support and Development
- Topic: Wrap images around game window
- Replies: 20
- Views: 15136
Re: Wrap images around game window
Ha! Thanks! I'm grinning IRL because that is such an obvious solution. This foray into game making has so far been full of these little nuggets and little Eureka moments. It reminds me why I've gotten into programming to begin with.
Appreciate your help!
Appreciate your help!
- Tue Apr 11, 2017 11:33 am
- Forum: Support and Development
- Topic: Wrap images around game window
- Replies: 20
- Views: 15136
Wrap images around game window
Without checking the boundaries of a window, an image/sprite will gradually disappear beyond the edge of the window as the player/enemy moves out of bounds. Is it possible to keep this behavior, but have the part of the image that is beyond the window boundary appear along the opposite boundary? In ...