Search found 73 matches
- Sun Dec 16, 2018 6:58 am
- Forum: Libraries and Tools
- Topic: love-joycon - Switch controller support for LÖVE
- Replies: 3
- Views: 6938
Re: love-joycon - Switch controller support for LÖVE
Can you attach an example? The demo doesnt print out anything when I press something on the joycons.
- Mon Apr 30, 2018 2:29 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838101
Re: Simple Tiled Implementation - STI v0.18.2.1
(Sorry for interrupting) I just figured it out. I made an object layer and individual putted a custom property and that seem to have solved it.
- Sun Apr 29, 2018 6:21 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838101
Re: Simple Tiled Implementation - STI v0.16.0.3
Thanks Karai, No worries, I realised putting my query on the end of this topic might mean it would be buried.. but I thought it might end up being useful to others. Thanks for clarifying. I think that's where I was getting confused. As you said, the only thing your plugin is concerned with is the c...
- Sun Apr 29, 2018 5:39 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838101
Re: Simple Tiled Implementation - STI v0.18.2.1
(The IDE that Im using is zerobrane) What Im trying to accomplish is that theres gonna be 3 parts of the player, that wont collide with each other but collides with walls, there also gonna be gates which the 3 parts of the player can go through depending on there color. Thanks for the pointers!
- Sun Apr 29, 2018 1:38 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838101
Re: Simple Tiled Implementation - STI v0.18.2.1
Here it is, the code is on the player file. Im sorry if my code is a bit messy
- Sun Apr 29, 2018 11:43 am
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838101
Re: Simple Tiled Implementation - STI v0.18.2.1
This is my code filter = function(item, other) for k,v in pairs(other.properties) do print(k,v) end if other.properties.collidable then return "slide" elseif other.properties.Player then return "cross" end end P.x, P.y, Cols, len = world:move(P,P.x,P.y,filter) Am I missing someth...
- Sun Apr 29, 2018 11:38 am
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838101
Re: Simple Tiled Implementation - STI v0.18.2.1
Printing out nothing except "Player true".
- Sat Apr 28, 2018 3:29 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838101
Re: Simple Tiled Implementation - STI v0.18.2.1
Stupid question incoming. How do I do that? or Where do I do that?
- Sat Apr 28, 2018 1:46 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838101
Re: Simple Tiled Implementation - STI v0.18.2.1
Yes, the slide function works. Ive tried replacing "cross" with "slide" and it works. Im not sure why the collidable thing doesnt work.
- Sat Apr 28, 2018 1:38 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838101
Re: Simple Tiled Implementation - STI v0.18.2.1
Im trying to make my own filter in Bump filter = function(item, other) print(tostring(other.properties.collidable)) if other.properties.collidable then return "slide" elseif other.properties.Player then return "cross" end end The first if statement doesnt work and it prints out n...