суббота, 9 февраля 2013 г.

учебники game maker

object to the game and make it follow the ship and make all collision

look very nice in your game. Now you could add this as an invisible

Now the bullet would go past the ship. Only this doesn’t

size as the object you make the mask for. For instance:

To do this you can use masks. You simply make a shape in the same

counts as destroying the ship.

So with your game you don’t want that shooting at your flag

It only shot of the flag of the ship and then went past the ship.

Even though the shot didn’t actually destroyed the ship.

ship. So shooting a missile at the flag will count as hitting the

With collision checking the flag will be counted as a part of the

have a sprite with a lot of tentacles. For instance take this space

instead of the original sprite. This is useful for instance if you

A mask is a sprite that is used by Game Maker for collision checking

map. The answer is that you should use masks.

your characters don’t get stuck anymore on the map, or how to make an isometric

Have you ever wondered how to improve collision checking in your game, make sure

(60 votes)Note: this tutorial is made for GM5 and certain screenshots might have changed slighlty between versions

This website is optimised for Javascript support. It is recommended to enable this for optimal performance.

Masks tutorial - Simon's Game Maker Website

Комментариев нет:

Отправить комментарий