Search found 73 matches

by KyleFlores1014
Sun Dec 16, 2018 6:58 am
Forum: Libraries and Tools
Topic: love-joycon - Switch controller support for LÖVE
Replies: 3
Views: 2620

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.
by KyleFlores1014
Mon Apr 30, 2018 2:29 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 177273

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.
by KyleFlores1014
Sun Apr 29, 2018 6:21 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 177273

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...
by KyleFlores1014
Sun Apr 29, 2018 5:39 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 177273

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!
by KyleFlores1014
Sun Apr 29, 2018 1:38 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 177273

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
game.love
(6.63 MiB) Downloaded 110 times
by KyleFlores1014
Sun Apr 29, 2018 11:43 am
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 177273

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 something here?
by KyleFlores1014
Sun Apr 29, 2018 11:38 am
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 177273

Re: Simple Tiled Implementation - STI v0.18.2.1

Printing out nothing except "Player true".
by KyleFlores1014
Sat Apr 28, 2018 3:29 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 177273

Re: Simple Tiled Implementation - STI v0.18.2.1

Stupid question incoming. How do I do that? or Where do I do that?
by KyleFlores1014
Sat Apr 28, 2018 1:46 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 177273

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.
by KyleFlores1014
Sat Apr 28, 2018 1:38 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 775
Views: 177273

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 nil, Is there somethi...