Search found 48 matches
- Mon Nov 02, 2015 10:37 pm
- Forum: Libraries and Tools
- Topic: Pattern Generator v1.2b - Custom patterns!
- Replies: 20
- Views: 14334
Re: Pattern Generator v1.0 - Custom patterns!
Haha, this is super cool. What about a "randomize" button? Utilities like this could really use them.
- Mon Nov 02, 2015 10:26 pm
- Forum: Libraries and Tools
- Topic: [library] bump.lua v3.1.4 - Collision Detection
- Replies: 227
- Views: 124464
Re: [library] bump.lua v3.1.4 - Collision Detection
On that slope discussion earlier, wouldn't it be simplest from a "collision checks on the fly" perspective for the map to 'know' its surface vectors, and have character movement plot along them? As in, in any of the examples earlier, the ground may be several dozen separate tiles with sepa...
- Mon Nov 02, 2015 12:26 am
- Forum: Libraries and Tools
- Topic: Color Codes
- Replies: 4
- Views: 8925
Re: Color Codes
A quick google search resulted in this and I can only assume you converted it to RGB values for your personal use - but whatever the case, the list is still hard to peruse, particularly for comparing different shades of the same color choice. I'm not very color-savvy in general, but what would it ta...
- Thu Oct 29, 2015 11:04 pm
- Forum: Support and Development
- Topic: A quick question on Lua table indices
- Replies: 7
- Views: 3208
Re: A quick question on Lua table indices
Well this is for my interface code -- as you might have guessed from the above snippets, the purpose is to test if a interface function is active (such as: the confirm button) when that function has multiple possible buttons to activate it (such as, spacebar or return). This is called once per updat...
- Tue Oct 27, 2015 10:02 pm
- Forum: Support and Development
- Topic: A quick question on Lua table indices
- Replies: 7
- Views: 3208
Re: A quick question on Lua table indices
Are you sure you need numbered indices? You can iterate over string indices: self.controls = { confirm = {keys = {"enter", " "},isDown = false,}, back ={keys = {"escape", "backspace"},isDown = false,}, } for index, value in pairs(self.controls) do -- index no...
- Tue Oct 27, 2015 12:56 am
- Forum: Support and Development
- Topic: A quick question on Lua table indices
- Replies: 7
- Views: 3208
A quick question on Lua table indices
So I want to be able to iterate through a table of tables (see code below) using #table, yet also access those same members using string indices -- assigning them with string indices doesn't seem to give them numbered indices. So the best I could come up with is as follows: function interface:load()...
- Fri Sep 25, 2015 3:40 am
- Forum: Libraries and Tools
- Topic: [library] bump.lua v3.1.4 - Collision Detection
- Replies: 227
- Views: 124464
Re: [library] bump.lua v3.1.4 - Collision Detection
both options can work. either "1 world per slice" or "everything in one world, and filter by slice". the former will probably be slightly more efficient, but also probably more difficult to work with. also, please use the following thread to talk about bump, this one is about a ...
- Wed Sep 23, 2015 6:13 pm
- Forum: Libraries and Tools
- Topic: bump.lua - minimal collision detection lib
- Replies: 71
- Views: 43389
Re: bump.lua - minimal collision detection lib
I'm trying to think about how one would utilize multiple bump worlds to create background and foreground collision layers, and a player that can move between them. Would it be best to have a player hitbox in each layer and just control the one in the active layer, making the appropriate changes with...
- Tue Sep 22, 2015 6:54 pm
- Forum: Games and Creations
- Topic: 1px
- Replies: 15
- Views: 5268
Re: 1px
Oh jeez. I love this game so much. This is like "megahard" platformers boiled down to hitboxes.
- Tue Sep 22, 2015 5:28 pm
- Forum: Support and Development
- Topic: HSL Color Conversion issue
- Replies: 6
- Views: 2548
Re: HSL Color Conversion issue
Hm. I wonder what the original purpose of the 0-255 was, then. Either way, my problem's been solved, and I've already begun to convert my RGB to HSL unilaterally across my game. Thanks again.