Want this question answered?
use the action with the big up arrow
Yes, the internal variable for an object's speed in Game Maker is <Object_Name>.speed.
In the step event, add a move towards action and put x as object1.x. Put y as object1.y. Enter the desired speed below. Of course, this is only an example and you would have to replace object1 (in both places) with the name of the object to be followed.
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.
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) } }
A sprite cannot do anything. If you meant "How do you make anobject shoot in game maker 7?" then it's easy.Create an object for your bullet and give it a sprite. Then in the object you want to shoot the bullet add a "create instance with motion" actionwith the bullet specified.Alternatively you could use a "create instance" action and then add an on creation, "move" action to the bullet.
Change to another object with the same sprite
First Make a Sprite of the question make it an object, same with the answer
First you need to make an object than make bullets or a fist sprite and say when key space is pressed change sprite into the fist punching one or create object bullet going towards the way you were facing
A sprite cannot contain code.
in the sprite propertes click edit sprite. go to "Transform" at the top and click "Stretch"
Make an object about the size of your charachter(persionally i would give it the players sprite) and make it not visible and add a collision event with the object you want to turn around. In that put an event [reverse horizontal speed] and you are done! !!
Great free utility for sprite and tile design . http://tilestudio.sourceforge.net/
In the file menu of the sprite editor, click create from strip
Pokemon sprites can be made on paint
use the action with the big up arrow
I've posted the URL to a site below that might be helpful in making your Sprite movie:http://chaoticcomics.comicgenesis.com/sprite.htmOnce you have produced the Sprite movie, you will need to make sure it is in a compatible format for use in Windows Movie Maker.