Search found 281 matches
- Mon Nov 02, 2020 4:03 am
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 490558
Re: Groverburger's 3D Engine (G3D) New and Improved!
Oh my bad, i didn't specify what i meant by lighting. What I meant was environmental lighting like shadow and flashlight. Just being realistic here. It might be better for you to try a higher-level engine that already comes with those features, like Unreal or Unity, where you mostly tick the box on...
- Thu Oct 29, 2020 4:03 am
- Forum: Libraries and Tools
- Topic: Fast 2D point-in-polygon test
- Replies: 13
- Views: 17522
Re: Fast 2D point-in-polygon test
Hi @pgimeno, thanks for the alternative! Do you have a license on that, in case someone drops by from a web search looking for something to use?
- Mon Oct 26, 2020 8:06 am
- Forum: Libraries and Tools
- Topic: Fast 2D point-in-polygon test
- Replies: 13
- Views: 17522
Fast 2D point-in-polygon test
This is a Lua port of W. Randolph Franklin's method for quickly testing if a point is within a 2D polygon. The polygon must be defined as a sequence of connected points, and can be convex or concave as well as self-intersecting. preview.gif Inline main.lua: --[[ Fast 2D point-in-polygon test. This u...
- Wed Oct 14, 2020 8:13 pm
- Forum: Support and Development
- Topic: Having trouble randomizing simple tilesets
- Replies: 5
- Views: 4649
Re: Having trouble randomizing simple tilesets
@pgimeno wow, cool stuff! You are (temporarily) setting a metatable to the '_G' global names table, whose '__index' metamethod will get the result of that random number function wherever you place the name "v" in your code. This relies on you never setting any global variable named "v...
- Mon Oct 12, 2020 9:51 pm
- Forum: Support and Development
- Topic: Created .exe, when running .exe error unable to load audio file
- Replies: 26
- Views: 12813
Re: Created .exe, when running .exe error unable to load audio file
Does the audio system exist at the point where the 'newSource' function gets called? Regarding the timeline of events, is the sound loading at least invoked from within love.load() or later? I would be concerned with using LÖVE's systems/API at any point before love.load() is called. Later than that...
- Sat Oct 10, 2020 6:21 pm
- Forum: Support and Development
- Topic: Created .exe, when running .exe error unable to load audio file
- Replies: 26
- Views: 12813
Re: Created .exe, when running .exe error unable to load audio file
When creating the exe, my love file does need to be in the love folder with love.exe, right? As far as I know there's two ways of running your LÖVE games: Command-line: love.exe "path/to/folder" (running the main script directly, it should be inside /folder/) love.exe "other/path/to/...
- Fri Oct 09, 2020 10:45 pm
- Forum: Support and Development
- Topic: Created .exe, when running .exe error unable to load audio file
- Replies: 26
- Views: 12813
Re: Created .exe, when running .exe error unable to load audio file
Are you sure that the .exe + .love fusion is being done properly? If you comment out that font loading, do the other assets load properly?
- Fri Oct 09, 2020 3:39 pm
- Forum: Support and Development
- Topic: Created .exe, when running .exe error unable to load audio file
- Replies: 26
- Views: 12813
Re: Created .exe, when running .exe error unable to load audio file
Is this "unable to load audio file" the only info that the error screen gives you? That's kinda vague. - It might fail if it can't find the file (bad relative path or no read permission). - It might fail if it does find the file but the contents are corrupted. - It might fail for some othe...
- Sun Oct 04, 2020 1:35 pm
- Forum: Support and Development
- Topic: Square Color Picker
- Replies: 9
- Views: 5323
Re: Square Color Picker
I'd favor a geometrical approach, mapping the cursor coordinates to (normalized) coordinates inside the picker rectangle, so you can plug them as the parameters of whatever color space that you're using (HSL, RGB, LCH etc.). The (normalized & clamped) cursor x and y will be numbers in the range ...
- Wed Sep 30, 2020 11:21 am
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 490558
Re: Groverburger's 3D Engine (G3D) New and Improved!
@pgimeno useful info, thank you.