Search found 56 matches

by zell2002
Tue Mar 25, 2014 10:24 pm
Forum: Libraries and Tools
Topic: [Library] anim8 - An animation library - v2.3.0 released
Replies: 84
Views: 39394

Re: [Library] anim8 - An animation library - v2.1.0 released

lol ye the order is VERY odd. ive seen a few like this (i didnt make it)
i would have made it like any sane person - top left to top right.

i think i will edit it.

cheers for the info! that will be most useful (will test it now so ive got the understanding under my belt)
by zell2002
Tue Mar 25, 2014 10:06 pm
Forum: Libraries and Tools
Topic: [Library] anim8 - An animation library - v2.3.0 released
Replies: 84
Views: 39394

Re: [Library] anim8 - An animation library - v2.1.0 released

hi
how do you tell the grid/animation to play the frames in a specific order ?
as in:

Code: Select all

[3], [6], [9]
[2], [5], [8]
[1], [4], [7]
- a sprite of 3 by 3

i want to start at the bottom left, 1, and then move sequentially through the sprite.
by zell2002
Sun Mar 23, 2014 1:28 pm
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 101281

Re: LUBE (Networking Library)

client calls update(dt) yeah. and yeah the callbacks are getting called the recieves get called because they are getting constantly called in the update : function udpClient:_receive() local data, ip, port = self.socket:receivefrom() its just this, in the client, always returns : nil, timed out, nil...
by zell2002
Sun Mar 23, 2014 11:01 am
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 101281

Re: LUBE (Networking Library)

i havent over ridden them....
-- more code
was me saying, basically, the rest of the function code - i just didnt want to copy it all out - seemed a bit pointless
by zell2002
Sun Mar 23, 2014 10:33 am
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 101281

Re: LUBE (Networking Library)

yea
in LUBE :

Code: Select all

function server:update(dt)
print("server update")
-- more code
end

function udpServer:receive()
print("server rec!")
local data, ip, port = self.socket:receivefrom()	
print("data : " .. tostring(data))
-- more code
end
both these functions run
data is always nil
by zell2002
Sun Mar 23, 2014 1:50 am
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 101281

Re: LUBE (Networking Library)

hi version 0.7 i got working fine. but version 1.0 is very different, and i just can't get it to work at all globals : _ip = "127.0.0.1" _port = "18025" server code : function StartServer() server = lube.udpServer() server:listen(_port) server.callbacks.connect = onConnect server.callbacks.recv = on...