Search found 10 matches

by ianfitz
Tue Jan 03, 2017 4:18 am
Forum: Support and Development
Topic: Noticed new Lua Debugger for VSCode
Replies: 3
Views: 4189

Re: Noticed new Lua Debugger for VSCode

Breakpoint and watches are working, but stepping through the code should work, but sadly does not. Any hints?
Ah that's too bad step through doesn't work. Unfortunately can't offer any hints, as after I posted I saw this is Windows only, and I'm on a Mac :(. Glad it was useful for you thought!
by ianfitz
Sun Jan 01, 2017 5:11 am
Forum: Support and Development
Topic: Noticed new Lua Debugger for VSCode
Replies: 3
Views: 4189

Noticed new Lua Debugger for VSCode

I just noticed this, seems new, anyone tried it? https://marketplace.visualstudio.com/items?itemName=devCAT.lua-debug I've been wanting to make the switch from Sublime to VSCode for a while as it has some nifty IDE-like features, but still can be configured to have the minimalist look I dig from Sub...
by ianfitz
Fri Aug 19, 2016 3:55 am
Forum: Support and Development
Topic: Only drawing every nth draw cycles
Replies: 8
Views: 997

Re: Only drawing every nth draw cycles

Hmmm, actually even though I have the code working I do have a question about that while loop. Just for my own learning. function love.update(dt) if love.keyboard.isDown("right", "d") then t = (t or 0) + dt while t > 0.1 do bg.x = bg.x - 64 t = t - 0.1 end end end If the while loop here used in esse...
by ianfitz
Fri Aug 19, 2016 3:17 am
Forum: Support and Development
Topic: Only drawing every nth draw cycles
Replies: 8
Views: 997

Re: Only drawing every nth draw cycles

Cool, I tested your approach and it works equally as well as my stepped approach visually, but the code is much cleaner the way you have done it, and easier to reason too. Attaching a reduced case (you can only hit right arrow key and scroll right, no bounds checking) for posterity. OurTeamSimpleSmo...
by ianfitz
Thu Aug 18, 2016 6:29 am
Forum: Support and Development
Topic: Only drawing every nth draw cycles
Replies: 8
Views: 997

Re: Only drawing every nth draw cycles

love.update = function (dt) if love.keyboard.isDown("right", "d") then t = (t or 0) + dt end while t > 0.5 do x = x + 32 t = t - 0.5 end end Making the method not seemed dependent on FPS seems smart to me. I'll try this out tomorrow and report back. , also you should take the advice that "if it wor...
by ianfitz
Thu Aug 18, 2016 2:30 am
Forum: Support and Development
Topic: Only drawing every nth draw cycles
Replies: 8
Views: 997

Re: Only drawing every nth draw cycles

You are not using delta time at all which is the most practical way to get smooth movement out of this kind of things. Something like stated on this thread Okay, just tried it out following the code I saw in that thread with the following changes: https://gist.github.com/ianfitzpatrick/2050a6187c44...
by ianfitz
Wed Aug 17, 2016 10:06 pm
Forum: Support and Development
Topic: Only drawing every nth draw cycles
Replies: 8
Views: 997

Only drawing every nth draw cycles

Hi All, I am finally getting my hands dirty with Löve so can I just like, pre-emptively apologize for all the posts I will be making asking for questions over weeks and months to come? :P TLDR: How do you sidescroll at a fast rate without things getting all blurry/hard to see? Okay, I am trying to s...
by ianfitz
Fri Jan 15, 2016 3:11 am
Forum: Support and Development
Topic: Learning Strategy / Tutorials for Löve 0.10.0
Replies: 7
Views: 1809

Re: Learning Strategy / Tutorials for Löve 0.10.0

Okay you've all convinced me ;). I'm just going to make a couple of small games and work through learning what I need to as I go, organic-like.

Maybe I'll post back to this thread one day and give an update of how it went.
by ianfitz
Mon Jan 04, 2016 12:01 am
Forum: Support and Development
Topic: Learning Strategy / Tutorials for Löve 0.10.0
Replies: 7
Views: 1809

Re: Learning Strategy / Tutorials for Löve 0.10.0

Hi, thanks for your responses. One follow up, I'm not looking for any 0.10.0 specific tutorials, I know it just came out. I more meant just tutorials that aren't completely broken by 0.10.10 is all. (I don't mind figuring out a little deprecated -> new way stuff, but if that's all I'm doing through ...
by ianfitz
Sun Jan 03, 2016 8:50 pm
Forum: Support and Development
Topic: Learning Strategy / Tutorials for Löve 0.10.0
Replies: 7
Views: 1809

Learning Strategy / Tutorials for Löve 0.10.0

Hi All, I'm new here, and could use some guidance on a learning path for Löve. Here's where I am so far: I spent a few days getting familiar with Lua (coming from Python) and that went smoothly. Next, I went through OSMstudio's Your First LÖVE Game in 200 Lines tutorial, and that went really well to...