Search found 60 matches

by zell2002
Sun Feb 08, 2015 3:05 pm
Forum: Support and Development
Topic: best way of doing pulsing Text
Replies: 4
Views: 532

Re: best way of doing pulsing Text

that does seem very clean way of doing it!
my only problem is ive tried math.sin(10 * dt) and the text is tiny, but then i try it at math.sin(100 * dt) and the text is about right but it is very very fast
am i missing something ?
by zell2002
Sun Feb 08, 2015 11:36 am
Forum: Support and Development
Topic: best way of doing pulsing Text
Replies: 4
Views: 532

best way of doing pulsing Text

not sure the best way of doing this. what i have doesnt look good, and i feel there must be a better way of doing this ive currently got : startRange =1 endRange = 2 range = (endRange - startRange) / 2 offset = range + startRange pulse = 0 global_time = 0 function love.update(dt) global_time = globa...
by zell2002
Sun Dec 07, 2014 5:54 pm
Forum: Support and Development
Topic: Running love2d from sublime when not in root folder
Replies: 6
Views: 1122

Re: Running love2d from sublime when not in root folder

aahhh!!!
cheers !

I wasn't aware sublime specific project settings - cool :)
by zell2002
Sun Dec 07, 2014 5:04 pm
Forum: Support and Development
Topic: generated mass is the same as density passed in
Replies: 4
Views: 600

Re: generated mass is the same as density passed in

ah, i think i misread the computemass() output before as it is behaving the same for me now but yeah, if you print Density it is also 0.9375 which isn't correct when i change it to : Width = Meter * 2 Height = Meter * 2 Density = 1 the outputs are : Density : 1 Mass : 4 *edit, just seen your extra r...
by zell2002
Sun Dec 07, 2014 4:37 pm
Forum: Support and Development
Topic: generated mass is the same as density passed in
Replies: 4
Views: 600

generated mass is the same as density passed in

is this correct ? how does box2d calculate mass? here is my world : Meter = 64 love.physics.setMeter(Meter) --World = love.physics.newWorld(0, 0, true) World = love.physics.newWorld(0, 9.81 * Meter, true) so a meter is 64px for me then i create a shape : Width = Meter/2 Height = Meter * 2 local shap...
by zell2002
Sun Dec 07, 2014 4:11 pm
Forum: Support and Development
Topic: Running love2d from sublime when not in root folder
Replies: 6
Views: 1122

Re: Running love2d from sublime when not in root folder

using "${project_path:$file_path}" has the same results im afraid

im not 100% sure how I would write the batch file to do it for me inside sublime ...
by zell2002
Fri Dec 05, 2014 3:20 pm
Forum: Support and Development
Topic: Running love2d from sublime when not in root folder
Replies: 6
Views: 1122

Running love2d from sublime when not in root folder

i have this for my build : { "selector": "source.lua", "cmd": ["H:/LOVE/love.exe", "$file_path"], "shell": true } say im working on a project MyGame H:\LOVE\MyGame\ and in that I have main.lua and another folder "Library" which has a helper.lua file H:\LOVE\MyGame\Library\helper.lua file when in Sub...
by zell2002
Wed Oct 15, 2014 9:54 am
Forum: Support and Development
Topic: Getting started with multiplayer
Replies: 8
Views: 2563

Re: Getting started with multiplayer

*note * no code to hand, and havent looked at what i did for ages, and not sure if this is an over kill approach ... you may want to look into how other games handle this stuff replication, prediction etc.. i used LUBE and a lot of readings. i did it by having the Server holding the game state, and ...
by zell2002
Sat Oct 04, 2014 12:25 pm
Forum: Support and Development
Topic: gamepads || joysticks - how to tell what is plugged in
Replies: 4
Views: 1130

Re: gamepads || joysticks - how to tell what is plugged in

i have no idea what 'steam big picture mode' is lol and i havent launched any of my .love through steam tbh so not 100% sure how that would work out i think the gamepadmapping has finally clicked though, something like this: love.joystick.setGamePadMapping(ps2_guid, "a", "button", 5); i assume, i'd ...