Sorry if this sounds confusing...not the best at explaining
in the step event for the objects your want the camera view to follow simply put view_object=object_index that will make the camera follow the object. now when you change objects
player to car. as long as your car has that in its step even the camera should follow the car
because the player is gone and vise-versa. comment by Doublek642: Thanks alot man it worked perfectly for all vehicles! oh, and one more question. How do I make power-ups turn you back to normal after a certain amount of time/use? (in game maker)
No because 0.25 is less than 0.3
objectfollow = name or id of object to follow. spd = speed to follow. { if collision_point(self.x,self.y,objectfollow,true,true) = false { mp_potential_step(objectfollow.x,objectfollow.y,spd,true) } }
[object Object]
A change in the slope of a location-time graph of an object indicates a change in the radial component of its speed.
If you want to make an object follow another on demand (which i assume is your goal) then in the object you want, maske an action. For example - keyboard press F. In this action put what will happen.There are basically three options (although there is probably some complicated code for advanced games).1. Move TowardsX object name here.xY object name here.y2. Step TowardsX object name here.xY object name here.y3. Step AvoidingX object name here.xY object name here.yFor all of these you have to specify the speeds of the object that is moving towards the other. And there are some slight differences in each but choose one that suits your game.I hope this information was helpful.
No because 0.25 is less than 0.3
To create a side-scrolling shooter in Game Maker 7 Lite, start by designing your player character using sprites, then create an object for the player to control. Implement movement controls using keyboard events, and add shooting functionality by creating a projectile object that is instantiated when the player presses the shoot button. Finally, design enemy objects and set up collision events to manage interactions and scoring, along with a background for the side-scrolling effect. Don't forget to test and refine the gameplay mechanics!
Whatever code you're using to make the object follow the character, place this in the step event. Then, the object will always be moving towards the other. Specifically, make it move towards point: X: character.x Y: character.y
Yes, if a net force acts at an angle to the direction an object is moving, the object will follow a curved path. This is because the force will cause the object to accelerate in a direction that is not directly in line with its original velocity, resulting in a change in the object's path.
[object Object]
[object Object]
If a net force acts at an angle to the direction an object is moving, the object will follow a curved path. This is because the force causes both a change in the object's speed and its direction. The object will move in the direction of the net force, but its trajectory will be curved due to the combination of the force and the object's initial velocity.
Balanced forces acting on an object do not change the object's position.
[object Object]
moss
when does an object have a positive change
[object Object]