Nifflas' Support Forum

Being Creative => Creativity Support => Topic started by: Jonolio on August 31, 2009, 02:07:41

Title: Does anyone use Game Maker?
Post by: Jonolio on August 31, 2009, 02:07:41
If so, just a quick question:

If I wanted to make a knytt like game on game maker where the character explores the world, how would I connect all the rooms up into one BIG world? I have the latest version of gamer maker and have upgraded to pro. Any help appreciated. :)
Title: Re: Does anyone use Game Maker?
Post by: Purple Pineapple on August 31, 2009, 02:33:09
Well, I use MMF, but there are a few ways to do this:

1. Create a giant map and have the scrolling snap to the nearest screen. (Used in Knytt)
2. Create multiple screens, and assign each an x and y position. Then, have the game move to a different on based on position. (Similar to KS technique)
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on August 31, 2009, 02:36:32
Woo! I have the perfect solution for this. Here's a PM I sent to someone else explaining how it works:

Now, for the room system. I'm gonna use pictures for this, because words just don't seem to cut it. :/

(http://img137.imageshack.us/img137/5828/multiplerooms1.png)
This is how a room might start out. The entire area is in the room, but the player only sees what's inside the grid box marked "View 0." In addition, every instance outside that box is deactivated, which lets the game run at a good FPS.

(http://img255.imageshack.us/img255/3672/multiplerooms2.png)
In this image, the player has left the previous grid box via the right side. Thus, the box to the right is now shown in View 0, and instances inside of it are activated.

Whenever the player leaves a screen, the view shifts over in the direction they left it by a fixed amount. Quite brilliant, if I do say so myself. 8)

You make the entire area in one room (or into 2 or 3, if that makes things easier). Then you program the view to follow the player, but only if they leave the view. So if the player is not in View 0, and is, rather, to the right of it, then View 0 should move to the right (in steps equal to its width) until the player is within it.

Did that make any sense?
Title: Re: Does anyone use Game Maker?
Post by: Purple Pineapple on August 31, 2009, 06:43:18
Quite brilliant, if I do say so myself. 8)
Geez. I wonder how many people have used this system. 9_9  (http://nifflas.ni2.se/forum/Smileys/Niffpack/tongue.gif)
Title: Re: Does anyone use Game Maker?
Post by: minmay on August 31, 2009, 16:20:23
I'm afraid that Purple Pineapple didn't really say anything, and PYP's method is just dumb - either you need to make the view size correspond to GM's frozen zone (which is basically impossible), or you need to code everything specifically so it deactivates when outside the view (which is annoying and will make your game run poorly).

The proper method is indeed to make each room one room, and use the following logic in your code:
-First of all, the player must be a persistent object.
-When the player exits the screen, decrease mapx by 1 if they went off the left side, increase it by 1 if they went of the right side, decrease mapy by 1 if they went off the top, increase it by 1 if they went off the bottom.  You could reverse these or use different variable names, of course.
-Also set the player's X or Y position to be at the right edge if they went off the left, at the top if they went off the bottom, etc.
-Name all your rooms to correspond to their positions on your map.  If room 50_50 is the starting point, then room 51_50 would be the room to the right of it, and so on.  (Again, you can reverse these.)
-Whenever the player leaves a room, a script should execute that places them in the appropriate room based on the value of the mapx and mapy variables.

It really is very simple.
Title: Re: Does anyone use Game Maker?
Post by: Dataflashsabot on August 31, 2009, 17:13:42
either you need to make the view size correspond to GM's frozen zone (which is basically impossible)
Err, no.
The instance_activate_region() and such functions are pretty easy to use, just supply the view top x coord, view width, etc as arguments. All in one room is much more convenient when level designing, too, so I'm really not sure why you'd want to split it all into smaller rooms.
Edit:
Code: [Select]
instance_activate_all();
instance_deactivate_region(view_xview[0],view_yview[0],view_wview[0],view_hview[0],false,true);
(This may seem wrong, but note the 'false'- that inverts the effect, disabling everything NOT in the region.)
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on August 31, 2009, 18:43:19
@minmay: Using multiple rooms is an inefficient system, and I find it bothersome that everyone insists on using it regardless. Linking images is annoying and difficult, moving from room to room is slower than moving about within the same room, and programming objects to affect objects outside the same room (e.g. a button on screen 30x47 that opens a door on screen 30x49) is far more touchy.

I'm afraid that Purple Pineapple didn't really say anything, and PYP's method is just dumb - either you need to make the view size correspond to GM's frozen zone (which is basically impossible), or you need to code everything specifically so it deactivates when outside the view (which is annoying and will make your game run poorly).
Nope. Just use the code that Dataflashbot used; it's basically what I did.

The proper method is indeed to make each room one room
See "inefficient."
-First of all, the player must be a persistent object.
-When the player exits the screen, decrease mapx by 1 if they went off the left side, increase it by 1 if they went of the right side, decrease mapy by 1 if they went off the top, increase it by 1 if they went off the bottom.  You could reverse these or use different variable names, of course.
-Also set the player's X or Y position to be at the right edge if they went off the left, at the top if they went off the bottom, etc.
-Name all your rooms to correspond to their positions on your map.  If room 50_50 is the starting point, then room 51_50 would be the room to the right of it, and so on.  (Again, you can reverse these.)
-Whenever the player leaves a room, a script should execute that places them in the appropriate room based on the value of the mapx and mapy variables.
All of this is unnecessary with my method.
Title: Re: Does anyone use Game Maker?
Post by: minmay on August 31, 2009, 19:31:31
The instance_activate_region() and such functions are pretty easy to use, just supply the view top x coord, view width, etc as arguments. All in one room is much more convenient when level designing, too, so I'm really not sure why you'd want to split it all into smaller rooms.

Unfortunately, those functions don't work the same way the frozen zone does.  And, perhaps more importantly, they're slow.  (Of course, everything in GM is slow, but this in particular will get really bad if you have a lot of objects.  Perhaps, for this particular game, in which there would probably be only a few objects per screen, it would be fine, but in general I wouldn't recommend it.)

Using multiple rooms is an inefficient system

Not really.  It's a bit more difficult for the game's creator, but it's far more efficient in terms of resources.  Although the room-to-room transitions will be slower than simply moving the view, you'll save a lot on both memory and CPU usage.

Linking images is annoying and difficult

I'm assuming you mean making the room edges match up?  You'll have that problem regardless of the system you use, I'm afraid.  Using the view method will make it slightly more convenient if you're using tiles, but only slightly.

programming objects to affect objects outside the same room (e.g. a button on screen 30x47 that opens a door on screen 30x49) is far more touchy.

This is true.  Certainly, if you want an enemy or something to continue running around even when you're not in its "room," then the view method would be preferable.  But since you mentioned deactivating instances outside the view, it really does make more sense to use the room system.



It should be pointed out that the whole efficiency thing might be moot, making the view method just fine, depending on how simple the game is.  Certainly, if you're simply using a few tilesets like in Knytt to design the screens, and gradients for the backgrounds, that's fine.

But a game with similar room changing - An Untitled Story - could never hope to do this.  Every screen has a PNG background and foreground image, both 640x480.  The PNG compression keeps them small enough on your hard drive, but they obviously need to be uncompressed to be displayed.  If it used your view system, most home computers wouldn't be able to run it because of the massive memory usage.
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on August 31, 2009, 20:47:43
Unfortunately, those functions don't work the same way the frozen zone does.  And, perhaps more importantly, they're slow.  (Of course, everything in GM is slow, but this in particular will get really bad if you have a lot of objects.  Perhaps, for this particular game, in which there would probably be only a few objects per screen, it would be fine, but in general I wouldn't recommend it.)
Wrong. The function runs as fast as if you had only the activated instances in the room; this is because GM activates all the instances, which just means that it will execute their events when it comes to them; it already knows where they all are, which is just variable storing and takes virtually no CPU. But then instances that aren't in the view are deactivated, and their events are never executed, so it's as if they were never activated in the first place.

Using multiple rooms is an inefficient system
Not really.  It's a bit more difficult for the game's creator, but it's far more efficient in terms of resources.  Although the room-to-room transitions will be slower than simply moving the view, you'll save a lot on both memory and CPU usage.
See above point on CPU and memory usage. This renders all arguments about increased resource usage moot.

Linking images is annoying and difficult
I'm assuming you mean making the room edges match up?  You'll have that problem regardless of the system you use, I'm afraid.  Using the view method will make it slightly more convenient if you're using tiles, but only slightly.
Yes, I do mean that. And the view system makes it extremely simple, since the entire area is visible at once in the editor. And that applies not only to tiles, but also to objects.

programming objects to affect objects outside the same room (e.g. a button on screen 30x47 that opens a door on screen 30x49) is far more touchy.
This is true.  Certainly, if you want an enemy or something to continue running around even when you're not in its "room," then the view method would be preferable.  But since you mentioned deactivating instances outside the view, it really does make more sense to use the room system.
There's a simple solution to this: instance_activate_object(obj). This activates all instances of a specific object. So when you hit the button to open the door, activate all instances of the door, open them, and then deactivate them. They're now open, but deactivated. Or for an enemy that chases you from screen to screen, simply activate all the objects on the screen that the enemy is on as well using instance_activate_region(left,top,width,height,outside). Easy as pie.

It should be pointed out that the whole efficiency thing might be moot, making the view method just fine, depending on how simple the game is.  Certainly, if you're simply using a few tilesets like in Knytt to design the screens, and gradients for the backgrounds, that's fine.

But a game with similar room changing - An Untitled Story - could never hope to do this.  Every screen has a PNG background and foreground image, both 640x480.  The PNG compression keeps them small enough on your hard drive, but they obviously need to be uncompressed to be displayed.  If it used your view system, most home computers wouldn't be able to run it because of the massive memory usage.
Please don't do that. Trying to replace any game's way of doing something integral to the gameplay with a different method will only result in loads of fatal errors. You'd have to completely redesign AUS in order to make it work with my view system.
Title: Re: Does anyone use Game Maker?
Post by: Razzorman on August 31, 2009, 22:12:44
By the way, I think this is how Nifflas did it in wadf.
Title: Re: Does anyone use Game Maker?
Post by: minmay on August 31, 2009, 23:21:39
Please don't do that. Trying to replace any game's way of doing something integral to the gameplay with a different method will only result in loads of fatal errors. You'd have to completely redesign AUS in order to make it work with my view system.

I wasn't referring to AUS specifically; rather, to any game that uses many background/foreground images instead of tiles.

As far as performance...well, I guess I was wrong about that, then.

And the view system makes it extremely simple, since the entire area is visible at once in the editor. And that applies not only to tiles, but also to objects.

It applies to everything, but the fact is, it's only a slight increase in convenience.  Why not just open both rooms at once?



But my point remains: this view method will only work on the small scale.  To use it on a larger scale, you need to break it up into individual rooms, which, in addition to being clunky, sort of defeats the purpose.
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on September 01, 2009, 01:09:03
And the view system makes it extremely simple, since the entire area is visible at once in the editor. And that applies not only to tiles, but also to objects.
It applies to everything, but the fact is, it's only a slight increase in convenience.  Why not just open both rooms at once?
And when you get to the point where one area is 10+ rooms? Or you want to see how something looks as a whole?

But my point remains: this view method will only work on the small scale.  To use it on a larger scale, you need to break it up into individual rooms, which, in addition to being clunky, sort of defeats the purpose.
When you say "small scale," how small are we talking? Because me and a few other Nifforumers are creating WaDF 2 in GM. So far we've made Hahara Mountains (as a test) and most of the intro stage. It uses this system. And it works wonderfully. But the way it works has each stage split into a separate room, which consists of all the screens you see in the game put together, so if that's what you're talking about, let me tell you from experience: it is by no means clunky, and it means having a fraction of the rooms you would if you used the separate room method.
Title: Re: Does anyone use Game Maker?
Post by: Purple Pineapple on September 01, 2009, 01:18:33
tl;dr, but minmay's method is incredibly tedious and difficult to use. Should really only use with level editors.
Title: Re: Does anyone use Game Maker?
Post by: minmay on September 01, 2009, 02:48:47
When you say "small scale," how small are we talking? Because me and a few other Nifforumers are creating WaDF 2 in GM. So far we've made Hahara Mountains (as a test) and most of the intro stage. It uses this system. And it works wonderfully. But the way it works has each stage split into a separate room, which consists of all the screens you see in the game put together, so if that's what you're talking about, let me tell you from experience: it is by no means clunky, and it means having a fraction of the rooms you would if you used the separate room method.

I'd consider that pretty small scale.  You're looking at less than 30 rooms per area, and those use tiles instead of images (hence less memory usage).  The areas in WaDF and presumably your WaDF2 remake are connected in a very seamed, definitive way; there are loading screens between them and everything.  In, again, Untitled, there are some several hundred rooms, and while the areas are defined, they overlap a lot.  There is no way you could use your method; to have the entire map as one room would go beyond GM's capabilities and those of the average home computer, and to load screens one area at a time would introduce large pauses for loading time - which would be horribly jarring, given how frequently one travels between the areas in AUS.

Also, my method (to be honest, it's not my method, just one of a few common ones) is really very easy to use.  Perhaps I didn't explain it flawlessly, but anyone with even basic programming experience would find it very easy to implement.



So, once again, it comes down to this: it depends on the game, and "my" method is more universally applicable, even if it isn't always the best choice.


And when you get to the point where one area is 10+ rooms?

I honestly don't see why things would get hard to manage with large areas.  Keep notes if you have to.  I've done this; it never struck me as being particularily confusing.

Or you want to see how something looks as a whole?

That's when one would normally test the game, no?  Honestly, is there a game design tool in existence that uses an editor that will actually give you an accurate idea of what things will look like in the game?  I don't know of one.
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on September 01, 2009, 03:38:20
I'd consider that pretty small scale.  You're looking at less than 30 rooms per area, and those use tiles instead of images (hence less memory usage).  The areas in WaDF and presumably your WaDF2 remake are connected in a very seamed, definitive way; there are loading screens between them and everything.  In, again, Untitled, there are some several hundred rooms, and while the areas are defined, they overlap a lot.  There is no way you could use your method; to have the entire map as one room would go beyond GM's capabilities and those of the average home computer, and to load screens one area at a time would introduce large pauses for loading time - which would be horribly jarring, given how frequently one travels between the areas in AUS.
Alright, I'll concede that point.

Also, my method (to be honest, it's not my method, just one of a few common ones) is really very easy to use.  Perhaps I didn't explain it flawlessly, but anyone with even basic programming experience would find it very easy to implement.
NINJA EDIT: Sorry, I accidentally quoted this from minmay and removed the quote tags by mistake. It shouldn't be here.

So, once again, it comes down to this: it depends on the game, and "my" method is more universally applicable, even if it isn't always the best choice.
I'll concede this as well. It's a good point, and I can agree with it.

And when you get to the point where one area is 10+ rooms?

I honestly don't see why things would get hard to manage with large areas.  Keep notes if you have to.  I've done this; it never struck me as being particularly confusing.
It's basically just a heck of a lot easier.

Or you want to see how something looks as a whole?

That's when one would normally test the game, no?  Honestly, is there a game design tool in existence that uses an editor that will actually give you an accurate idea of what things will look like in the game?  I don't know of one.
And get to the place you need to see, not to mention all the areas you want to check? Or what if you need to check if a line that begins in screen 34x97 is still on the same horizontal level on screen 40x97? If the player doesn't stay on the same horizontal screen path the entire time, that might be tricky.
Title: Re: Does anyone use Game Maker?
Post by: minmay on September 01, 2009, 20:24:06
Also, my method (to be honest, it's not my method, just one of a few common ones) is really very easy to use.  Perhaps I didn't explain it flawlessly, but anyone with even basic programming experience would find it very easy to implement.

Well, they're both really easy to implement.  Admittedly yours is even easier.



As far as keeping track of large areas, and all that...nobody said game making was easy, did they? :P
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on September 02, 2009, 00:12:01
As far as keeping track of large areas, and all that...nobody said game making was easy, did they? :P
Agreed. And if it is, you're probably doing something horribly, horribly wrong. ;)

EDIT: Just a minor thing here, you've got me as saying
Quote
Also, my method (to be honest, it's not my method, just one of a few common ones) is really very easy to use.  Perhaps I didn't explain it flawlessly, but anyone with even basic programming experience would find it very easy to implement.
when it was in fact you who said it. I accidentally quoted it, but removed the quote tags by mistake. X) My method was invented by me sometime last year; it's certainly not a common method. I just want that to be clear.
Title: Re: Does anyone use Game Maker?
Post by: vdweller on September 02, 2009, 08:52:57
I guess that Minmay's method should be easier for a GM newbie, although it does require more work. But sometimes we need to get started with easier yet more tedious stuff, in order to understand basic concepts of a program we're using. I'm not saying that this is the case for everyone though. (I've never used multiple rooms or views).

Now, I might sound like an idiot, but the best way to design levels is to design your own level editor. It will be hard and tedious and will require lots of testing, but it will reward you afterwards. Most people frown upon the idea of literally abandoning their game for creating a level editor like the one of Knytt Stories, but seriously, after finishing the editor, it's all peanuts from there on.

What's the catch? Only 1 room is needed, at the size of 1 screen  :) You can eg create a screen in the editor and save it as room07_06.txt (this is not the time to discuss about encryption). The screen to the right will be named room08_06.txt . So, in this singular room in Game Maker, when the hero entity touches the right edge of the screen, all instances currently in room[7,6](except those you need to keep) will be destroyed, the roomx variable will be increased by 1, and the data from room08_06.txt will be loaded. If the screens are not bloated with objects, transition is practically instant.

Also, Game Maker allows on-the-fly execution of string variables, so in the level editor you can add objects with the following structure:
Object ID
X-coord
Y-coord
Code to execute upon creation
Code to execute upon death
Conversation to execute upon getting close
etc...

...and let's say that, while the level editor is running, you set Code to execute upon creation for a particular instance as this:
code_start="show_message("I am ready");

In the Game (not the level editor, but the game file you make in Game Maker) , you should add the following line in the Object's Create Event:
execute_string(code_start);

And so, in the game screen, for example, you can have 10 identical instances of an object (eg a cave stalactite), and you want only 2 of them to fall while the player approaches. In the editor, you set the "code to execute when player approaches" to an "entity_fall()" script or just a variable or true or false or whatever will be interpreted in the game engine into a command to drop those specific stalactites. Voila! This technique smoothly blends level design with game events and object behavior.

Sorry for poorly elaborating on a quite "difficult for beginners" concept. If anyone needs more info, we could continue this conversation.

PS I have used this method in a game I'm working right now, and it does work smoothly. So let's not focus on whether it works or not.
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on September 02, 2009, 09:21:42
@vdweller: While a good idea in theory, trying to make a level editor before you have a system for actually making the levels work (which is what this topic is about) is like swimming the English Channel in order to learn how to swim. :/
Title: Re: Does anyone use Game Maker?
Post by: vdweller on September 02, 2009, 09:45:18
Well, I believe that the method described above dictates how the game engine would be.

Minmay: Multiple 1-screen rooms
PYP: Large rooms with views
vdweller: 1 room, load data externally each time the screen changes

So this involves the game engine itself as well. There's no point in making 100 separate rooms and then making a level editor.

As far as I know, one should work on both the game and the level editor simultaneously and add few stuff at a time, see how these 2 programs communicate.
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on September 02, 2009, 09:53:21
Well, I believe that the method described above dictates how the game engine would be.

Minmay: Multiple 1-screen rooms
PYP: Large rooms with views
vdweller: 1 room, load data externally each time the screen changes
Oh, I'm sorry. I must have misread your previous post; I thought you were saying that a level editor is a good tool to design levels, not build the engine. My bad.
Title: Re: Does anyone use Game Maker?
Post by: Jonolio on September 26, 2009, 01:43:38
Hey guys. I appreciate all the feedback given (and the fierce argument that went on!). I am just a noobie at GM, so I think I will use Pick Yer Poison's method, which seems (for now) easier. When I am more advanced and confident, and perhaps with more time on my hands, I will start a new project with it's own editor. Thank you minmay for your contribution, but I have tried that and the room transitions were not as smooth as I wanted them to be, eg, the character started a few too many pixels into the new room, which looked odd. Though I know that this can be refined and perfected, I know I don't have that level of expertise to do so.

 So, thank you to everyone who posted and helped and hopefully I can show you the finished product one day! :)

Edit: The views option sounds just perfect, but how do I go about doing it?
Title: Re: Does anyone use Game Maker?
Post by: minmay on September 26, 2009, 19:28:07
the character started a few too many pixels into the new room

What?  This shouldn't be happening with any method, unless your movement code is really weird.
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on September 26, 2009, 21:04:04
Spoiler: Large quoted post (click to show/hide)
If you can't figure out the code to do it with, then maybe the room system is better. Now that I think of it, my code may use more higher-level functions than the room system, making it less noob-friendly. On the other hand, if that explanation is insufficient, please tell me and I'll post a tutorial.
Title: Re: Does anyone use Game Maker?
Post by: Jonolio on September 26, 2009, 21:10:58
A tutorial would be great!  :D I looked at the GM help and other tutorials, but I still couldn't figure out anything. I am willing to learn, but please make sure that there are some comments with explanations. Thanks! (Wow, my is actually shaping up! Yay!  C))

I know that the character shouldn't come in a few pixels, and not all of them do (I've looked at a few tutorials...) but even if they don't do that, there are still other glitches with a system like that. PYP's way, in my mind, is smoother....
Title: Re: Does anyone use Game Maker?
Post by: minmay on September 27, 2009, 00:06:17
If you can't figure out the code to do it with, then maybe the room system is better. Now that I think of it, my code may use more higher-level functions than the room system, making it less noob-friendly. On the other hand, if that explanation is insufficient, please tell me and I'll post a tutorial.

Actually, yours is probably easier to do in GM; all you need to do is use the view snap function.  Just set its threshold to the same as its size.
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on September 27, 2009, 00:40:03
Actually, yours is probably easier to do in GM; all you need to do is use the view snap function.  Just set its threshold to the same as its size.
That would result in a standard moving view.

Anyway, here's that tutorial. (http://willhostforfood.com/files4/3/2/1/3211424/room_engine_with_views_tutorial.doc) Let me know if it doesn't work.
Title: Re: Does anyone use Game Maker?
Post by: Jonolio on September 27, 2009, 02:42:20
Thank you, I'm downloading it now. I'll let you know how it goes!  :D (excited!)

Edit: YES! This works great! One thing that I noticed... if you go left, then the character appears half on and half off on the next screen, but when you go right, the character appears half his width into the screen... How would I make it so that the character doesn't do this?
Title: Re: Does anyone use Game Maker?
Post by: minmay on September 27, 2009, 03:05:03
Actually, yours is probably easier to do in GM; all you need to do is use the view snap function.  Just set its threshold to the same as its size.
That would result in a standard moving view.

I phrased that wrong, I guess.  It's not actually called "threshold" - I forget what it's called and can't check because I don't have GM on this computer.

But I'm referring to the option that makes the view move in increments of multiple pixels - I'm referring to the use of that option with said increment as the same as the view's size.  It's very, very simple to do; alas, I cannot be specific for the aforementioned lack of GM.

Said option is in the room properties; no GML is required, though you could use the GML method detailed in your tutorial, as well.  You could do it with drag and drop for that matter, but it would be kind of pointless.
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on September 27, 2009, 04:28:28
Edit: YES! This works great! One thing that I noticed... if you go left, then the character appears half on and half off on the next screen, but when you go right, the character appears half his width into the screen... How would I make it so that the character doesn't do this?
You centered the origin of the player's sprite, right? I think that may be the problem.

Said option is in the room properties; no GML is required, though you could use the GML method detailed in your tutorial, as well.  You could do it with drag and drop for that matter, but it would be kind of pointless.
There is no option in the room properties to do this; I'm 100% confident of that, since I went and checked when I saw your previous post, and again when I saw this one. The only thing room properties can do is set the max step size, not the minimum step size or the only step size.
Title: Re: Does anyone use Game Maker?
Post by: minmay on September 27, 2009, 18:02:42
There is no option in the room properties to do this; I'm 100% confident of that, since I went and checked when I saw your previous post, and again when I saw this one. The only thing room properties can do is set the max step size, not the minimum step size or the only step size.

Strange...perhaps it's changed between GM6 and GM7?  I guess that would make the room-changing method easier then.
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on September 27, 2009, 19:12:27
Strange...perhaps it's changed between GM6 and GM7?  I guess that would make the room-changing method easier then.
I'm fairly sure it wasn't even around in GM6, since I used that for about a year.
Title: Re: Does anyone use Game Maker?
Post by: Jonolio on December 04, 2009, 01:33:03
Okay, I've been away for a while (exams...), but I'm getting slowly back into things (holidays!)... More noob tutorials needed!  :D I would appreciate assistance in making save points, and opinions on using external files. Would it be beneficial to use external files (like tile sets and music etc) in my game? I am hoping to create about five main rooms, each maybe 20 or more 'views' big (each 'view' is about the same size as in KS, but with 32x32 tiles). Would this help it to run better? As you can see, I am completely lost, so any help is appreciated. Thanks guys in advance.
Title: Re: Does anyone use Game Maker?
Post by: minmay on December 05, 2009, 17:44:17
You should pretty much always store music externally due to its size, otherwise the game's preloading will be unbearably long.  Graphics aren't as bad, but it would still be a good idea.

For saving the game, you should always make your own save format.  It needn't be complex, just make sure the files it produces are small (and that it's fast).  GM's built-in save format is horrible, terrible, bad, and I don't like it.
Title: Re: Does anyone use Game Maker?
Post by: Pick Yer Poison on December 06, 2009, 03:21:31
You should pretty much always store music externally due to its size, otherwise the game's preloading will be unbearably long.  Graphics aren't as bad, but it would still be a good idea.
Seconded, this is definitely best.
For saving the game, you should always make your own save format.  It needn't be complex, just make sure the files it produces are small (and that it's fast).  GM's built-in save format is horrible, terrible, bad, and I don't like it.
Not to mention that if you release any update at all, previous saves won't work, since the game is actually saving the exact state and not a list of variables that can be transferred over to a newer version.