0 Members and 2 Guests are viewing this topic.
could someone please provide me a code to check if another program is using the same code poorly said Like to make sure, in a 2 player game, that the other person is running the program to.
In other news, Frey continues kicking unprecedented levels of ass.
How can i rotate a square section/ all of my screen 64 (90) degrees?
Repeat getKey(15) .UPDATE POSITIONS X+H→X Y+V→Y A+C→A B+D→B .SET MAXIMUM SPEED If H>>256 256→H End .SET MAXIMUM SPEED If (H<<-256) -256→H End .RIGHT FRICTION If A>>0 A-1→A End .LEFT FRICTION If A<<0 A+1→A EndEnd
flipH(flipV(Pic1)) should work.
Quote from: Runer112 on September 21, 2011, 03:13:43 pmflipH(flipV(Pic1)) should work.Axe says that these functions can't be used recursively You would need to copy the data in between each flip
Code: [Select]Repeat getKey(15) .UPDATE POSITIONS X+H→X Y+V→Y A+C→A B+D→B .SET MAXIMUM SPEED If H>>256 256→H End .SET MAXIMUM SPEED If (H<<-256) -256→H End .RIGHT FRICTION If A>>0 A-1→A End .LEFT FRICTION If A<<0 A+1→A EndEndThis is not the full code of my program, it's just part of it, the part where I control the horizontal acceleration.Horizontal Acceleration is saved on variable H, and I'm using Fixed Point (x256).I try to give H friction, so that when the player presses the arrow, the player stops after a bit. However, it's not really working.Any ideas on how I can make it? Thanks