• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

[Solved] TIles no longer appearing

B

Blakkid489

Guest
I was changing the name of the tile background I made to a more suitable name and now the game wont run the tiles anymores. . . Do i have to redo the whole thing again? or do have to simply reset the program?

Room Editor:


Actual Game:



EDIT: I ended up restarting the program and it will no longer open the project because it cant find the background name. . HELP!!!!!!

 
Last edited by a moderator:
D

Drewster

Guest
The room is probably still referencing background8. You should be able to edit the .project file with Notepad. But wait -- make a FULL BACKUP of your entire project folder before you touch anything. Any editing you do is at your own risk so don't blame me. :)

For example, I made a project called "blankproj". The single room (room0) has just the first background (background0) defined, linking to a background called "hankback".

When you go into the blankproj.gmx folder there is a file inside, BlankProj.project. Notepad open that file and you find:
Code:
<!--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"/>
  <sprites name="sprites"/>
  <backgrounds name="background">
    <background>background\hankback</background>
  </backgrounds>
  <paths name="paths"/>
  <rooms name="rooms">
    <room>rooms\room0</room>
  </rooms>
  <help>
    <rtf>help.rtf</rtf>
  </help>
  <TutorialState>
    <IsTutorial>0</IsTutorial>
    <TutorialName></TutorialName>
    <TutorialPage>0</TutorialPage>
  </TutorialState>
</assets>
You can see the background is defined there. If your background is named correctly here, then it might be the actual background file.

You can see that going into the "background" folder in your project. In that folder in my project there is a "hankback.background", and then a subfolder "images" which contains the actual PNG file. Something here might not have been renamed properly to match your background name.

Good luck.

If you can't figure it out, email yoyo support.
 
B

Blakkid489

Guest
Thank you so much. I was able to fix. I had to add a new line to code in which it read the new name.

I'll use your example to explain:

Code:
 <background>background\hankback</background>
 <background>background\hank_bg1</background>
After adding the missing line it began to work for me.

Once again thank you so much :D
 
Top