Ok, thanks i forgot to say my game is an FPS in my post
I got the cam&weap move code from the spooky maze game and replaced the variables with mine the only problem is i can't stop it from flickering and it won't move so i need help fixing it.
Can somebody help me with this?
its supposed to move the camera and the weapon sprite up and down when i walk the camera moves but the weapon just flickers and when i put VSYNC it lags.
But i need help,
On my raycast FPS i need it look like a rock (Grey pixel) is going across the map when i shoot my slingshot, now here's my idea: to do that i could make a grey pixel go up the screen while getting smaller when i shoot but i don't know how to do it.
If you have a better idea please tell me, thanks
Ok i just now tried the stuff you guys told me and it worked but here's the problem, i made the array 7 line higher and it says subscript out of rage in 421
and program doesn't even have 420 lines O_o and i put MAPH%+7
If you download V360's program put the highlighted lines of code in the screenshot after the controls code if you want sky and ground graphics.
(Make sure to put it after the controls code.)