Search found 248 matches

by arampl
Fri Jul 15, 2016 4:27 pm
Forum: General
Topic: What's your Lua/Love setup ?
Replies: 26
Views: 8684

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 Windows: to run love pro...
by arampl
Sat Jan 09, 2016 1:35 pm
Forum: Support and Development
Topic: About scene-graphs and parenting.
Replies: 3
Views: 1283

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 changes....
by arampl
Thu Dec 24, 2015 4:29 am
Forum: Support and Development
Topic: Recommended way to read from and write to files?
Replies: 8
Views: 3474

Re: Recommended way to read from and write to files?

If you want to write *all* data then:

Code: Select all

love.filesystem.write("Test.txt", "Hello")
P.S. "files" folder resides in the user's home directory like "home/<user's name>/.local/share/love/files" on Linux.
by arampl
Wed Dec 23, 2015 3:29 am
Forum: General
Topic: LÖVE 0.10.0 released
Replies: 86
Views: 36008

Re: LÖVE 0.10.0 released

Nice to see how LÖVE is becoming more and more powerful!
Thank you and congratulations!
by arampl
Thu Nov 19, 2015 10:20 am
Forum: General
Topic: The Hacksperiment [Community Project]
Replies: 25
Views: 4215

Re: The Hacksperiment [Community Project]

MadByte wrote:Make sure your module(s) work before publishing them!
Waaay better! :) No idea though, what I can add right now. So many libraries has already been implemented by lovers...
by arampl
Thu Nov 19, 2015 4:37 am
Forum: General
Topic: The Hacksperiment [Community Project]
Replies: 25
Views: 4215

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 don't live l...
by arampl
Fri Nov 13, 2015 11:30 am
Forum: Support and Development
Topic: [Beginner] [SOLVED] getting attempt to index global er
Replies: 11
Views: 1931

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:load(...
by arampl
Fri Nov 13, 2015 11:20 am
Forum: Support and Development
Topic: [Beginner] [SOLVED] getting attempt to index global er
Replies: 11
Views: 1931

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's allot of files so it's hard to find th...
by arampl
Mon Nov 09, 2015 4:52 pm
Forum: Support and Development
Topic: Resizing ImageData
Replies: 3
Views: 1083

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.