Search found 5 matches

by vSxo.lua
Sun Jun 24, 2018 1:41 pm
Forum: Support and Development
Topic: Weird Snake behavior
Replies: 4
Views: 674

Re: Weird Snake behavior

Yep, its working :> Thanks.
by vSxo.lua
Wed Jun 20, 2018 4:17 pm
Forum: Support and Development
Topic: Weird Snake behavior
Replies: 4
Views: 674

Re: Weird Snake behavior

Ceiling is not working :<

I tried to add this padding square but it didnt work out,
How to implement this centre of the square as reference?

Edit:
Okay i have one idea with this centre of the square. I will report if this will succeed.
by vSxo.lua
Mon Jun 18, 2018 5:43 pm
Forum: Support and Development
Topic: Weird Snake behavior
Replies: 4
Views: 674

Weird Snake behavior

Hi, its me again. This time I have some problems with game logic. Its a snake-type game, when you move, you paint floor with blue-ish color. The problem is that when snake direction is "top" or "left" everything is ok, painting is smooth. But when snake is facing "right" or "down" firstly head of th...
by vSxo.lua
Thu Jun 14, 2018 10:55 am
Forum: Support and Development
Topic: Problem with Space Invaders
Replies: 2
Views: 528

Re: Problem with Space Invaders

Thank you pgimeno! I did it with flag setting and now it's working. Now I know why it was not working. I realized this when i changed pairs() to ipairs(). Basically when enemies were hitting right side for the first time only 10 of 30 were updated. When they hit the left side 11 of 30 were updated b...
by vSxo.lua
Wed Jun 13, 2018 3:15 pm
Forum: Support and Development
Topic: Problem with Space Invaders
Replies: 2
Views: 528

Problem with Space Invaders

Hi. I'm not the best programmer and im not very good at LOVE 2D. So here is the problem. Im on the way of creating a clone of Space Invaders but i encountered a problem with asynchroonus enemies movement. When any enemy touches bounds of the screen function enemies_jump() is called, which calls Enem...