Search found 3 matches

by _Joply
Fri Sep 22, 2023 12:41 am
Forum: Support and Development
Topic: Confused on how to access the data field of STI tiled file
Replies: 1
Views: 1183

Confused on how to access the data field of STI tiled file

I am about to implement some pathfinding in a game I am working on using jumper, and when I looked inside the .lua files generated by tiled I saw that they have an array that seems convertable or usable for this. When i try accessing a layers data field I was expecting this array to be returned but ...
by _Joply
Mon Sep 18, 2023 11:07 pm
Forum: Support and Development
Topic: Need help understanding bump.lua and also why my bullets act this way
Replies: 3
Views: 1159

Re: Need help understanding bump.lua and also why my bullets act this way

Thanks, this worked, I also did your suggestion of adding fields for the width and height within the bullet object. I did have to modify it slightly to reference activeBullets because bullet itself would be nil local filterFunc = function(item) return item == enemy end for i = #activeBullets, 1, -1 ...
by _Joply
Mon Sep 18, 2023 8:32 am
Forum: Support and Development
Topic: Need help understanding bump.lua and also why my bullets act this way
Replies: 3
Views: 1159

Need help understanding bump.lua and also why my bullets act this way

I'm new to Love2D and I am trying to figure out using bump.lua for collisions. Right now, the bullets all disappear whenever you hit an enemy. I'm guessing for some reason either the bullet objects are not seperate, or it has to do something with how I am detecting collision/looping. It is very obvi...