Mr Dumle
Level 1
|
|
« Reply #200 on: January 11, 2009, 01:17:58 PM » |
|
...Its arrays are also very slow. Yes, using arrays can slow down your game, especially if you use them in long loops. Its data structures are much better in pretty much every way, so you can just use a data structure for an array.
People familiar with GM quickly learn a few things about it: never use execute_string(), never stretch the game to full screen, never use the GM's built-in sound functions for anything (use a dll), and never use arrays.
Which data structure are you refering to?
|
|
|
Logged
|
|
|
|
ஒழுக்கின்மை (Paul Eres)
|
|
« Reply #201 on: January 13, 2009, 10:18:58 PM » |
|
Any of them. They're all coded better than its arrays. ds_map, ds_grid, etc.
|
|
|
Logged
|
|
|
|
imaginationac
|
|
« Reply #202 on: January 15, 2009, 10:31:46 PM » |
|
I like this tutorial much better than the one provided on YoYo Games. I might be tempted to actually make something with Game Maker now.
|
|
|
Logged
|
|
|
|
JoeHonkie
|
|
« Reply #203 on: April 13, 2009, 07:20:33 AM » |
|
derek_tutotial.gmk lives!
You should pin these or something, although at least currently there's no reason they'd be hard to find. I just think if people add more tutorials this could get to be more difficult to dig through (yes, I know there's a search function, but still).
Maybe combine all three as separate posts in one topic?
|
|
|
Logged
|
|
|
|
ak
|
|
« Reply #204 on: August 04, 2009, 04:03:48 AM » |
|
This is great, thank you Derek. This will definitely help with my first steps in Game Maker
|
|
|
Logged
|
|
|
|
Derek
|
|
« Reply #205 on: August 06, 2009, 10:27:29 PM » |
|
Cool! And yeah, I should really get Part IV up sometime...
|
|
|
Logged
|
|
|
|
Adam94
Guest
|
|
« Reply #206 on: August 12, 2009, 03:30:55 AM » |
|
Your tutorial is very helpful cept I suck at making sprites xD
|
|
|
Logged
|
|
|
|
JoeHonkie
|
|
« Reply #207 on: August 12, 2009, 06:30:09 AM » |
|
Cool! And yeah, I should really get Part IV up sometime... Oh that would be ever so nice! Seriously. Parts 1-3 are really neat.
|
|
|
Logged
|
|
|
|
Theon
|
|
« Reply #208 on: September 01, 2009, 10:22:09 AM » |
|
Hey, sorry for noobing around, but I can't get the movement script to work The default GM actions work fine... I'd really like to learn some real scripting though, and besides, the default GM actions let me start a movement in one direction and end the movement by releasing it, but if I press two movement keys at the same time and let go of one this makes the character stop... Which is insanely annoying Any help to offer a poor noob in time of despair?
|
|
« Last Edit: September 01, 2009, 12:22:38 PM by Theon »
|
Logged
|
|
|
|
deathtotheweird
Guest
|
|
« Reply #209 on: September 01, 2009, 11:30:47 PM » |
|
you can do that by using the key press or key release events or by key_check, which checks if they key is pressed http://gamemaker.wikicomplete.info/keyboard
|
|
|
Logged
|
|
|
|
Theon
|
|
« Reply #210 on: September 02, 2009, 05:08:42 AM » |
|
Well, i get that (from reading the tutorial here), but the problem is that the script doesn't work... I've tried copying and pasting, but the character won't move in the game.
|
|
|
Logged
|
|
|
|
marsfromvenus
|
|
« Reply #211 on: October 17, 2011, 09:03:48 AM » |
|
Sorry if rezzing a new thread, but I wanted to say thanks for building this. It helps me immensely with bringing to life a delicious new game!
<3
|
|
|
Logged
|
Creation is the highest form of learning.
|
|
|
WelcomeToAwesomeness
Guest
|
|
« Reply #212 on: October 17, 2011, 08:17:48 PM » |
|
I'm having trouble doing this with the new version of Game Maker. Is there an updated version?
|
|
|
Logged
|
|
|
|
sedna16
|
|
« Reply #213 on: October 19, 2011, 04:03:45 AM » |
|
I'm having trouble doing this with the new version of Game Maker. Is there an updated version?
what version are you talking about? GM 8.1 or GM HTML5 ??
|
|
|
Logged
|
|
|
|
WelcomeToAwesomeness
Guest
|
|
« Reply #214 on: October 19, 2011, 10:48:02 PM » |
|
GM 8 lite.
|
|
|
Logged
|
|
|
|
Olivievie
Level 0
|
|
« Reply #215 on: April 27, 2012, 11:08:59 PM » |
|
Hey everyone, the tutorial says game maker is only for windows, but I think yoyo now made one for mac as well so I decided to download it and try, but I'm having some trouble, not sure if my code went wrong or it's the problem of the difference in versions.
But here's my code for moving: if(keyboard_check(vk_left)){
x-=2; } if(keyboard_check(vk_right)){ x+=2; }
In the GML editor, the code is also by default set to "Applies to: Self" but when I compile and run, the object does not move when I press left or right keys, if anyone can see what's the problem there, please provide me some help, I would much appreciate it, thanks!
|
|
|
Logged
|
|
|
|
Xion
|
|
« Reply #216 on: April 27, 2012, 11:11:02 PM » |
|
did you make sure the code is in the step event?
|
|
|
Logged
|
|
|
|
Olivievie
Level 0
|
|
« Reply #217 on: April 27, 2012, 11:20:00 PM » |
|
did you make sure the code is in the step event?
Ahh I see, it now works! totally missed that...(I'm such a clumsy reader <_<) thanks for your help! ^^
|
|
|
Logged
|
|
|
|
siskavard
Guest
|
|
« Reply #218 on: February 11, 2013, 09:16:57 PM » |
|
Has anyone worked with the Mac version? It doesn't seem to have the option to add a background to my rooms.
|
|
|
Logged
|
|
|
|
|