Topic:   Weird Gamemaker Glitch   (Read 15880 times)


0 Members and 1 Guest are viewing this topic.

GMG Kurt


  • GMG-er

  • **


  • Posts: 682

  • Sorry for being such a noob
Re: Weird Gamemaker Glitch
« Reply #15 on: January 19, 2011, 05:20:21 PM »
Quote
You have to set everyones permission to READ & WRITE on the temp file.

OK so I did this and it didn't work. Although I did find the answer! I knew that whenever my sprite command was entered, and I tried the save the whole game fell apart! So I tried putting my Game doc. in my 'Data' folder, and changed the code from

SPRITE 1 10 10 Data:cycle_red
to
SPRITE 1 10 10 cycle_red

Doing this made it work and I'm just going to have to hope I still have enough time to finnish as much of the game I can for the contest. Thanks everyone for helping me.   ;D
Just your average Weekend Warrior.
Yes I know I have bad spelling, it's what makes me such a good programmer!

"Old art, weather magnificent or wretched, is always the raw material of new art. The artist's job, though, is to

Al Staffieri


  • GMG-er

  • **

  • no avatar

  • Posts: 452

  • I love GameMaker
Re: Weird Gamemaker Glitch
« Reply #16 on: January 21, 2011, 12:31:18 AM »
Quote
OK so I did this and it didn't work. Although I did find the answer! I knew that whenever my sprite command was entered, and I tried the save the whole game fell apart! So I tried putting my Game doc. in my 'Data' folder, and changed the code from

SPRITE 1 10 10 Data:cycle_red
to
SPRITE 1 10 10 cycle_red

Doing this made it work and I'm just going to have to hope I still have enough time to finnish as much of the game I can for the contest. Thanks everyone for helping me.   ;D

Thanks. I'll check that out.

EDIT: Confirmed. After accessing a sprite in a folder and then saving the project, GameMaker gets the project folder location messed up and can't find the temp file. The data is mistakenly stored in the GameMaker application itself instead of the temp file. I'll work on a fix for this.

Thank you. Sorry about the trouble it caused you.
« Last Edit: February 13, 2011, 09:22:11 AM by AlStaffieri »

Al Staffieri


  • GMG-er

  • **

  • no avatar

  • Posts: 452

  • I love GameMaker
Re: Weird Gamemaker Glitch
« Reply #17 on: February 13, 2011, 09:23:58 AM »
Quote
After accessing a sprite in a folder and then saving the project, GameMaker gets the project folder location messed up and can't find the temp file. The data is mistakenly stored in the GameMaker application itself instead of the temp file.


I knew this worked before, so I tried running GameMaker on my old iMac and it works fine using graphics in folders. This means the problem is that OS X 10.6 changed the way it handles folders. That also means it could be harder to fix.
 
If you are running OS X older than 10.6 you shouldn't have any problems.
« Last Edit: February 13, 2011, 09:24:09 AM by AlStaffieri »

Al Staffieri


  • GMG-er

  • **

  • no avatar

  • Posts: 452

  • I love GameMaker
Re: Weird Gamemaker Glitch
« Reply #18 on: February 13, 2011, 10:35:27 AM »
Quote
the problem is that OS X 10.6 changed the way it handles folders. That also means it could be harder to fix.

I think I have this fixed, but I need to test it more and make the change in other commands that can use folders such as MOVIE. An update should be out soon.
« Last Edit: February 13, 2011, 10:35:51 AM by AlStaffieri »

Al Staffieri


  • GMG-er

  • **

  • no avatar

  • Posts: 452

  • I love GameMaker
Re: Weird Gamemaker Glitch
« Reply #19 on: February 20, 2011, 09:57:03 AM »
Still working on the update, but wanted to say that I just added
SPRITECOLLIDE spritenum X Y
to test if a sprite is touching X Y coordinate. Currently you can only test if a sprite is touching another sprite.

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: Weird Gamemaker Glitch
« Reply #20 on: February 20, 2011, 04:36:02 PM »
Woh, awesome idea Al! So if you had a 10x10 pixel sprite, you could tell if another sprite was touching the ninth pixel from the left and so on?
« Last Edit: February 20, 2011, 04:36:26 PM by Silverwind »
I survived the spammage of 2007

Al Staffieri


  • GMG-er

  • **

  • no avatar

  • Posts: 452

  • I love GameMaker
Re: Weird Gamemaker Glitch
« Reply #21 on: February 21, 2011, 07:02:09 AM »
I believe it should work the same as SPRITETOUCHINGXY in SilverCreator.

GMG Kurt


  • GMG-er

  • **


  • Posts: 682

  • Sorry for being such a noob
Re: Weird Gamemaker Glitch
« Reply #22 on: March 08, 2011, 04:00:55 PM »
Quote
I believe it should work the same as SPRITETOUCHINGXY in SilverCreator.

Using this you could tell what side of the character, was hit. This could be a very useful code for a Legend of Zelda tribute.
« Last Edit: March 08, 2011, 04:01:16 PM by KurtManion »
Just your average Weekend Warrior.
Yes I know I have bad spelling, it's what makes me such a good programmer!

"Old art, weather magnificent or wretched, is always the raw material of new art. The artist's job, though, is to