I'm having an issue with moving a shape around the screen using the keyboard.
http://pastebin.com/GLCj5Q5w < that is all I have thus far. It's a bit of a mess because I'm attempting to figure out what I'm doing wrong.
I understand how shapes are displayed on the screen but I don't understand how to move them.
Do I move the coordinates around? Or does the camera have to move around?
I apologize for not displaying much code here except for what's in the pastebin. I just can't seem to find much info regarding this / I don't know where to look and it's frustrating to an extent.
EDIT: A few minutes of http://simplynoise.com/ seemed to help. -.-
Still can't figure it out but what I had been trying is updating the camera. (Or what parts of it I had implemented)
I thought (and still do) that because I'm moving something IN the game that really its not moving but rather the camera is.
Main Goal: Move Shape, then put in textures and collision and have shape move along textures. (you can see where this is going)
Very simple goal, but i'm stuck here.
Edited by Inuyashakagome16, 15 January 2013 - 11:48 AM.