Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
so i need to code a wrecking ball for my game i want it to go from 90° to 270° and back to 90°
(i got it to rotate i just need to limit its rotation somehow)
do you know hoe to make a 360 degree view, that you can click on hotspots to active or travel? it will be a background.
can you help me guys? how do you make it?
I am trying to find a way to keep my var angle[0] stay within 0-360.
angle[0] = angle[0]-lengthdir_y(12, point_direction(x, y, mouse_x, mouse_y)-angle[0]) // torso angle
Using median will not help, I need the angle to "spin around", not lock up if it gets to 0 or 360.
Preface:
So I'm making this game where you play as a block/square that rotates around its edges when you press in the respective directions, left or right. Now, I'm adding a mechanic where you can rotate the screen by pressing W, A, or D. W rotates the screen 180 degrees, A rotates the screen...