Search found 17 matches
- Mon May 20, 2024 9:22 am
- Forum: Support and Development
- Topic: [SOLVED] push.lua and love.graphics.newQuad problem
- Replies: 5
- Views: 279
Re: push.lua and love.graphics.newQuad problem
You should call love.graphics.setDefaultFilter() before creating any images. It does not retroactively apply to images that have already been created. I would think "nearest" would work fine here and that "linear" is what's causing what you see. (In the images you provided, they...
- Sat May 18, 2024 9:48 am
- Forum: Support and Development
- Topic: [SOLVED] push.lua and love.graphics.newQuad problem
- Replies: 5
- Views: 279
Re: push.lua and love.graphics.newQuad problem
Thanks for a reply. I used a linear filter love.graphics.setDefaultFilter('linear', 'linear') but bug still exists. Moreover I created a test tiles with 17px x 17px(1px for a gap) then I used spriteSheets = love.graphics.newImage("upgrade_tiles.png") tilesSprite = generateQuads(spriteSheet...
- Thu May 16, 2024 4:56 pm
- Forum: Support and Development
- Topic: [SOLVED] push.lua and love.graphics.newQuad problem
- Replies: 5
- Views: 279
[SOLVED] push.lua and love.graphics.newQuad problem
Hello everyone! I write this post because I have a problem with push.lua and love.graphics.newQuad. I know that here are many love2d experts and maybe someone can help me. Ok so I've done a app: push = require 'push' virtualWidth = 33 * 16 virtualHeight = 28 * 16 windowWidth = 33 * 16 windowHeight =...
- Mon Apr 08, 2024 5:33 pm
- Forum: Games and Creations
- Topic: Simple LÖVE games
- Replies: 12
- Views: 73646
Re: Simple LÖVE games
Falling graphical effects
link to the repository in the video description
link to the repository in the video description
- Fri Apr 05, 2024 2:17 pm
- Forum: Support and Development
- Topic: [Solved] 2D Array
- Replies: 6
- Views: 855
Re: 2D Array
It works now. Thank you!Try self:withinCols(5) so the sugar becomes FallingSand.withinCols(self, 5).
- Thu Apr 04, 2024 5:14 pm
- Forum: Support and Development
- Topic: [Solved] 2D Array
- Replies: 6
- Views: 855
Re: 2D Array
pgimeno MrFariator Boble68 thank you for your suggestion/tips/help! I also investigate a bit and I found the interesting thing. I would like to point out that I am not an expert in Lua (I am more C++-centric): I printed two values one is self.grid and second is self.nextGrid: print("grid "...
- Wed Apr 03, 2024 5:14 pm
- Forum: Support and Development
- Topic: [Solved] 2D Array
- Replies: 6
- Views: 855
[Solved] 2D Array
Hi I have no a big experience with Lua. I have a problem with 2d array. I mark by "*" where is a critical points: FallingSand = Object:extend() local WIDTH = 500 local HEIGHT = 300 local m_size = 5 local m_cols local m_rows local m_grid = {} local m_nextGrid = {} local m_clicked = false lo...
- Sun Mar 17, 2024 1:01 pm
- Forum: Games and Creations
- Topic: Simple LÖVE games
- Replies: 12
- Views: 73646
Re: Simple LÖVE games
Flappy Bird
link to the repository in the video description
link to the repository in the video description
- Mon Mar 04, 2024 8:32 pm
- Forum: Games and Creations
- Topic: Simple LÖVE games
- Replies: 12
- Views: 73646
Re: Simple LÖVE games
Flappy Bird
link to the repository in the video description
link to the repository in the video description
- Fri Mar 01, 2024 12:25 pm
- Forum: Games and Creations
- Topic: Simple LÖVE games
- Replies: 12
- Views: 73646
Re: Simple LÖVE games
Visualization of the FloodFill algorithm using the Love2D framework. The project is based on this example, which is written in pygame. I recommend that you read it and other examples.
Source code: https://github.com/Przemekkkth/love-ink-spill
Source code: https://github.com/Przemekkkth/love-ink-spill