Search found 76 matches

by pedrosgali
Sun Jun 11, 2017 9:39 am
Forum: Support and Development
Topic: Rotating collision with a rotating map
Replies: 8
Views: 689

Re: Rotating collision with a rotating map

Hi, do you need to rotate your collisions? If the map is rotating on the screen their map position wont change, just the place you are drawing them. As far as your collisions are concerned the map wouldnt have moved at all. I may have misunderstood your question though.
by pedrosgali
Sat Apr 29, 2017 1:26 pm
Forum: General
Topic: little problem with rotation
Replies: 2
Views: 388

Re: little problem with rotation

You need to move the push to in front of the translate. love.graphics.push() Love.graphics.translate(x, y) love.graphics.rotate(angle) --draw stuff-- love.graphics.pop() Push sets a new series of transforms on the stack, you do your transform and rotation and any scaling should yiu need to then pop ...
by pedrosgali
Sat Apr 29, 2017 10:21 am
Forum: Games and Creations
Topic: Chaos Game
Replies: 3
Views: 769

Re: Chaos Game

It was an interesting numberphile, you should try making an implementation of the sand piles episode. Nice work. :)
by pedrosgali
Sat Apr 29, 2017 10:08 am
Forum: Support and Development
Topic: Can't Get Files of Desktop with LOVE2D
Replies: 6
Views: 791

Re: Can't Get Files of Desktop with LOVE2D

You are trying to print a table, that's why it says 'tableX0...'. Try

Code: Select all

for k in pairs(desktopFiles) do
  print(desktopFiles[k])
end
Don't think love can read from your desktop though without using FFI. I've not used it before, maybe someone else can help with that. :)
by pedrosgali
Mon Apr 03, 2017 3:54 pm
Forum: Libraries and Tools
Topic: osmlove library (OSM maps in your Love2D projects)
Replies: 10
Views: 1452

Re: osmlove library (OSM maps in your Love2D projects)

This is incredibly cool, I had no idea I wanted this until I saw it and now I can't stop thinking about what I could make with it. Good job.
by pedrosgali
Sun Apr 02, 2017 6:29 am
Forum: General
Topic: I Need clarification and advice for Isometric map draw system
Replies: 5
Views: 847

Re: I Need clarification and advice for Isometric map draw system

Yeah, the draw calls are still a little slow on mine too. Especially when zoomed out. I did save a lot of frames by drawing to a canvas and only updating it when the camera moves / only drawing the meshes that are in the viewing window. If people are interested I could release this as a library, I k...
by pedrosgali
Sat Apr 01, 2017 9:48 pm
Forum: General
Topic: I Need clarification and advice for Isometric map draw system
Replies: 5
Views: 847

Re: I Need clarification and advice for Isometric map draw system

Thanks, if you have any questions just let me know. I still need to get the mouse picking up what tile it is over too so the functions you see in the example don't actually work yet.
by pedrosgali
Sat Apr 01, 2017 6:14 pm
Forum: General
Topic: I Need clarification and advice for Isometric map draw system
Replies: 5
Views: 847

Re: I Need clarification and advice for Isometric map draw system

Hey there, I'm just writing an isometric camera system. I don't have much time to type right now but it does all the things you're looking for, here's a .love. The chunk camera module is in /Data/system/chunk_camera.lua It isn't really commented as yet, sorry about that but hopefully you can get som...
by pedrosgali
Sun Mar 26, 2017 2:49 pm
Forum: General
Topic: LÖVE 0.10.2 released
Replies: 42
Views: 14521

Re: LÖVE 0.10.2 released

That is strange, have you tried launching from a different editor like zerobraine?