- Game Maker Community
- → Viewing Profile: Posts: vertex67
vertex67
Member Since 12 Jul 2008Offline Last Active May 29 2013 02:53 PM
About Me
Working towards computer science degree at Georgia State University, hope to go for Digitial Media Masters at Georgia Tech.
Community Stats
- Group GMC Member
- Active Posts 512
- Profile Views 8812
- Member Title GMC Member
- Age 24 years old
- Birthday June 2, 1989
-
Gender
Male
-
Location
USA
-
Interests
Game programming and design
electronic music
science
13
Doing something right!
Latest Visitors
Posts I've Made
In Topic: vk_shift unresponsive in windows after this patch?
24 September 2012 - 11:19 AM
Yeah, major problem. Shift and control keys are completely unusable, whether you use vk_shift or the keyboard events, it doesnt matter.
In Topic: GML is no longer case sensitive?
24 August 2012 - 03:15 AM
This update just ruined my game, nothing will compile now unless I change a thousand variable names. I can't even begin to fathom the logic behind this decision. It seems like resource names and function names are not case sensitive but other things still are, like keywords. I wish i had known that yoyo would be actively working against me or I would have just waited to start a GM Studio project.
EDIT:
ok so maybe that was a bit exaggerated (it was only a few scripts that needed refactoring), but still...
EDIT:
ok so maybe that was a bit exaggerated (it was only a few scripts that needed refactoring), but still...
In Topic: MY GAME IS GONE!
20 June 2012 - 12:46 PM
Here is the .project file for the angry cats demo.
Notice how the sections of the document match up with the project directory? You need to do the same thing for your game.
If I trim down the document to its basic sections, you have something like this
The same rule applies for all of your assets. If you do not have any sounds, or paths, I think you can just remove the section entirely.
THe last thing you should notice is how there are multiple <objects> sections nested inside a parent objects section. This is just how GMStudio keeps track of your groups (folders) that you create inside of GMStudio.
If will be fine if you just put all of your assets one after the other inside of a single parent element, you will just lose any organization that you had done.
If you need more help, try to compare the Angry Cats .project file with the folder structure of the project, and with how it appears when you open it in GMStudio. They are all related.
Even if there is a fix, that doesn't necessarily mean that you will be able to get your .project file back. If you still need help, send me a download link to your project directory and I can get the document started for you with the appropriate sections and format.
Spoiler
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!--> <assets> <Configs name="configs"> <Config>Configs\Default</Config> </Configs> <NewExtensions/> <sounds name="sound"> <sound>sound\sndStretch</sound> <sound>sound\sndCatLaunch</sound> <sound>sound\sndWood</sound> <sound>sound\sndGlass</sound> <sound>sound\sndRock</sound> <sound>sound\sndBird</sound> <sound>sound\sndWoodImpact</sound> <sound>sound\sndRockImpact</sound> <sound>sound\sndGlassImpact</sound> <sound>sound\sndCatPop</sound> <sound>sound\sndCatIdle1</sound> <sound>sound\sndCatIdle2</sound> </sounds> <sprites name="sprites"> <sprite>sprites\sprBg1</sprite> <sprite>sprites\sprBg2</sprite> <sprite>sprites\sprBg3</sprite> <sprite>sprites\sprBlock</sprite> <sprite>sprites\sprBlockGlass</sprite> <sprite>sprites\sprBlockRock</sprite> <sprite>sprites\sprButRestart</sprite> <sprite>sprites\sprCatapultBack</sprite> <sprite>sprites\sprCatapultFront</sprite> <sprite>sprites\sprEnd</sprite> <sprite>sprites\sprFloor</sprite> <sprite>sprites\sprGlassShard</sprite> <sprite>sprites\sprHBlock</sprite> <sprite>sprites\sprHBlockGlass</sprite> <sprite>sprites\sprHBlockRock</sprite> <sprite>sprites\sprPidgeon</sprite> <sprite>sprites\sprPoo</sprite> <sprite>sprites\sprPoof</sprite> <sprite>sprites\sprSlingshot</sprite> <sprite>sprites\sprStoneShard</sprite> <sprite>sprites\sprTitle</sprite> <sprite>sprites\sprVBlock</sprite> <sprite>sprites\sprVBlockGlass</sprite> <sprite>sprites\sprVBlockRock</sprite> <sprite>sprites\sprWoodShard</sprite> <sprites name="cat"> <sprite>sprites\sprCat</sprite> <sprite>sprites\sprCatBlack</sprite> <sprite>sprites\sprCatHit</sprite> <sprite>sprites\sprCatHitBlack</sprite> <sprite>sprites\sprCatIdle</sprite> <sprite>sprites\sprCatIdleBlack</sprite> </sprites> </sprites> <backgrounds name="background"> <background>background\bgSky</background> <background>background\bgMenu</background> </backgrounds> <paths name="paths"/> <scripts name="scripts"> <script>scripts\scInitMaterials.gml</script> </scripts> <fonts name="fonts"> <font>fonts\fntMain</font> </fonts> <objects name="objects"> <objects name="blocks"> <objects name="b glass"> <object>objects\oBlockGlass</object> <object>objects\oHBlockGlass</object> <object>objects\oVBlockGlass</object> </objects> <objects name="b rock"> <object>objects\oBlockRock</object> <object>objects\oHBlockRock</object> <object>objects\oVBlockRock</object> </objects> <objects name="b wood"> <object>objects\oBlock</object> <object>objects\oHBlock</object> <object>objects\oVBlock</object> </objects> <object>objects\o_parentBlock</object> </objects> <objects name="game"> <object>objects\oBird</object> <object>objects\oPoof</object> <object>objects\oPoo</object> <object>objects\oSlingshot</object> <object>objects\objAngryCat</object> <object>objects\oController</object> <object>objects\objFloor</object> <object>objects\oNewGame</object> <object>objects\oSlingshotRest</object> <object>objects\objCatWaiting</object> <object>objects\objWoodShard</object> <object>objects\objRockShard</object> <object>objects\objGlassShard</object> </objects> <object>objects\oScore</object> <object>objects\oBG</object> </objects> <rooms name="rooms"> <room>rooms\room_menu</room> <room>rooms\room_game</room> </rooms> <help> <rtf>help.rtf</rtf> </help> <TutorialState> <IsTutorial>0</IsTutorial> <TutorialName></TutorialName> <TutorialPage>0</TutorialPage> </TutorialState> </assets>
Notice how the sections of the document match up with the project directory? You need to do the same thing for your game.
If I trim down the document to its basic sections, you have something like this
<assets> <Configs name="configs"> <Config>Configs\Default</Config> </Configs> <NewExtensions/> <sounds name="sound"> </sounds> <sprites name="sprites"> </sprites> <backgrounds name="background"> </backgrounds> <paths name="paths"></paths> <scripts name="scripts"> </scripts> <fonts name="fonts"> </fonts> <objects name="objects"> </objects> <rooms name="rooms"> </rooms> <help> <rtf>help.rtf</rtf> </help> <TutorialState> <IsTutorial>0</IsTutorial> <TutorialName></TutorialName> <TutorialPage>0</TutorialPage> </TutorialState> </assets>Now the thing about XML is that elements are nested within one another. You will need to put your assets nested within the appropriate section like so
<sprites name="sprites"> <sprite>sprites\YOUR_SPRITE_NAME_HERE</sprite> //...do this for all of your sprites </sprites>
The same rule applies for all of your assets. If you do not have any sounds, or paths, I think you can just remove the section entirely.
THe last thing you should notice is how there are multiple <objects> sections nested inside a parent objects section. This is just how GMStudio keeps track of your groups (folders) that you create inside of GMStudio.
If will be fine if you just put all of your assets one after the other inside of a single parent element, you will just lose any organization that you had done.
If you need more help, try to compare the Angry Cats .project file with the folder structure of the project, and with how it appears when you open it in GMStudio. They are all related.
Even if there is a fix, that doesn't necessarily mean that you will be able to get your .project file back. If you still need help, send me a download link to your project directory and I can get the document started for you with the appropriate sections and format.
In Topic: MY GAME IS GONE!
19 June 2012 - 06:15 PM
Same thing happened to me. What happened is GMStudio wiped your .project file clean. There is already a bug report for it in the bug tracker. Dont worry, your game is recoverable. You need to open your .project file in a text editor and reconstruct the XML. As long as your project isnt massive it shouldnt take too long. The XML format is pretty simple, open up one of the .project files for the demo and copy the format that those follow. The .project file is what the UI opens to find all of your assets, if it is empty, the UI shows your project as empty.
The actual cause of this error is a bad line of XML in the project file. You can reproduce it by adding this line into any project in the configs section (this is the line that was causing my error).
When you try to save, an access violation popup will appear and then GmStudio will do the only logical thing (sarcasm) and erase your project file.
It took me about 10 minutes to reconstruct my game which had 6 objects, 30 scripts, a few sprites. its one line of xml per asset.
If you project is massive, you could write a program to reconstruct the .project file by traversing through your project directory. Hopefully yoyo will provide such a program as this is happening to many people. Really the file should be able to reconstruct itself, the only things in the .project file that cannot be inferred from the project directory structure is the names of your asset Groups
The actual cause of this error is a bad line of XML in the project file. You can reproduce it by adding this line into any project in the configs section (this is the line that was causing my error).
<Config>Configs\</Config>
When you try to save, an access violation popup will appear and then GmStudio will do the only logical thing (sarcasm) and erase your project file.
It took me about 10 minutes to reconstruct my game which had 6 objects, 30 scripts, a few sprites. its one line of xml per asset.
If you project is massive, you could write a program to reconstruct the .project file by traversing through your project directory. Hopefully yoyo will provide such a program as this is happening to many people. Really the file should be able to reconstruct itself, the only things in the .project file that cannot be inferred from the project directory structure is the names of your asset Groups
In Topic: random seed issues
19 June 2012 - 12:15 AM
ok, thanks everyone for clearing this up for me
- Game Maker Community
- → Viewing Profile: Posts: vertex67
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content
