Messages - Deozaan [ switch to compact view ]

Pages: prev1 ... 1806 1807 1808 1809 1810 [1811] 1812 1813 1814 1815 1816 ... 1917next
9051
I just re-browsed the GM Forums and couldn't find the darn topic but I think the code I used originally had an error in it. I will keep looking.
-wreckedcarzz (April 02, 2007, 08:51 PM)

I would be glad to take a look at your source and help you out. Send me a PM if you're interested.

9052
That is what I tried the 1st time was to have "When action <UP key is pressed> then object player 1 will go 3 speed up" and that was followed by several "When action <UP key is pressed> then object player 1 will go speed Relative 1 up" However it practically shot up to the speed (I don't recall what it was) instantly. I am thinking of trying the snooze timer but I am not sure how that would work (read the Help...wasn't much Help). I will fiddle with it now so I can remember everything (I have bad short term memory) and try to get it working right once and for all.
-wreckedcarzz (March 31, 2007, 09:34 AM)

This method for acceleration doesn't sound like what you want. You should simply be able to say something like (in pseudo-code):

if (UP is pressed) { xspeed -= 3; }
playerX += xspeed;

There is a flaw in this simple example because eventually the player could be moving so fast you couldn't control him, so you can add a check:

if (KeyUP is pressed && xspeed >= -15) { xspeed -= 3; }
playerX += xspeed;

This will make it so that if the xspeed is lower than -15 (going up at a speed faster than 15) it will not accelerate any more.

I know I had some method of acceleration working as I'm describing here when I played around with making a Game Maker game sometime last year, so I know it's possible.

9053
Living Room / Re: Downloadable Game for the Weekend: Bloodmasters
« on: April 02, 2007, 04:01 PM »
Anyone still playing it? I'm a little late to the show but I'd like to give it a try.

9054
Living Room / Re: Why maple story sucks
« on: April 02, 2007, 03:54 PM »
It sucks for many more reasons that just your keyboard problem. . .

9055
That is what I tried the 1st time was to have "When action <UP key is pressed> then object player 1 will go 3 speed up" and that was followed by several "When action <UP key is pressed> then object player 1 will go speed Relative 1 up" However it practically shot up to the speed (I don't recall what it was) instantly. I am thinking of trying the snooze timer but I am not sure how that would work (read the Help...wasn't much Help). I will fiddle with it now so I can remember everything (I have bad short term memory) and try to get it working right once and for all.

-Wreckedcarzz
-wreckedcarzz (March 31, 2007, 09:34 AM)

There is a tab thingy you can drag in there that will execute a piece of code (I think) which might make it easier to do this acceleration thingy. If you'd like, you can send me your source and I'll take a look to see if I can get the movement more like what Mouser is describing.

Pages: prev1 ... 1806 1807 1808 1809 1810 [1811] 1812 1813 1814 1815 1816 ... 1917next
Go to full version