Users browsing this thread: 1 Guest(s)
Metroid: Father Hunt
#45
(05-05-2013, 12:16 PM)ronny14 Wrote: I'm making this in Game Maker 8, nothing too fancy.
The map is something I've struggled with since I started. I ended up with a rather long and complicated code that divided the screen into about 750 little "cells."
Each cell keeps track of 1 thing: Whether or not it should cover the map that is drawn below. When Samus is in a cell's location, the cell records the area it is in and then will reveal the map piece below it. Basically, if the cell has registered to show the map block in area 1, then it will hide the map block that is in the same position in area 2 until you visit that area.
It's rather basic compared to other map systems, and requires a lot of input, (the coordinates of each room must be specified) but I feel more in control with how the system works, and there doesn't seem to be a negative performance impact.

OH! Ok, so it's like you have an array with the x/y positions of the rooms. Once the room is entered you change it's value... Hm.. that could be done with a couple of For loops and single sprite with several frames.

8x8 sprite, say... 12 frames, frame 0 being 'blank'
Array [ x, y] = 0 for not explored, nor known
1 = single room block, 2 left half long, 3 right half long, etc.
Bearded Beast Illustrations
Photobucket Sprite Archive
Deviantart
If the study and practice of art, is not the endeavor to better one's skill constantly, then I don't know a damned thing.
Thanked by:


Messages In This Thread
Metroid: Father Hunt - by ronny14 - 01-15-2013, 05:59 PM
RE: Metroid: Father Hunt - by Chris2Balls [:B] - 01-15-2013, 06:20 PM
RE: Metroid: Father Hunt - by ronny14 - 01-15-2013, 06:28 PM
RE: Metroid: Father Hunt - by ronny14 - 01-19-2013, 09:40 PM
RE: Metroid: Father Hunt - by Phaze - 01-20-2013, 02:13 AM
RE: Metroid: Father Hunt - by ronny14 - 01-26-2013, 06:57 PM
RE: Metroid: Father Hunt - by ronny14 - 02-18-2013, 06:42 PM
RE: Metroid: Father Hunt - by Chris2Balls [:B] - 02-22-2013, 06:11 AM
RE: Metroid: Father Hunt - by ronny14 - 02-22-2013, 05:19 PM
RE: Metroid: Father Hunt - by ronny14 - 03-14-2013, 09:55 PM
RE: Metroid: Father Hunt - by Previous - 03-15-2013, 04:41 PM
RE: Metroid: Father Hunt - by ronny14 - 03-15-2013, 06:12 PM
RE: Metroid: Father Hunt - by Kriven - 03-15-2013, 10:28 PM
RE: Metroid: Father Hunt - by ronny14 - 03-15-2013, 11:50 PM
RE: Metroid: Father Hunt - by ronny14 - 03-20-2013, 08:36 PM
RE: Metroid: Father Hunt - by ssbawesome - 03-21-2013, 05:51 PM
RE: Metroid: Father Hunt - by ronny14 - 03-21-2013, 06:06 PM
RE: Metroid: Father Hunt - by Previous - 03-22-2013, 05:35 AM
RE: Metroid: Father Hunt - by ssbawesome - 03-21-2013, 06:54 PM
RE: Metroid: Father Hunt - by Kriven - 03-22-2013, 12:47 PM
RE: Metroid: Father Hunt - by ronny14 - 03-22-2013, 07:19 PM
RE: Metroid: Father Hunt - by Previous - 03-23-2013, 03:32 AM
RE: Metroid: Father Hunt - by ronny14 - 03-23-2013, 03:50 PM
RE: Metroid: Father Hunt - by Chris2Balls [:B] - 03-24-2013, 08:40 AM
RE: Metroid: Father Hunt - by ronny14 - 03-24-2013, 02:13 PM
RE: Metroid: Father Hunt - by Medevenx - 03-24-2013, 07:23 PM
RE: Metroid: Father Hunt - by ronny14 - 03-24-2013, 08:51 PM
RE: Metroid: Father Hunt - by Chris2Balls [:B] - 03-25-2013, 06:35 AM
RE: Metroid: Father Hunt - by ronny14 - 03-29-2013, 06:07 PM
RE: Metroid: Father Hunt - by Chris2Balls [:B] - 03-31-2013, 08:44 PM
RE: Metroid: Father Hunt - by ronny14 - 03-31-2013, 08:53 PM
RE: Metroid: Father Hunt - by Kriven - 03-31-2013, 10:53 PM
RE: Metroid: Father Hunt - by Chris2Balls [:B] - 04-01-2013, 08:47 AM
RE: Metroid: Father Hunt - by ronny14 - 04-02-2013, 09:48 PM
RE: Metroid: Father Hunt - by ronny14 - 04-06-2013, 04:08 PM
RE: Metroid: Father Hunt - by Previous - 04-06-2013, 04:13 PM
RE: Metroid: Father Hunt - by ssbawesome - 04-06-2013, 07:00 PM
RE: Metroid: Father Hunt - by ronny14 - 04-07-2013, 06:54 PM
RE: Metroid: Father Hunt - by ronny14 - 04-15-2013, 06:33 PM
RE: Metroid: Father Hunt - by Previous - 04-16-2013, 12:33 AM
RE: Metroid: Father Hunt - by Gors - 04-16-2013, 08:34 AM
RE: Metroid: Father Hunt - by ronny14 - 04-16-2013, 03:49 PM
RE: Metroid: Father Hunt - by Bearded_Beast - 05-04-2013, 04:07 PM
RE: Metroid: Father Hunt - by ronny14 - 05-05-2013, 12:16 PM
RE: Metroid: Father Hunt - by Bearded_Beast - 05-05-2013, 10:26 PM
RE: Metroid: Father Hunt - by ronny14 - 06-14-2013, 12:53 AM
RE: Metroid: Father Hunt - by Demonlemon - 06-14-2013, 03:41 PM
RE: Metroid: Father Hunt - by ronny14 - 11-23-2013, 07:48 PM
RE: Metroid: Father Hunt - by Kriven - 11-24-2013, 02:27 AM
RE: Metroid: Father Hunt - by Kelvin - 12-03-2013, 06:39 PM
RE: Metroid: Father Hunt - by ronny14 - 12-08-2013, 04:52 PM
RE: Metroid: Father Hunt - by Zero Kirby - 12-03-2013, 08:04 PM
RE: Metroid: Father Hunt - by ronny14 - 02-16-2014, 03:07 PM

Forum Jump: