Search found 73 matches
- Thu Jun 22, 2017 8:51 am
- Forum: Support and Development
- Topic: Help (Need Help For My Module)
- Replies: 14
- Views: 8537
Re: Help (Need Help For My Module)
Still doesnt do anything and I used : in other functions like enemy which did not cause any problems btw here is my file
- Tue Jun 20, 2017 12:55 pm
- Forum: Support and Development
- Topic: Help (Need Help For My Module)
- Replies: 14
- Views: 8537
Re: Help (Need Help For My Module)
The problem is the x,y,w,h is a nil value in line 18
- Tue Jun 20, 2017 11:22 am
- Forum: Support and Development
- Topic: Help (Need Help For My Module)
- Replies: 14
- Views: 8537
Help (Need Help For My Module)
1.Object = {} 2.function Object:Box(x,y,w,h) 3.local t = {x=x,y=y,w=w,h=h,id = id or #Object +1} 4.table.insert(Object, t) 5.return t 6.end 7.function Object:Draw() 8.for i,v in ipairs(Object) do 9.love.graphics.rectangle("fill",v.x,v.y,v.w,v.h) 10.end 11.end 12.function Object:Update(oX,o...
- Wed Jun 07, 2017 11:14 am
- Forum: Support and Development
- Topic: Camera
- Replies: 56
- Views: 40821
Re: Camera
I fixed it! I didnt use the camera module of hump I used the camera tutorial in the site it works!
- Tue Jun 06, 2017 4:21 pm
- Forum: Support and Development
- Topic: Camera
- Replies: 56
- Views: 40821
Re: Camera
Oh, but have you tried using it?
- Tue Jun 06, 2017 3:45 pm
- Forum: Support and Development
- Topic: Camera
- Replies: 56
- Views: 40821
Re: Camera
so it isnt my code?
- Tue Jun 06, 2017 1:47 pm
- Forum: Support and Development
- Topic: Camera
- Replies: 56
- Views: 40821
Re: Camera
Ive put it in that gamestate and yet it still doesnt do anything
- Tue Jun 06, 2017 12:01 pm
- Forum: Support and Development
- Topic: Camera
- Replies: 56
- Views: 40821
Re: Camera
There is no error it just doesnt work
- Tue Jun 06, 2017 9:34 am
- Forum: Support and Development
- Topic: Camera
- Replies: 56
- Views: 40821
Re: Camera
i really dont know whats wrong with it
- Tue Jun 06, 2017 6:35 am
- Forum: Support and Development
- Topic: Camera
- Replies: 56
- Views: 40821
Re: Camera
i rewrote my code but the camera doesnt do anything the code i used was the example on the docs. The camera is on the player.lua file on the entities