
Finally got the GUI library complete for the new version of my pal editor, which at this point is becoming more of a real time editing suite instead
Works just like any OS GUI would work, draggable windows with controls inside.
Posted 07 May 2013 - 03:30 PM

Posted 07 May 2013 - 06:31 PM
KingofHarts, on 06 May 2013 - 09:27 AM, said:
Posted 07 May 2013 - 07:52 PM
Posted 08 May 2013 - 12:53 AM
Posted 08 May 2013 - 08:46 AM
Tiddles, on 08 May 2013 - 12:53 AM, said:
Posted 10 May 2013 - 04:02 PM
Cinossu, on 07 May 2013 - 07:45 AM, said:
Posted 10 May 2013 - 08:29 PM
Cinossu, on 07 May 2013 - 07:45 AM, said:
Posted 12 May 2013 - 09:22 AM
Posted 13 May 2013 - 06:38 PM

local x = 0x1500 -- center x local y = 0x400 -- center y local r = 20.0 -- radius local a = 0 -- angle local monid = 0x1D566 local mon1 = obj:add(monid, 1, x, y) -- 1up local mon2 = obj:add(monid, 2, x, y) -- robotnik local mon3 = obj:add(monid, 3, x, y) -- ring local mon4 = obj:add(monid, 4, x, y) -- shoes -- loops every frame function test() -- add up the angle a = a + 0.1 -- reposition the 1up monitor mon1.x = x + (r * math.cos(a)) mon1.y = y + (r * math.sin(a)) -- reposition the robotnik monitor mon2.x = x + (r * (math.cos(a + 90.0))) mon2.y = y + (r * (math.sin(a + 90.0))) -- reposition the ring monitor mon3.x = x + (r * (math.cos(a + 180.0))) mon3.y = y + (r * (math.sin(a + 180.0))) -- leave the shoes alone end
Posted 15 May 2013 - 05:34 PM
Posted 16 May 2013 - 02:06 AM
Posted 18 May 2013 - 02:51 PM

Posted 18 May 2013 - 03:07 PM
KingofHarts, on 06 May 2013 - 10:56 AM, said:
ashthedragon, on 06 May 2013 - 10:13 AM, said:
Posted 18 May 2013 - 06:57 PM
ashthedragon, on 18 May 2013 - 03:07 PM, said:
KingofHarts, on 06 May 2013 - 10:56 AM, said:
ashthedragon, on 06 May 2013 - 10:13 AM, said: