Search found 1561 matches

by pgimeno
Wed Jan 06, 2016 1:17 am
Forum: Games and Creations
Topic: Hotplate app for your phone
Replies: 17
Views: 3529

Re: Hotplate app for your phone

Thanks for the app, it's very useful! I'd like to report a problem that I'm having. When I put a pan on the hotplate, I can't press the buttons because they are fully covered. Can we expect a voice-activated version any time soon, so I don't need to remove the pan every time I want to change the pow...
by pgimeno
Sun Jan 03, 2016 7:21 pm
Forum: Libraries and Tools
Topic: [Lib] SUIT - Simple User Interface Toolkit
Replies: 78
Views: 22832

Re: [Lib] SUIT - Simple User Interface Toolkit

Looking great and working great!

It seems main.lua in the repository is deprecated. Could it be either updated or removed to avoid people being confused by it?
EDIT: Oops, my bad. The problem is that main.lua is in .gitignore, not in the repository, and the main.lua I had didn't work.
by pgimeno
Sun Jan 03, 2016 5:58 pm
Forum: General
Topic: Can somebody test this bash script for me?
Replies: 7
Views: 1289

Re: Can somebody test this bash script for me?

In Batch I did cd %~dp0 which sets the directory to the directory of the batch file. Would this cd "$(dirname "$0")" do the trick? Missed that, sorry. I didn't know what %~dp0 meant. Yes, that should work. I've updated the linked file. Do you mind testing it again? It's working fine now :nyu:
by pgimeno
Sun Jan 03, 2016 5:19 pm
Forum: General
Topic: Can somebody test this bash script for me?
Replies: 7
Views: 1289

Re: Can somebody test this bash script for me?

rm -rf is more or less the equivalent to rd /q /s, so it's advisable to place it at least in the first rm, to avoid displaying an error to the user when the directory doesn't exist. Also, the .git directory has write protected files, which makes rm prompt for confirmation unless -f is specified, so ...
by pgimeno
Sun Jan 03, 2016 3:38 am
Forum: Support and Development
Topic: [solved]Object mass modifier
Replies: 3
Views: 420

Re: Object mass modifier

Thrust is usually a force of a fixed magnitude (enabled or disabled depending on whether you're thrusting or not). That's how I coded it in Thrust II Reloaded, and it uses orbs of different masses that change manoeuvrability realistically. Since thrust is a force, which equals mass times acceleratio...
by pgimeno
Fri Jan 01, 2016 8:33 pm
Forum: General
Topic: Suggestion about the love libraries ... naming convention.
Replies: 3
Views: 552

Re: Suggestion about the love libraries ... naming conventio

I personally think the issue is that many people see the community as a place for themselves and the friends they made in the community. Certainly not my case. My own opinion is that favouring the over-protectiveness of people who are offended so easily as by reading these titles, is counter-produc...
by pgimeno
Fri Jan 01, 2016 6:22 pm
Forum: Support and Development
Topic: Please help me with an error that.. seriously. I can't even.
Replies: 1
Views: 620

Re: Please help me with an error that.. seriously. I can't e

I think the "invalid order function" error refers to the comparison function not returning a consistent order criterion. For example, it may mean that a < b, b < c and c < a. That can happen for these: a = { y = 2, z = 5 } b = { y = 1, z = 7 } c = { y = 2, z = 4 } Note that: > print(a.y < b.y or a.z...
by pgimeno
Fri Jan 01, 2016 5:05 am
Forum: Support and Development
Topic: making things work
Replies: 1
Views: 231

Re: making things work

The only mandatory function name is the global love.draw, and that's only mandatory if you don't redefine love.run in a way that changes it. It's customary, but not mandatory, to name the individual functions called by that one 'draw' too. Calling them depends on you, so you can call them however yo...
by pgimeno
Fri Jan 01, 2016 4:51 am
Forum: Support and Development
Topic: Either my tiled STI is broken or im an idiot
Replies: 15
Views: 1693

Re: Either my tiled STI is broken or im an idiot

With my apologies in advance for the slight topic drift: @slime: I believe package.path always looked for ?/init.lua in the system directories it looks in, but "./?/init.lua" (i.e. looking for init.lua relative to the current working directory) was actually added to package.path in Lua 5.3 ( http://...
by pgimeno
Fri Jan 01, 2016 4:10 am
Forum: Libraries and Tools
Topic: Gspöt - retained GUI lib
Replies: 134
Views: 40922

Re: Gspöt - retained GUI lib

Thanks for the suggestion and the pointer. After reading in their entirety this thread , this other thread , this blog entry , this additional thread plus other threads linked from these like this with the accompanying reddit post , this other one , as well as what was made to this guy ( background ...