Search found 12 matches

by McFree
Mon Oct 17, 2016 6:32 pm
Forum: Support and Development
Topic: quad can't be nil
Replies: 5
Views: 3656

Re: quad can't be nil

raidho36 wrote:Well, it can't be nil, end of story. It has to know what to draw before it can draw it.

Fire up a debugger and see where the quad reference becomes nil.
How do I run debug?
The fact that he wrote in the console is a debug?
by McFree
Sun Oct 16, 2016 2:37 pm
Forum: Support and Development
Topic: quad can't be nil
Replies: 5
Views: 3656

Re: quad can't be nil

So, 1) the code that you quoted means nothing in context of the question. 2) Looking at the LOVE wiki: quad = love.graphics.newQuad( x, y, width, height, sw, sh ) the second argument DEFINITELY cannot be nil. Russian: К сожалению я не могу показать только часть кода так как тут будет последовательн...
by McFree
Sun Oct 16, 2016 1:57 pm
Forum: Support and Development
Topic: quad can't be nil
Replies: 5
Views: 3656

quad can't be nil

When creating a card through Tiles began to emerge error that quad does not accept to nil (the second parameter can be nil) love.graphics.draw(self.img,tile.quad,tile.pos.x,tile.pos.y) reference to project Link P.S. unfortunately I can not describe the error in more detail because they do not unders...
by McFree
Sat Sep 17, 2016 4:07 pm
Forum: Support and Development
Topic: "How to create game" videos
Replies: 4
Views: 3987

Re: "How to create game" videos

MicroMacro wrote:Look up SockMonkee Development. His tutorials are a bit old, but are still mostly relevant. Its where I learned how to code. :)
I could not find his video = (
by McFree
Fri Sep 16, 2016 11:26 am
Forum: Support and Development
Topic: "How to create game" videos
Replies: 4
Views: 3987

"How to create game" videos

Dear users, if there is a video or sites which shows in detail how to write the game from start to finish observing the canons literate code? If there are any, would then could somebody throw here to I'm just interested in new know how to write code (game logic, game menus, player settings, global s...
by McFree
Fri Aug 12, 2016 11:57 am
Forum: Support and Development
Topic: how to create a sprite animation?
Replies: 2
Views: 4611

how to create a sprite animation?

I can not find how to implement animation characters using sprites can someone suggest or throw a link to a page with an explanation?

I will be very grateful for the help
by McFree
Thu Aug 11, 2016 10:18 pm
Forum: Support and Development
Topic: bad argument #2 to 'draw' in function love.draw()
Replies: 7
Views: 6329

Re: bad argument #2 to 'draw' in function love.draw()

4aiman wrote:Feel free to ask me via PM if you need to.
I'm far from being the best love2d user, but I'll try to help.
Especially since you'll be able to ask in Russian :)
Thank you, I'll remember you, if I need help turn to you :)
by McFree
Thu Aug 11, 2016 5:04 pm
Forum: Support and Development
Topic: bad argument #2 to 'draw' in function love.draw()
Replies: 7
Views: 6329

Re: bad argument #2 to 'draw' in function love.draw()

4aiman wrote:You've got a little tiny typo on line #20 of map.lua.
It's "nextPosX", not "nexpPosX". :)
Thanks again for your reply to my topic =)

I am very grateful to the Russian communities so fast when there is little support=)
by McFree
Thu Aug 11, 2016 5:00 pm
Forum: Support and Development
Topic: erroneous arithmetic operations with a global variable
Replies: 7
Views: 4277

Re: erroneous arithmetic operations with a global variable

4aiman wrote:I'll put the same answer here as well. Just in case. Moderators will do what has to be done anyway :)

You've got a little tiny typo on line #20 of map.lua.
It's "nextPosX", not "nexpPosX". :)
Thank you for at least one bug fixed :D
by McFree
Thu Aug 11, 2016 2:06 pm
Forum: Support and Development
Topic: bad argument #2 to 'draw' in function love.draw()
Replies: 7
Views: 6329

Re: bad argument #2 to 'draw' in function love.draw()

I attach a file to the topic .love Link Drawing on the image problem is solved, now the problem in arithmetic operations to global variables Error: map.lua:14: attempt to perform arithmetic on global 'mapPosX' (a nil value) PS I'm sorry that I have made a second subject. I had problems with the inte...