Search found 3 matches
- Thu Mar 01, 2018 8:40 am
- Forum: General
- Topic: iterating through a list for PolygonShape:getPoints()
- Replies: 6
- Views: 4185
Re: iterating through a list for PolygonShape:getPoints()
Thanks for the comments. I've followed through the logic and successfully set up my polygons. For those interested, this is what I've accomplished: https://love2d.org/imgmirrur/o22cUGl.png (The red dot represents the character location) pgimeno - in your example, I'm intrigued by the use of 'world' ...
- Thu Mar 01, 2018 1:08 am
- Forum: General
- Topic: iterating through a list for PolygonShape:getPoints()
- Replies: 6
- Views: 4185
Re: iterating through a list for PolygonShape:getPoints()
Thanks PGUp, I hadn't been clear enough - I've edited the original post for the reason I'm making polygons. There may be another way to do what I wish to do outside of creating a physics polygon (some complicated if then else statement according to the Cartesian coordinates, maybe?) but the primary ...
- Wed Feb 28, 2018 4:00 am
- Forum: General
- Topic: iterating through a list for PolygonShape:getPoints()
- Replies: 6
- Views: 4185
iterating through a list for PolygonShape:getPoints()
Hi lovers. I am a newb to Love2d and Lua, and am trying to make a game. One aspect that I am currently wrestling with is how to make polygons for my world map. I want to create polygons, and I also want to visualise them to help with my development/debugging. [Edit: The reason to make polygons is to...