Search found 23 matches
- Fri May 22, 2020 6:02 pm
- Forum: Games and Creations
- Topic: 3-Cols now on Google Play and Amazon
- Replies: 0
- Views: 9858
3-Cols now on Google Play and Amazon
https://img.itch.zone/aW1hZ2UvNTk0MDI5LzMxNDMwMzEucG5n/original/DmlqH6.png My new game 3-Cols has now soft released on Google Play and Amazon. It's a game where you should combine three or more blocks of the same color to remove them and get points. Download it from Google Play or Amazon Let me kno...
- Fri Aug 24, 2018 1:52 pm
- Forum: Support and Development
- Topic: How would I go on about creating an endless runner game?
- Replies: 2
- Views: 3437
Re: How would I go on about creating an endless runner game?
Welcome. One way to start building this is to create like 3 non random obstacles outside of the screen whit a gap between them and then move them. When then obstacles goes outside of the screen you teleport the obstacle to the other side. This way you have obstacles that are constantly moving in X-a...
- Sun Apr 01, 2018 10:05 pm
- Forum: General
- Topic: LÖVE 11.0 released!
- Replies: 98
- Views: 122378
Re: LÖVE 11.0 released!
Nice work. 11.0
- Wed Mar 07, 2018 3:54 pm
- Forum: Support and Development
- Topic: Quads, sprites and coordinate systems
- Replies: 7
- Views: 6502
Re: Quads, sprites and coordinate systems
My way to handle units is like this. Using it in my current project. width, height = love.graphics.getDimensions( ) unit = 0 --To get the same number of units on any resolution --1 unit is the smallest of width/24 or height/18 if width/24 < height/18 then unit = width/24 else unit = height/18 end im...
- Thu Feb 22, 2018 9:36 am
- Forum: General
- Topic: Need help with (big) Table iteration
- Replies: 4
- Views: 4803
Re: Need help with (big) Table iteration
Welcom to the forum. Please upload a .love file of your code. It makes it easier if you want people to help you. It's hard to see on this code whats slowing your game down. Because I can't see whats happening in v:update() and v:draw(). To save some startup time you could put all the loadedMap code ...
- Sun Dec 03, 2017 9:42 am
- Forum: Games and Creations
- Topic: Space Invaders: 1K Challenge
- Replies: 7
- Views: 9295
Re: Space Invaders: 1K Challenge
Thanks Ivan. I will improve the code :) Looked through your code. I think you can win a lot of characters by skipping love.update and put it all in love.draw. The line "function L.update(_)" is 20 characters and you can reuse same for-loop for calculation and drawing. One more thing you ca...
- Sat Dec 02, 2017 8:20 pm
- Forum: Games and Creations
- Topic: Space Invaders: 1K Challenge
- Replies: 7
- Views: 9295
Re: Space Invaders: 1K Challenge
My code so far: L=love G=L.graphics R=G.rectangle K=L.keyboard.isDown F="fill" N={5,5,5,5,5,5,5,5,5,5,5} x=0 B=0 V=0 D=1 I=0 O=0 P=0 function L.draw()W,H=G.getDimensions() S=W/30 y=H-S if K("a")and x-1>0 then x=x-1 end if K("d")and x+1<W-S then x=x+1 end if K("w&qu...
- Mon Nov 13, 2017 3:59 pm
- Forum: Support and Development
- Topic: What are the best plugins for Sublime when using Love 2D
- Replies: 6
- Views: 5336
Re: What are the best plugins for Sublime when using Love 2D
I use Lua Love and its great. Highlighting and has all the love-functions built in.
https://love2d.org/wiki/Sublime_Text
https://love2d.org/wiki/Sublime_Text
- Thu Oct 19, 2017 2:47 pm
- Forum: General
- Topic: NekoGear.com (LÖVE T-Shirts, etc)
- Replies: 61
- Views: 487333
Re: NekoGear.com (LÖVE T-Shirts, etc)
Sorry for the double post, but it's been some time, and it seems like the address itself isn't available anymore (www.nekogear.com). I regret only ordering one piece of clothing some time ago, so what are the chances that some kind of LÖVE fan shop will come online again? If it depends on who is wi...
- Sun Jul 30, 2017 8:44 pm
- Forum: Support and Development
- Topic: Use require function.
- Replies: 6
- Views: 7175
Re: Use require function.
After you require a file you can use all functions in that file. So if you have the functions playerload, playerupdate and playerdraw in your player.lua file. You can write this: Main.lua require "player" --require file player.lua function love.load() playerload() --loading player end func...