Search found 248 matches
- Fri Jul 15, 2016 4:27 pm
- Forum: General
- Topic: What's your Lua/Love setup ?
- Replies: 26
- Views: 18791
Re: What's your Lua/Love setup ?
I use medit in Xubuntu. "Cobalt" scheme, tab = 2 characters. Shell script (bound to F12) used for running love projects also capable to execute my C programs: if [ $DOC_EXT = ".lua" ] then love $DOC_DIR else make -B ./main fi For some ridiculous reason, I can't setup this in Wind...
- Thu Jan 21, 2016 9:46 am
- Forum: Support and Development
- Topic: Hello im new to love and having some issues with nil value error
- Replies: 5
- Views: 3323
Re: Hello im new to love and having some issues with nil value error
A typo? You use rl then r1.
- Sat Jan 09, 2016 1:35 pm
- Forum: Support and Development
- Topic: About scene-graphs and parenting.
- Replies: 3
- Views: 2701
Re: About scene-graphs and parenting.
Hi! There are no parent-child relationship mechanism in LÖVE's API nor in Lua itself. Maybe you can search for third-party library which implements this. Or you can implement it yourself using nested tables & recursion to update children's properties whenever corresponding parent's property chan...
- Thu Dec 24, 2015 4:29 am
- Forum: Support and Development
- Topic: Recommended way to read from and write to files?
- Replies: 8
- Views: 7260
Re: Recommended way to read from and write to files?
If you want to write *all* data then:
P.S. "files" folder resides in the user's home directory like "home/<user's name>/.local/share/love/files" on Linux.
Code: Select all
love.filesystem.write("Test.txt", "Hello")
- Wed Dec 23, 2015 3:29 am
- Forum: General
- Topic: LÖVE 0.10.0 released
- Replies: 86
- Views: 80992
Re: LÖVE 0.10.0 released
Nice to see how LÖVE is becoming more and more powerful!
Thank you and congratulations!
Thank you and congratulations!
- Thu Nov 19, 2015 10:20 am
- Forum: General
- Topic: The Hacksperiment [Community Project]
- Replies: 25
- Views: 9987
Re: The Hacksperiment [Community Project]
Waaay better! No idea though, what I can add right now. So many libraries has already been implemented by lovers...MadByte wrote:Make sure your module(s) work before publishing them!
- Thu Nov 19, 2015 4:37 am
- Forum: General
- Topic: The Hacksperiment [Community Project]
- Replies: 25
- Views: 9987
Re: The Hacksperiment [Community Project]
[*] Make sure your module(s) work flawlessly before publishing! This is impossible even theoretically. Read something like "The Art of Software Testing" by G.Myers about that. Literally years(!) need to pass before code could be considered stable enough (but never ideal). Many projects do...
- Fri Nov 13, 2015 11:30 am
- Forum: Support and Development
- Topic: [Beginner] [SOLVED] getting attempt to index global er
- Replies: 11
- Views: 4676
Re: [Beginner] [Thranduil UI] getting attempt to index globa
I'm on Ubunutu 14.04 and Elementary Os, dots doesn't work on either. I forgot to tell. In libs/thranduil/ui/init.lua you need to change line UI.Input = require(ui_path .. 'input.Input') to UI.Input = require(ui_path .. 'Input.Input') . Case sensitivity case :) P.S. Seems that "_state_Settings:...
- Fri Nov 13, 2015 11:20 am
- Forum: Support and Development
- Topic: [Beginner] [SOLVED] getting attempt to index global er
- Replies: 11
- Views: 4676
Re: [Beginner] [Thranduil UI] getting attempt to index globa
Why do you separate folders with "."? require "libs.hump.gamestate" This does not work (on ubuntu/linux at least). Instead use "/" like this: require "libs/hump/gamestate" It's hard to help you since I can't even open the game to check out your error, and it'...
- Mon Nov 09, 2015 4:52 pm
- Forum: Support and Development
- Topic: Resizing ImageData
- Replies: 3
- Views: 3206
Re: Resizing ImageData
You can create new empty ImageData with needed w&h, then use "paste" method from source ImageData.
If you want to scale source image to new size then create canvas with needed w&h, scale and draw image to it, then get ImageData from it.
If you want to scale source image to new size then create canvas with needed w&h, scale and draw image to it, then get ImageData from it.