Jump to content


Photo

Local Text/Ini files?


  • Please log in to reply
3 replies to this topic

#1 cerberus150

cerberus150

    GMC Member

  • New Member
  • 33 posts
  • Version:GM:HTML5

Posted 09 October 2011 - 03:19 AM

When I use "file_text_open"(and such) and I make the game an exe, it works. But when I compile it to HTML5, it doesn't.

So some questions:

Why doesn't it work?
Is there any possibility(java extensions or gamemaker itself) to create local text/ini files?(local means on the computer of the user, not the website)
Will something like this(or similar) be added in future GM HTML5 versions?
  • 0

#2

  • Guests

Posted 09 October 2011 - 05:21 AM

You must include the ini file in the projects included recourse,or it won't get copied to the output folder, and it won't be found by the game.

#3 cerberus150

cerberus150

    GMC Member

  • New Member
  • 33 posts
  • Version:GM:HTML5

Posted 09 October 2011 - 06:26 AM

You must include the ini file in the projects included recourse,or it won't get copied to the output folder, and it won't be found by the game.

So this means the game can only find ini files that are included in the game, so it can't create new ones?
  • 0

#4 Schalk

Schalk

    GMC Member

  • GMC Member
  • 487 posts
  • Version:GM:HTML5

Posted 09 October 2011 - 10:00 AM

I haven't tested ini files. But using file_text_open etc works locally for me.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users