Search found 15 matches

by Bondrusiek
Thu May 16, 2024 4:56 pm
Forum: Support and Development
Topic: push.lua and love.graphics.newQuad problem
Replies: 1
Views: 102

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 =...
by Bondrusiek
Mon Apr 08, 2024 5:33 pm
Forum: Games and Creations
Topic: Simple LÖVE games
Replies: 12
Views: 73219

Re: Simple LÖVE games

Falling graphical effects

link to the repository in the video description
by Bondrusiek
Fri Apr 05, 2024 2:17 pm
Forum: Support and Development
Topic: [Solved] 2D Array
Replies: 6
Views: 841

Re: 2D Array

Try self:withinCols(5) so the sugar becomes FallingSand.withinCols(self, 5).
It works now. Thank you!
by Bondrusiek
Thu Apr 04, 2024 5:14 pm
Forum: Support and Development
Topic: [Solved] 2D Array
Replies: 6
Views: 841

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 "...
by Bondrusiek
Wed Apr 03, 2024 5:14 pm
Forum: Support and Development
Topic: [Solved] 2D Array
Replies: 6
Views: 841

[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...
by Bondrusiek
Sun Mar 17, 2024 1:01 pm
Forum: Games and Creations
Topic: Simple LÖVE games
Replies: 12
Views: 73219

Re: Simple LÖVE games

Flappy Bird

link to the repository in the video description
by Bondrusiek
Mon Mar 04, 2024 8:32 pm
Forum: Games and Creations
Topic: Simple LÖVE games
Replies: 12
Views: 73219

Re: Simple LÖVE games

Flappy Bird

link to the repository in the video description
by Bondrusiek
Fri Mar 01, 2024 12:25 pm
Forum: Games and Creations
Topic: Simple LÖVE games
Replies: 12
Views: 73219

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.
Image

Source code: https://github.com/Przemekkkth/love-ink-spill
by Bondrusiek
Tue Feb 06, 2024 7:16 pm
Forum: Games and Creations
Topic: Simple LÖVE games
Replies: 12
Views: 73219

Re: Simple LÖVE games

King eats queens

link to the repository in the video description
by Bondrusiek
Tue Feb 06, 2024 7:08 pm
Forum: Games and Creations
Topic: Simple LÖVE games
Replies: 12
Views: 73219

Re: Simple LÖVE games

I don't know if I understand this comment correctly. Yes, when it comes to love2d guides, it's quite problematic and I can't find valuable materials, so I'm trying to convert games from one language to love2d. Regardless, I recommend reading this tutorial: https://github.com/a327ex/blog