1526
Announce Your Software/Service/Product / Re: Maze Craze - Fun 2D game by Wreckedcarzz
« Last post by wreckedcarzz on March 31, 2007, 10:30 AM »---Old post, removed---
I think that what mouser means by acceleration is that when you press a direction, the ball doesn't immediately start moving at a speed of 10, but increases its speed in the direction you're pushing by a smaller amount as long as the button is being pushed until it reaches a max speed. This would be something like speed += 2 (or speed = speed+2). I just opened up Game Maker and took a look at it and what you need to do for proper acceleration is click the little "Relative" box when changing the speed. That will make it whatever it is plus the number you set.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.-Deozaan (March 30, 2007, 11:01 AM)
Mouser: The reason the controls are wonky is because of the way Game Maker works. It's so "user friendly" that it doesn't easily (for a beginner/without going into advanced mode) provide a way to change the object's movement direction without stopping the other direction. As you say, getting the physics and gravity working properly wouldn't be too hard if you were typing in regular code, but the way Game Maker organizes everything, it tries to simplify it to the point where it makes simple things (for somewhat experienced programmers) kind of difficult to do without going into advanced mode.-Deozaan (March 30, 2007, 11:01 AM)