Search found 3 matches

by phichet
Fri Apr 13, 2012 7:37 am
Forum: Support and Development
Topic: help me it is about move the ball hit screen
Replies: 3
Views: 2200

Re: help me it is about move the ball hit screen

function love.load() x = 200 y = 50 r = 10 speed = 100 left = true -- indicate the direction end function love.update(dt) x = x - speed * dt if (x + r >= 800) and not left then -- check for screen side and direction left = not left -- reverse direction indicator speed = 0 - speed -- reverse directi...
by phichet
Fri Apr 13, 2012 4:55 am
Forum: Support and Development
Topic: help me it is about move the ball hit screen
Replies: 3
Views: 2200

help me it is about move the ball hit screen

here is code when a ball hit screen it is can not change direction function love.load() x = 200 y = 50 r = 10 speed = 100 end function love.update(dt) x = x - speed * dt if x + r >= 800 then x = x - speed * dt elseif x - r <= 0 then x = x + speed * dt end end function love.draw() love.graphics.circl...
by phichet
Tue Mar 02, 2010 7:44 am
Forum: General
Topic: help me i am beginner
Replies: 1
Views: 1293

help me i am beginner

1.i want a compiler for love 0.6.1 on windows xp please suggest me
2.how to install love engine to use with compiler on windows
3.how to compile engine and run program

thank you for reading and posting