en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Does anyone here know how to use game maker? I downloaded it, used it, and got confused with everything. Can someone post a faq here that makes sense? ------------------ |
crazyishone![]() Member Posts: 1685 From: Registered: 08-25-2004 |
try the tutorials the site offers for download. also, keep the help file open. this will answer ur q's and has a small tutorial written in for a game like thos ones on ad banners. it helped me get my bearings. ok? ------------------ |
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Thanks, but, I'm having trouble figuring out how to set keys for moving on the maze game I'm making, can someone help me out? ------------------ |
ArchAngel Member Posts: 3450 From: SV, CA, USA Registered: 01-29-2002 |
look at the pacman example. ------------------ |
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Thanks, but thats the worng kind, I want it to stop moving when I let go of the key. ------------------ |
crazyishone![]() Member Posts: 1685 From: Registered: 08-25-2004 |
here is how i would explain it. you start with one character object. Key press(l,r,up,down) set speed and direction. Key release(corresponding) set speed and and direction to zero and still(center square). If you want the object to look different when it goes a certain ditection, then you have to make a sprite for it(ie "spr_manrunningleft) which is a man running left. Then set it so that Key Press left has an action of "draw object" which will be set to spr_manrunningleft. if draw object doesnt wrk, it might be "create sprite"... gl. ------------------ |
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Thanks, I'll try it! ------------------ |
goop2![]() Member Posts: 1059 From: Registered: 06-30-2004 |
I know alot about game maker Crazyishone you are wrong. That works but I can tell you 2 more efficient ways of doing it. 1. Make a keyboard event for left(not key press, keyboard) 2. Make a keyboard event for left. Now make a piece of code. If you are going to use the code multiple times, some people would recomend using a script. This is wrong. With scripts the computer has to do a TON of work. First it must turn the acess script command into code. Then it has to find the script. Then it has to open the script and turn it into code aswell. This is slow if you have a big game and I would not recomend it But! Back to the tutorial. // changes the sprite This is a comment. The comuter wont read this. If you ever forget how to do something then you will have this. So put // befor your coment sprite_index = sprwalkleft For this reason it is important not to make sprites with the same name or spaces in the name // changes the speed and direction Now lets see what we got. // changes the sprite That should work. ------------------ "Democrats stink" |
D-SIPL![]() Moderator Posts: 1345 From: Maesteg, Wales Registered: 07-21-2001 |
quote: If it works then how is Crazyishone wrong lol. Sorry just found that amusing. --D-SIPL ------------------ |
CobraA1![]() Member Posts: 926 From: MN Registered: 02-19-2001 |
The platform game tutorial might help also, since when moving the character in the platform game, it stops when the key is released. ------------------ Switch Mayhem now available! Get it here |
Posts: From: Registered: |
I do not like game maker since it is limiting, takes a long time to make games, to do more you need to program, and the interface is annoying to me. But if it works for you then great. ![]() |
crazyishone![]() Member Posts: 1685 From: Registered: 08-25-2004 |
its good 4 me bcuz i dont know how 2 code, and it has the most intact free package if seen. they just hold back like 5 features. ------------------ |
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Thanks for all the help, but it turns out, I fugured out if you download a tutorial off the website, than open up one of their examples, than you click object, than you click the main guy, than you just copy all of the events ------------------ |
goop2![]() Member Posts: 1059 From: Registered: 06-30-2004 |
Yes... you... can do it that way... but you take alot more stuff than you need and you dont learn anything but it works ![]() ------------------ "Democrats stink" |
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
I learned the GML so I'm good. I would like to learn how to learn to use the little easy buttons and no exactly what I'm doing. I can only do a cetain amount of things without copying or using the code. ------------------ |
goop2![]() Member Posts: 1059 From: Registered: 06-30-2004 |
Well, you are more in control with GML and it dosent take up as much space either. ------------------ I took the road less traveled and now WHERE THE HELL AM I????? |
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Yeah, thats true. But, I'm done with GM. I'm using real engines now ------------------ |
ArchAngel Member Posts: 3450 From: SV, CA, USA Registered: 01-29-2002 |
GM is a real engine. psh. don't insult GM... ------------------ |
goop2![]() Member Posts: 1059 From: Registered: 06-30-2004 |
real engine? is it free? ------------------ I took the road less traveled and now WHERE THE HELL AM I????? |
ArchAngel Member Posts: 3450 From: SV, CA, USA Registered: 01-29-2002 |
yes... ------------------ |
goop2![]() Member Posts: 1059 From: Registered: 06-30-2004 |
sorry ArchAngel. GM is a real engine, but it takes up more space than the others. What is that one called? ------------------ I took the road less traveled and now WHERE THE HELL AM I????? |
CobraA1![]() Member Posts: 926 From: MN Registered: 02-19-2001 |
Usually the cheap/free engines are often very limited or confusing. The good, professional stuff usually cost hundereds or more. For its price, GameMaker is pretty good. It'll do anything you want in 2D. Of course, there's always the option of using C++ or another programming language and creating your own engine. I hate to disagree with Goop2, but using keypress/release is probably the best way to go. I'll explain later after I get back from work . . . ------------------ Switch Mayhem now available! Get it here |
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
I use Irrlicht. Its a very good engine. PLus, its free ------------------ |
ArchAngel Member Posts: 3450 From: SV, CA, USA Registered: 01-29-2002 |
I would go for the keypress and release too. ------------------ |
CobraA1![]() Member Posts: 926 From: MN Registered: 02-19-2001 |
On second thought, he's kinda right - it's a little bit more efficient. That is, if you have code that is run every step! If, however, you only run the code when a key is pressed or released, then the code only runs when the key is pressed or released. Which, unless the user is hitting the keys 30 times a second, is going to be more efficient But to be honest, how the keys are done is going to have little impact on the speed of a game. The number of objects and the size of the sprites is probably going to have a much bigger impact on the speed of the game.
quote: Interesting speculation. Here's more of what likely happens: Turning the script into bytecode and getting its location is probably done when GameMaker creates the executable, not at runtime. There is some overhead associated with calling the script, yes, but probably not as much as you think. The best place to start for performance is overall game and algorithm design. Optimizations are good, but not quite as effective as having a good design in the first place. When you do optimize, however, you'll want to optimize the code that does the most work, the "inner loops". Which will vary depending on what kind of game you create. Irrlicht is nice, but not quite as easy as GameMaker It all depends on what you want to do with it, and how much complexity you want. It's a tradeoff. ------------------ Switch Mayhem now available! Get it here |
goop2![]() Member Posts: 1059 From: Registered: 06-30-2004 |
Did I say key press? I meant Key. Just plain Key. I know that this is far from what I was just barely talking about but it just struck me that I was away from CCN for a very long time, yet I remembered it all along... anyway. I was gonna ask if you know a thing like GM that hosts itself on an internet game for free. Ill mak a new topic about it and say what I need it for. ------------------ I took the road less traveled and now WHERE THE HELL AM I????? [This message has been edited by Goop2 (edited November 14, 2004).] |
crazyishone![]() Member Posts: 1685 From: Registered: 08-25-2004 |
How the heck do i make it so that when i click ion an object it opens a new program, klike a hyperlink in a website. ------------------ |