Search found 3 matches

by Zidbot2000
Tue May 29, 2018 8:12 pm
Forum: Support and Development
Topic: [solved]How to get enemies to respawn their bullets?
Replies: 0
Views: 1585

[solved]How to get enemies to respawn their bullets?

edit: i solved it by realizing i needed to make a variable local. silly me! First off, I am very amateur so please forgive any odd code. Secondly, this is old code I recently got back into and still can't fix an old problem that made me quit in the first place. I'm making something akin to a bullet ...
by Zidbot2000
Sun Jun 26, 2016 8:31 pm
Forum: Support and Development
Topic: Collision/fixtures with irregular bodies?
Replies: 2
Views: 2123

Re: Collision/fixtures with irregular bodies?

love.physics or Box2D works with: -convex polygons up to 8 vertices -edges -circles So you have to use these shape types to represent whatever you need. Also, if you're doing this by hand, it's probably better to start in reverse - you create a map of polygons that actually works and is playable in...
by Zidbot2000
Sat Jun 25, 2016 11:04 pm
Forum: Support and Development
Topic: Collision/fixtures with irregular bodies?
Replies: 2
Views: 2123

Collision/fixtures with irregular bodies?

I am familiar with how to collide with regular shapes (like rectangles) but what if I have an object hidden behind an image like this: https://raw.githubusercontent.com/JelloMonster118/Bleed-Again/master/BleedAgain.love/gfx/stageplat1.png How do I create an object w/ a fixture for that so my other o...