Search found 1169 matches

by darkfrei
Mon Dec 04, 2023 6:15 pm
Forum: Support and Development
Topic: [SOLVED] Scaling and camera issues :'D [im probably very stoopid]
Replies: 5
Views: 19437

Re: Scaling and camera issues :'D [im probably very stoopid]

I am making translate and than scale, not in other order.
by darkfrei
Mon Dec 04, 2023 7:53 am
Forum: General
Topic: LÖVE 11.5 released!
Replies: 17
Views: 165836

Re: LÖVE 11.5 released!

Earlier I've made a lot of videos with GeForce Experience, but now it isn't possible anymore.
by darkfrei
Sat Nov 25, 2023 7:43 pm
Forum: Support and Development
Topic: Creating an exact copy of an object
Replies: 4
Views: 2769

Re: Creating an exact copy of an object

Maybe it will be nice to have a entity prototype, that contents the same values in the entity, that have values that are unique for each entity.
by darkfrei
Thu Nov 16, 2023 8:13 am
Forum: Support and Development
Topic: Love wont display anything :( [CLOSED]
Replies: 7
Views: 4483

Re: Love wont display anything :(

zalander wrote: Wed Nov 15, 2023 10:37 am Yup its a WSL issue.
If you solved the problem then explain how and the next one can google it.
by darkfrei
Mon Nov 13, 2023 5:55 pm
Forum: Support and Development
Topic: Love wont display anything :( [CLOSED]
Replies: 7
Views: 4483

Re: Love wont display anything :(

-- wrong: for i = 1, sel-1 do love.graphics.circle("line", ar[i], ar[i+1], 30) end -- rigth: for i = 1, sel-1, 2 do love.graphics.circle("line", ar[i], ar[i+1], 30) end Also be sure where you insert values: function mk() ar[#ar+1] = love.math.random(0, love.graphics.getWidth()) ...
by darkfrei
Mon Nov 13, 2023 11:19 am
Forum: General
Topic: Code Doodles!
Replies: 196
Views: 260246

Re: Code Doodles!

Boids - flocking simulation in toroidal world Width,Height = love.graphics.getDimensions() love.window.setTitle ('Boids - Flocking Simulation') love.graphics.setLineWidth (3) -- Define boids class Boids = {} Toroidal = {} function Toroidal.position (x,y , width,height) x = (x + width) % width y = (y...
by darkfrei
Fri Nov 10, 2023 8:06 pm
Forum: Support and Development
Topic: [solved] Animation - For Limit Must Be A Number
Replies: 10
Views: 9939

Re: Animation - For Limit Must Be A Number

What is imageHeight and imageWidth? Where it was defined?
by darkfrei
Thu Nov 09, 2023 11:23 am
Forum: Libraries and Tools
Topic: Buttons Barebone Library
Replies: 0
Views: 73026

Buttons Barebone Library

Hi all! There is a buttons barebone library, it supports what you want it to support. For example: -- main.lua local myButtons = require ('myButtons') function love.load() local color = {1,1,1} local function onButtonHovered (button) button.hovered = true button.lineWidth = 4 end local function onBu...
by darkfrei
Mon Nov 06, 2023 11:26 am
Forum: General
Topic: Code Doodles!
Replies: 196
Views: 260246

Re: Code Doodles!

Code doodle game about rolling of 5 dice: Press space to reroll table.unpack = table.unpack or unpack love.graphics.setFont(love.graphics.newFont (20)) dx = 20 local function random () return math.random (6) end local function getSumm () local value = 0 for i = 1, 5 do local dice = diceSet[i] value ...
by darkfrei
Wed Nov 01, 2023 8:06 am
Forum: Games and Creations
Topic: I published my first game with Love2d - Fire at Will (with source code)
Replies: 11
Views: 9610

Re: My first game with Love2d: Fire at Will

Maybe this site sell games with copyrights, not just a games as game copy?