Search found 13 matches

by akima
Wed Apr 27, 2011 11:30 am
Forum: General
Topic: New to Lua - tutorials
Replies: 7
Views: 5042

Re: New to Lua - tutorials

The wiki isn't great for complete newbies (it's fine for people who have been programming for a little while at least, well it was for me anyway). But anyway, some easy to understand tutorials for newbies would be most welcome! So go ahead. There's something not quite right about your avatar. I jus...
by akima
Tue Apr 12, 2011 9:10 pm
Forum: General
Topic: Waiting.
Replies: 15
Views: 5208

Re: Waiting.

Then you need a timer, because sleep will stop the execution of the whole game. How that works was explained to you before: Waiting, calling a function and waiting again It took me quite a while to be able to picture in my head how an event loop worked and how that affected my programs. I can see w...
by akima
Tue Apr 12, 2011 1:52 pm
Forum: General
Topic: Waiting.
Replies: 15
Views: 5208

Re: Waiting.

Well. You could use the TEsound library: http://love2d.org/wiki/TEsound That page explains that you play a sound using this function call: TEsound.play(sound, tags, volume, pitch, func) that last parameter func , is a callback function that gets called when the sound finishes playing, so you would m...
by akima
Tue Apr 12, 2011 1:38 pm
Forum: General
Topic: Waiting.
Replies: 15
Views: 5208

Re: Waiting.

See this page here buddy: http://lua-users.org/wiki/SleepFunction The author provides this solution: local clock = os.clock function sleep(n) -- seconds local t0 = clock() while clock() - t0 <= n do end end -- warning: clock can eventually wrap around for sufficiently large n -- (whose value is plat...
by akima
Tue Mar 29, 2011 10:44 am
Forum: General
Topic: LÖVE security sandboxing Guide for Ubuntu users
Replies: 4
Views: 2190

Re: LÖVE security sandboxing Guide for Ubuntu users

I checked on my Ubuntu system and it wasn't set. The AppArmor profile is only intended to be used on the Ubuntu distribution, so it looks safe to leave a hard coded path to ~/.local/share/love in the profile. Thanks again for the feedback! ;)
by akima
Tue Mar 29, 2011 8:18 am
Forum: General
Topic: LÖVE security sandboxing Guide for Ubuntu users
Replies: 4
Views: 2190

Re: LÖVE security sandboxing Guide for Ubuntu users

thelinx wrote:It seems you're mistaken on one bit. In LÖVE 0.7, the save directory was moved to $XDG_DATA_HOME/love, or ~/.local/share/love by default.
Thanks for the hint. I've created read write access too ~/.local/share/love/. I'll have a look into $XDG_DATA_HOME/love later.
by akima
Mon Mar 28, 2011 9:33 pm
Forum: General
Topic: LÖVE security sandboxing Guide for Ubuntu users
Replies: 4
Views: 2190

LÖVE security sandboxing Guide for Ubuntu users

http://love2d.org/wiki/UbuntuSecurity The above is a simple guide I have written which explains how to security sandbox the LÖVE engine if you're an Ubuntu user. If anyone uses my guide please tell me. It took me ages to write it! Also: Could one of the wiki admins make a link to my guide somewhere...
by akima
Fri Mar 25, 2011 11:55 am
Forum: General
Topic: Avatars: OBEY!
Replies: 763
Views: 1005702

Re: Avatars: OBEY!

Done one!

He looks pretty serious to me. I wouldn't step on his turf.
by akima
Sat Mar 05, 2011 7:19 pm
Forum: Support and Development
Topic: Security Sandboxing
Replies: 14
Views: 5604

Re: Security Sandboxing

He he. Cool ok. That happens a lot with discussions. Different interpretations of words confusing the issue, or in this case one person (me) not properly interpreting what the other person meant. ^_^
by akima
Sat Mar 05, 2011 4:21 pm
Forum: Support and Development
Topic: Security Sandboxing
Replies: 14
Views: 5604

Re: Security Sandboxing

BlackBulletIV: I don't think you thought through the problem very much before replying. You're treating Love as if it's a gaming platform , not a framework for game development. There's a big difference between the two. Frameworks just provide services, like worrying about how to draw graphics, or u...