Search found 178 matches

by Ekamu
Sat Mar 07, 2015 12:42 am
Forum: Support and Development
Topic: How to Embed Into HTML
Replies: 1
Views: 3831

How to Embed Into HTML

Hi I downloaded the Love Source.
How do I embed LOVE into a webpage (HTML Page)? and run the game exe directly from a web browser?.
by Ekamu
Fri Dec 26, 2014 8:53 pm
Forum: Support and Development
Topic: Bitmasking
Replies: 8
Views: 5055

Re: Bitmasking

Great example. That will help. LaJIT has lots of bit libraries. so theres still lots to learn. Check out the functions at the end for some ideas on how to actually implement this in LOVE. Lua BitOp (release 1.0.1) Description bit.tobit(x) -- normalize number to the numeric range of -- bit operations...
by Ekamu
Fri Dec 26, 2014 2:49 am
Forum: Support and Development
Topic: Bitmasking
Replies: 8
Views: 5055

Re: Bitmasking

Hmm actually its ok I'll mess around with this and have fun. Supported functions : bit.tobit, bit.tohex, bit.bnot, bit.band, bit.bor, bit.bxor, bit.lshift, bit.rshift, bit.arshift, bit.rol, bit.ror, bit.bswap. http://bitop.luajit.org EDIT: I found this tutorial on bitwise operations with Lua 5.2 [bi...
by Ekamu
Thu Dec 25, 2014 9:53 am
Forum: Support and Development
Topic: Bitmasking
Replies: 8
Views: 5055

Bitmasking

How do I bit mask this graphic.
your_face1.png
your_face1.png (202.7 KiB) Viewed 5055 times
http://bitop.luajit.org

LuaJIT has Operations for bitwise operations. Im new to this so what do I do?
by Ekamu
Wed Nov 19, 2014 4:31 am
Forum: Support and Development
Topic: Does Text Sub Work in JIT?
Replies: 1
Views: 2057

Does Text Sub Work in JIT?

Hi this is a code experiment to draw text one character at a time using dt. I am using concatenation and the text library. It does not work anymore like with 5.1, Im thinking they switched the text library. All libraries are in C right? function love.load() text = { ['t'] = 0, ['c'] = 0, ['n'] = 0, ...
by Ekamu
Tue Nov 11, 2014 6:04 am
Forum: Support and Development
Topic: Table Problems Is it Lua JIT?
Replies: 5
Views: 3337

Re: Table Problems Is it Lua JIT?

So do we have any arguments (paramas) that are new with the basic load, update and draw callbacks. This is LuaJIT 2.0.3 Im guessing? local accent_maps = { hu = { ['á'] = 'a', ['é'] = 'e', ['í'] = 'i', ['ó'] = 'o', ['ú'] = 'u', ['ö'] = 'o', ['ü'] = 'u', ['ő'] = 'o', ['ű'] = 'u', }, } EDIT: This works...
by Ekamu
Mon Nov 10, 2014 3:16 am
Forum: Support and Development
Topic: Table Problems Is it Lua JIT?
Replies: 5
Views: 3337

Re: Table Problems Is it Lua JIT?

Im guessing callback functions are written just like C right?

function love.load() {

}

or

function love.load [

]

???

Ill read this tutorial. http://cellux.github.io/articles/introd ... it-part-1/
by Ekamu
Sun Nov 09, 2014 5:01 am
Forum: Support and Development
Topic: Table Problems Is it Lua JIT?
Replies: 5
Views: 3337

Table Problems Is it Lua JIT?

Is there anything different with how Lua JIT uses tables? I tried running this code but it says theres an error in main, line 4, y is a nil value. I know C, so what am I doing wrong? Try running this code as your love.main function love.load() screen = {} screen.x = 100, screen.y = 5, screen.w = 600...
by Ekamu
Tue Sep 09, 2014 2:53 am
Forum: General
Topic: Networking And Travel
Replies: 1
Views: 1520

Networking And Travel

Hi Guys, I almost dropped out of collage. No problem though I know what I'm doing in life. I was thinking of love, how its completely free. Im planning on linking up with tourists online with love networking. Make it something fun like Facebook where we can just meet new people. Thats my business no...
by Ekamu
Tue Apr 29, 2014 3:15 pm
Forum: General
Topic: Lua Mobile Game Development
Replies: 3
Views: 5132

Lua Mobile Game Development

I am now really comfortable with Love and Lua and game development is going well. A few years ago I would have never imagined using a framework to make a game, coding always seemed like some kind of sorcery (in my opinion it still is). I now really enjoy the freedom using an open source framework co...