Search found 3 matches

by blindside78
Sat Feb 23, 2013 8:59 pm
Forum: General
Topic: Changing number varibles
Replies: 4
Views: 2741

Re: Changing number varibles

this is in my code: if love.keyboard.isDown("a") then timer = timer + one * dt QposX = 267 QposY = 30 player.x = player.x - player.speed * dt fx = fx - player.speed * dt elseif love.keyboard.isDown("d") then player.x = player.x + player.speed * dt fx = fx + player.speed * dt end ...
by blindside78
Sat Feb 23, 2013 8:45 pm
Forum: General
Topic: Changing number varibles
Replies: 4
Views: 2741

Changing number varibles

im tring to change a number varible everytime my timer reaches over 10 seconds but the quardinates dont change. player = {} player.x = 200 player.y = 300 player.speed = 150 player.width = 80 player.height = 80 player.friction = 0 QposX = 153 QposY = 33 fx = 240 fy = 320 timer = 2 one = 1 function pl...
by blindside78
Fri Feb 22, 2013 12:50 pm
Forum: General
Topic: i need help with slanted turrian(PHYSICS)
Replies: 1
Views: 1511

i need help with slanted turrian(PHYSICS)

how do you move slanted ground and change rotation acourding to the rotation of whatever your walking on.

i heard you have to use trigonometry