Search found 8 matches
- Tue Sep 06, 2016 7:43 pm
- Forum: Support and Development
- Topic: how can fix it?
- Replies: 2
- Views: 2196
Re: how can fix it?
Thanks for you reply s-ol I had put the delta time, but I did not see differences . I will add it We do not program for a while I definitely need a refresher I put the code as you suggested. The color I still have to fix --questo fa muovere il testo tabt.x = tabt.x + tabt.speed * dt --avanzamento x ...
- Tue Sep 06, 2016 5:01 pm
- Forum: Support and Development
- Topic: how can fix it?
- Replies: 2
- Views: 2196
how can fix it?
hello guys have done a little experiment whith love print and have found this bug : -sometimes when the program starts the text go high speed -the text change color before reaching the edge - if keypressed ' - ' when text is egual equal to 1 text disappear even if I put control if this is the code f...
- Sat Nov 15, 2014 11:19 pm
- Forum: Libraries and Tools
- Topic: [Tutorials] Making a simple 2D physics engine
- Replies: 33
- Views: 32361
Re: [Tutorials] Making a simple 2D physics engine
The "class" box didn't work because you're not using a class library. As I said in my tutorial you'll need THIS or something similar. Then you'll call it as object:new(), even though the loading function is object:init(). thanks for your reply hugo, ok i try to study class system for inte...
- Sat Nov 15, 2014 5:33 pm
- Forum: Libraries and Tools
- Topic: [Tutorials] Making a simple 2D physics engine
- Replies: 33
- Views: 32361
Re: [Tutorials] Making a simple 2D physics engine
hello hugo i have try to use your code for my training type this box = class:new() function box:init(x, y) self.x = x self.y = y self.width = 10 self.height = 10 self.image = myTexture self.friction = .98 end function box:update(dt) self.x = self.x+dt*5 end function box:draw() love.graphics.rectangl...
- Sun Oct 26, 2014 9:57 pm
- Forum: Libraries and Tools
- Topic: [Tutorials] Making a simple 2D physics engine
- Replies: 33
- Views: 32361
Re: [Tutorials] Making a simple 2D physics engine
thanks for you tutorial
- Mon Oct 20, 2014 8:41 pm
- Forum: Support and Development
- Topic: quad problem?
- Replies: 4
- Views: 4306
Re: quad problem?
edit have partly resolved with AnAL module
- Mon Oct 20, 2014 7:39 pm
- Forum: Support and Development
- Topic: quad problem?
- Replies: 4
- Views: 4306
Re: quad problem?
thanks for your help try to include your example in my codeRef wrote:You make them but you don't store them anywhere.
You need something like:and then draw each of the quads.Code: Select all
quads = {} quads[1] = love.graphics.newQuad(.... etc.

- Mon Oct 20, 2014 3:43 pm
- Forum: Support and Development
- Topic: quad problem?
- Replies: 4
- Views: 4306
quad problem?
hello I just started to use love have a problem whith tis code error this Error: main.lua:113: attempt to index global 'quads' (a nil value) stack traceback: main.lua:113: in function 'draw' [string "boot.lua"]:410: in function <[string "boot.lua"]:373> [C]: in function 'xpcall' ...