Game Maker's Garage Forum
Game Creation => GameMaker => Topic started by: Silverwind on April 02, 2009, 09:49:47 AM
-
I've updated it again: http://www.mediafire.com/?ljwmjnmbniv
Version 2.0 contains Global commands as well as Local commands. Speak up if you don't understand it. Happy texting ya'll!
EDIT:
Oh btw, I discovered another glitch in GM whilst working on this. If you bring up the inventory window with the WINDOW INVENTORY command, it will be blank regardless to your actual inventory. (meaning you can't select any of your items) Items collected are added as normal, but if you close the window and call it up again with the WINDOW INVENTORY command it will be blank again.
-
I discovered another glitch in GM whilst working on this. If you bring up the inventory window with the WINDOW INVENTORY command, it will be blank regardless to your actual inventory. (meaning you can't select any of your items) Items collected are added as normal, but if you close the window and call it up again with the WINDOW INVENTORY command it will be blank again.
I added an inventory button on the door card to try it. Using WINDOW INVENTORY worked fine for me. I also tried the inventory sample code that comes with GM. That worked too.
-
That's strange, it seems that the glitch only occurs when a GOTOCARD command is executed in the same routine as the WINDOW INVENTORY command. Also, once an INVENTORY ADD command is activated the inventory window will display all of the correct items. Furthermore, none of the buttons on the card loaded with the GOTOCARD command will be displayed when it loads.
-
Ok... my last post confuses me. Here's a physical example: http://www.mediafire.com/?ift1dz0kg4k
More strangeness: Instead of the card not loading properly, (the buttons not displaying correctly, I as previously mentioned) now the inventory window isn't loading properly: it's loading behind the main GM window.
Anyways, I be baffled.
-
Ok... my last post confuses me. Here's a physical example: http://www.mediafire.com/?ift1dz0kg4k
More strangeness: Instead of the card not loading properly, (the buttons not displaying correctly, I as previously mentioned) now the inventory window isn't loading properly: it's loading behind the main GM window.
Anyways, I be baffled.
I see now. Looks like GOTOCARD is putting the main window to the front when the card changes.
If I make a button in card 2 and comment out the GOTOCARD in the card script then the buttons don't show up in card 2, probably because the inventory window is in front.
I'll take a look at my window setting stuff.
Thanks.
-
No probs, glad to report 'em. :)
-
weird glitch its like showing the inventory deletes it.
-
I made a few improvements. It will no longer delete the inventory items and the card buttons will show up in the window. I'll see if I can get the window to stay in front, but I don't want to spend too much time on this. I'd rather spend my programming time on v4.0. I'm way behind on that, but I have been getting a lot done the past week or 2. Anyway, let me try a few more things and I'll send out an update. I do have to put out an update anyway with the REPEAT problem fixed in compiled games.
-
Yeah, there was no real need to fix the inventory thing anyway, as people can use GM's built in inventory button instead of the command. I just report anything I find on the off chance that it's important. :) (and because I love glitch hunting ;D )
Long live GM I say, the most frequently updated language on the Macintosh! Hurray!