Help - Search - Members - Calendar
Full Version: Selecting Few Blocks
Game Maker Community > Working with Game Maker > Advanced Users Only
Thull
Hi,

As some of you may know, I am working on a game like Final Fantasy Tactics. I have the battle field randomly generated, so it creates 30 blocks all touching the other...

I have my code to create the blocks, and it works fine. Now, I would like only 12 of the blocks that are closest to the character to change to a different sprite.

How would I go about doing this?


I am using Gm 6.1 Registered.


Thull cool.gif
Somelauw
Populair question
http://forums.gamemaker.nl/index.php?showtopic=208195
Always much asked in the novice fforum and sometimes in advanced too.
Just look to the link above and the answers in the other topics by using the search button.
Probably the answer is deactivating, however distance_to_object in a with construction would according to me be faster.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.