Nicely done! It's pretty good progress for 3 hours!
However, there's a bug in your game: if you push a key opposite to the direction the Snake is moving, it kills you
Search found 403 matches
- Sun Nov 20, 2016 9:27 pm
- Forum: Games and Creations
- Topic: Snake clone in 3 hours
- Replies: 6
- Views: 4141
- Fri Nov 04, 2016 10:34 pm
- Forum: Support and Development
- Topic: Common game translations
- Replies: 93
- Views: 63280
Re: Common game translations
Much like with the original project, I'm glad to help with Brazilian Portuguese (my first language). This looks promising so far, looking forward to it!
- Tue Oct 18, 2016 1:52 pm
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1791
- Views: 1505391
Re: What's everyone working on? (tigsource inspired)
Trying to put together a level editor for my "Filler" game:
- Mon Oct 17, 2016 12:43 am
- Forum: Games and Creations
- Topic: Breakout clone in 2 hours
- Replies: 12
- Views: 7130
Re: Breakout clone in 2 hours
That was fun, although I found it rather difficult: both the ball and the bar moved too quickly for my slow reflexes...
Still really enjoyable and well-made, nice job!
Still really enjoyable and well-made, nice job!
- Sat Oct 15, 2016 3:57 pm
- Forum: Support and Development
- Topic: Multiplayer using HTTP
- Replies: 13
- Views: 10260
Re: Multiplayer using HTTP
Yes, but it requires porting forward and/or a program like Hamachi.
- Wed Oct 12, 2016 1:34 am
- Forum: Support and Development
- Topic: Text justify align
- Replies: 5
- Views: 3147
Re: Text justify align
I think a good way of justifying text would be getting the amount of spaces, then getting the size of the text without them, then dividing the difference between the desired width and the space-less width, and dividing it by the amount of spaces in that line, rounding down. Well, we know that, and t...
- Thu Oct 06, 2016 3:57 pm
- Forum: Support and Development
- Topic: Snake Tail Issues
- Replies: 5
- Views: 3887
Re: Snake Tail Issues
Well, to simplify it (excluding self collision, food-eating, wall collision, etc). Assuming you created a table "snake" for your snake, and assuming each item on the table is a {x, y} table, and assuming you want the latest item on the table to be the head, and the first to be the tail, an...
- Wed Oct 05, 2016 2:24 pm
- Forum: Support and Development
- Topic: Snake Tail Issues
- Replies: 5
- Views: 3887
Re: Snake Tail Issues
I've worked on snake before, and in my opinion, the best way to set it up is by having a table that contains each "block" of the snake's body. for the movement, you'd just remove the last item from that table, but then insert a new one where the head is going. If you need an example, feel ...
- Wed Sep 28, 2016 12:03 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 411675
Re: "Questions that don't deserve their own thread" thread
What that means is that LÖVE no longer supports these old-school computers that do not support Canvases, so checking if they do is pointless, as it won't work either way.
- Tue Sep 27, 2016 3:59 pm
- Forum: Support and Development
- Topic: [Solved] Love2d programming question
- Replies: 4
- Views: 3629
Re: Love2d programming question
Just replace line 24 of your code from this:
With this:
Code: Select all
if key == "up" and quadY +30 > 35 then
Code: Select all
if key == "up" and (quadY +30 > 35 or quadX > 725) then