Search found 1345 matches

by ivan
Sat Nov 17, 2018 12:19 pm
Forum: Games and Creations
Topic: Protobox
Replies: 2
Views: 74

Re: Protobox

It's pretty good. I see a lot of potential here. First of all, if you include the .love file, you would probably get more replies/feedback. I love the direction of the game, but didn't like the gameplay. The boxers move slow compared the .gif image you have posted above. You need more juicy effects,...
by ivan
Fri Nov 16, 2018 5:24 am
Forum: Games and Creations
Topic: PlusPlus: an app for people who can't count
Replies: 6
Views: 214

Re: PlusPlus: an app for people who can't count

I really appreciate the feedback! Do you have any other implementation recommendations off the top of your head? Yes, start by limiting the number of globals - you can check for this using the strict.lua library. In terms of the overall structure, I think you could design your objects based on: htt...
by ivan
Thu Nov 15, 2018 5:51 pm
Forum: Games and Creations
Topic: PlusPlus: an app for people who can't count
Replies: 6
Views: 214

Re: PlusPlus: an app for people who can't count

Your .love file is incorrectly packaged and you included the .git folder too... The code needs work as well. For starters, I would recommend "strict.lua". I like your idea of separating the underlying model (ticker) from the view (visualticker) - this is a good start but the implementation needs wor...
by ivan
Mon Nov 12, 2018 5:43 am
Forum: Libraries and Tools
Topic: amour - a basic scene graph library
Replies: 7
Views: 735

Re: amour - a basic scene graph library

There are significant advantages when scene graphs are used correctly. In my experience it's really about grouping things together. For example, if rendering things in order is important, then you are going to need some sort of scene-graph-like structure anyways. ...or let's say that you want to tra...
by ivan
Fri Nov 09, 2018 9:49 pm
Forum: General
Topic: Getting LOVE2D to run faster and AI stuff
Replies: 6
Views: 310

Re: Getting LOVE2D to run faster and AI stuff

The enemy is programmed to fire a circular bullet (with setBullet enabled) from the center of its own body Fixture:setFilterData can disable the collision between the two. Without "setFilterData" the two fixtures will push each other apart so there may be "knockback" to the enemy as well. if I stab...
by ivan
Fri Nov 09, 2018 8:53 am
Forum: General
Topic: Getting LOVE2D to run faster and AI stuff
Replies: 6
Views: 310

Re: Getting LOVE2D to run faster and AI stuff

You can use body:setBullet to mitigate the tunneling.
A constant timestep is highly recommended if you expect stable behavior for joints.
Love2D itself is already fast, but you can use profiling to optimize your Lua scripts.
Good luck!
by ivan
Sat Nov 03, 2018 8:26 pm
Forum: Support and Development
Topic: Why are these variables not increasing [SOLVED]
Replies: 3
Views: 407

Re: Why are these variables not increasing

x,z are numbers and you cannot have multiple references to a number variable. So when you write x=42 z=42 y = {x,z} it's equivalent to writing y = {42,42} Your code changes y[1] and y[2] but does not change x,z. Note that the assignment operator "=" works differently with numbers as opposed to table...
by ivan
Sat Nov 03, 2018 5:11 am
Forum: Support and Development
Topic: My game runs fine on my computer, but...
Replies: 5
Views: 618

Re: My game runs fine on my computer, but...

It's a nice looking game so good job. You could check if canvases are supported and show an error message if necessary. https://love2d.org/wiki/love.graphics.getSupported https://love2d.org/wiki/love.graphics.getCanvasFormats Of course, there are ways to draw stuff on the screen without using canvas...
by ivan
Tue Oct 30, 2018 6:18 am
Forum: Libraries and Tools
Topic: amour - a basic scene graph library
Replies: 7
Views: 735

Re: amour - a basic scene graph library

Welcome to the forums, Alexanderdna. I think it's a cool idea, in fact I use a similar scene graph in my projects. I have released my code too - it's not perfect but I hope that you might find it useful: https://bitbucket.org/itraykov/love2d-scene-graph/src/ I like your idea of using width/height fo...