Problems with vector player movement (im new)

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
MadByte
Party member
Posts: 533
Joined: Fri May 03, 2013 6:42 pm
Location: Braunschweig, Germany

Re: Problems with vector player movement (im new)

Post by MadByte »

Code: Select all

	if love.keyboard.isDown("up") and
		player.yvel > -100 then
			player.yvel = player.yvel - player.speed * dt
	end
TheSquareRootOf3
Prole
Posts: 15
Joined: Wed Jun 26, 2013 5:41 pm

Re: Problems with vector player movement (im new)

Post by TheSquareRootOf3 »

ahhh thanks! god im an idiot :p
TheSquareRootOf3
Prole
Posts: 15
Joined: Wed Jun 26, 2013 5:41 pm

Re: Problems with vector player movement (im new)

Post by TheSquareRootOf3 »

also, im having some problems with camera movement, should i post them here? or make a new thread
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

Re: Problems with vector player movement (im new)

Post by jjmafiae »

TheSquareRootOf3 wrote:also, im having some problems with camera movement, should i post them here? or make a new thread
first off post things like this in support and development!

link: viewforum.php?f=4

secound!

keep calm and eat cheese :ultraglee:
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests