Search found 73 matches

by KyleFlores1014
Mon May 29, 2017 11:34 am
Forum: Support and Development
Topic: Camera
Replies: 56
Views: 17696

Re: Camera

can you help me?
by KyleFlores1014
Mon May 29, 2017 11:34 am
Forum: Support and Development
Topic: Camera
Replies: 56
Views: 17696

Re: Camera

game.lua Camera = require "hump/camera" cam = Camera(player.x,player.y) function game_load() player_load() end function game_draw() player_draw() OSC_draw() love.graphics.setBackgroundColor(0, 125, 0) end function game_update(dt) local dx,dy = player.x - cam.x, player.y - cam.y cam:move(dx/2, dy/2) ...
by KyleFlores1014
Sat May 27, 2017 11:17 am
Forum: Support and Development
Topic: Camera
Replies: 56
Views: 17696

Camera

Im trying to make the screen follow my character how do I do it?