Search found 6 matches

by robertjawoods
Wed Jan 27, 2016 10:31 am
Forum: Support and Development
Topic: Code review?
Replies: 6
Views: 2347

Re: Code review?

Thanks for your input guys, I'm going to implement the changes you mentioned right away :)
by robertjawoods
Tue Jan 26, 2016 5:02 pm
Forum: Support and Development
Topic: Code review?
Replies: 6
Views: 2347

Re: Code review?

Hi there, thanks for your reply. I can see that there are distinctions in the way you right code (better design vs speed of development etc.), but personally I don't think I know enough for that to come into it yet. The code in question is a Tile Map editor for a tutorial on tiles that I followed. H...
by robertjawoods
Tue Jan 26, 2016 2:57 pm
Forum: Support and Development
Topic: Code review?
Replies: 6
Views: 2347

Code review?

Hi guys, can anyone recommend any sites where I could get my code reviewed? My code works as expected but as I taught myself to code rather than through a Comp Sci course, I feel that my code is awfully written and that I'd benefit from someone having a look over my code and telling me how I could d...
by robertjawoods
Sun Jan 17, 2016 1:08 pm
Forum: Support and Development
Topic: Problems playing animation
Replies: 4
Views: 2336

Re: Problems playing animation

Got it... thanks for your help :)
by robertjawoods
Fri Jan 15, 2016 7:54 pm
Forum: Support and Development
Topic: Problems playing animation
Replies: 4
Views: 2336

Re: Problems playing animation

I've edited my code to include frame = 1 if not Player.isAlive then if etime ~= nil and stime ~= nil then if etime - stime > 0.16 then frame = frame + 1 end end end and stime = love.timer.getTime() etime = Animation:PlayAnimation(explosionAnimation, Player.x, Player.y, explosionSpritesheet, frame) b...
by robertjawoods
Fri Jan 15, 2016 4:16 pm
Forum: Support and Development
Topic: Problems playing animation
Replies: 4
Views: 2336

Problems playing animation

Hi guys, pretty new to game development and very new to Love/Lua (started Wednesday) and I'm having an issue playing an animation I've created. My animation is in a 5x3 spritesheet with each sprite having dimensions of 96x96. Here is a function I created to return each sprite in an array of quads: f...