Search found 7 matches

by Operarus
Mon Feb 15, 2016 3:38 pm
Forum: General
Topic: metatables, __len
Replies: 4
Views: 2427

metatables, __len

When i write it, im get 0, but i want to get 100, please help;

Code: Select all

q = {};
setmetatable(q, {
  __len = function(self)
    return 100;
  end
});
error(#q);
by Operarus
Tue Jun 23, 2015 7:54 pm
Forum: Libraries and Tools
Topic: evaluator of pi
Replies: 1
Views: 1614

evaluator of pi

Hello all, I've made simple demo, see the code: http://i0.simplest-image-hosting.net/picture/code.png And result: http://i0.simplest-image-hosting.net/picture/game.png This also can move by mouse click. Pi calculates by formula: (all chars - space chars) * 4 / ( all chars ), no math.pi or contants u...
by Operarus
Thu Apr 16, 2015 6:40 pm
Forum: Libraries and Tools
Topic: Microphone Support for LÖVE!
Replies: 62
Views: 44459

Re: Microphone Support for LÖVE!

How can I run this lib on android?
Maybe I need to compile the LOVE-android-port with a permission of the microphone?
by Operarus
Sun Sep 07, 2014 5:51 am
Forum: Games and Creations
Topic: Physics Sandbox Game
Replies: 4
Views: 5185

Re: Physics Sandbox Game

is a framework, or a sandbox? If this is a sandbox, then you need to make a menu where all the settings are box2d (gravity, creating fixtures, scroll, etc.), and if it is a framework, it is necessary to simplify the code (add a couple of simple examples). It's too early version, you need to add a lo...
by Operarus
Wed Sep 03, 2014 1:49 pm
Forum: LÖVE-Android
Topic: love-android-sdl2 (native, 0.9.2)
Replies: 324
Views: 412904

Re: love-android-sdl2 (native, 0.9.0)

What I did wrong?
file.zip
debug file
(4.1 MiB) Downloaded 315 times
by Operarus
Mon Sep 01, 2014 6:42 am
Forum: LÖVE-Android
Topic: love-android-sdl2 (native, 0.9.2)
Replies: 324
Views: 412904

Re: love-android-sdl2 (native, 0.9.0)

I was able to do "ndk-build", but when I run the application it says "application is stopped", app weight: 10,29mb.
by Operarus
Sat Aug 23, 2014 4:02 pm
Forum: LÖVE-Android
Topic: love-android-sdl2 (native, 0.9.2)
Replies: 324
Views: 412904

Re: love-android-sdl2 (native, 0.9.0)

help with the build of https://bitbucket.org/MartinFelis/love- ... _-_Windows, I'm stuck on ndk-build, which is to run it? I tried to run it in cygwin but he wrote "You are using a non-Cygwin compatible Make program". ( Sorry for google translate )