Search found 636 matches
- Thu Sep 16, 2021 8:18 pm
- Forum: Support and Development
- Topic: [SOLVED] Bizarre nil issue
- Replies: 27
- Views: 17920
Re: Bizarre nil issue
It is yet not clear if there are actually differences between platforms, i have not seen them in the wild so far. It is only that there is no guarantee that it is the same. And on further downsides, loves version is a slight tick slower then luajits function. In terms of map creation if we write mat...
- Thu Sep 16, 2021 7:30 pm
- Forum: Support and Development
- Topic: [SOLVED] Bizarre nil issue
- Replies: 27
- Views: 17920
Re: Bizarre nil issue
Firstoff, for debug reasons you should use math.random instead love.math.random. That makes debugging predictable. Ok look at your code: x = notes[x][y].x0 y = notes[x][y].y0 You are changing x then try to access the table with the CHANGED x. So your y is something completely different than in the d...
- Sat Sep 11, 2021 5:10 am
- Forum: Support and Development
- Topic: Worth using love physics for basic rpg-like map?
- Replies: 6
- Views: 3901
Re: Worth using love physics for basic rpg-like map?
This depends on how your world looks: A chessboard like tilemap that doesnt move> overkill Free angles and moving objects on a not tiled floor> maybe. For tiled worlds collision detect is just super easy, it only gets hard when you try to dial with diagonal borders, aka half filled tiles. The concep...
- Fri Sep 10, 2021 1:07 am
- Forum: Games and Creations
- Topic: My Fish Tank Water Simulator
- Replies: 5
- Views: 11304
Re: My Fish Tank Water Simulator
Uhrg, please paste a .love file next time.
Geez, filling a tank with buckets of water, by hand, as simulation?!?!? Thats clearly overdoing it...
You should limit the status info to display on a single fish, this is pretty much unreadable.
But very interesting idea anyway.
Geez, filling a tank with buckets of water, by hand, as simulation?!?!? Thats clearly overdoing it...
You should limit the status info to display on a single fish, this is pretty much unreadable.
But very interesting idea anyway.
- Thu Sep 09, 2021 6:07 pm
- Forum: Games and Creations
- Topic: My Fish Tank Water Simulator
- Replies: 5
- Views: 11304
Re: My Fish Tank Water Simulator
I am thrilled to try this but you forgot uploading it.
- Mon Aug 30, 2021 8:10 pm
- Forum: Support and Development
- Topic: Controlling movement with the mouse
- Replies: 3
- Views: 4873
Re: Controlling movement with the mouse
Touch screens and mouses are usually two different pairs of devices. Anyway for this case, first write your game as you normally would for a keyboard. then use the touchsreen callback to redirect these presses into the keyboard logic: X,Y= love.graphics.getDimensions()--get screen size function love...
- Mon Aug 30, 2021 5:10 pm
- Forum: General
- Topic: Using Love for 'what-if' models
- Replies: 13
- Views: 10214
Re: Using Love for 'what-if' models
1. To control an RC car.
2. For reading ebooks,
3. As general code editor.
4. battery monitor on a laptop.
5. watching simulated cows eat grass.
But actually no, i was planning to do these all so of course i thought about it before.
2. For reading ebooks,
3. As general code editor.
4. battery monitor on a laptop.
5. watching simulated cows eat grass.
But actually no, i was planning to do these all so of course i thought about it before.
- Tue Aug 24, 2021 1:26 pm
- Forum: Support and Development
- Topic: having issues reading gamepad - hat and buttons
- Replies: 5
- Views: 6383
Re: having issues reading gamepad - hat and buttons
Ohwell, the : syntax means that something of the type "Joystick" has this function, its not the actual name of anything. You need of course create something of this type first. Eg some may need player1:getHat().... You actually should just work with callbacks instead https://love2d.org/wik...
- Tue Aug 24, 2021 2:07 am
- Forum: Support and Development
- Topic: having issues reading gamepad - hat and buttons
- Replies: 5
- Views: 6383
Re: having issues reading gamepad - hat and buttons
The syntax as per wiki is "direction = Joystick:getHat( number_of_hat )"
So i assume you have to write
Joystick:getHat(1)=="r"
So i assume you have to write
Joystick:getHat(1)=="r"
- Thu Aug 19, 2021 7:48 pm
- Forum: Games and Creations
- Topic: Dust: Battle Beneath
- Replies: 17
- Views: 20386
Re: Dust: Battle Beneath
Oh, the genre is called "action worm"? I didn't even know. Thanks! No i just made that up, you know, after the famous game "worms". The sound stuff is amazingly easy, was surprised about that: You set it up with eg love.audio.setDistanceModel( "exponent" ) Next all you...