Zephni's Forum Posts

  • 4 posts
  • Hi guys!

    I am primarily a web developer so PHP and Mysql are second nature. But just realized I may not be able to do what I am imagining with Construct.

    I have a script that checks a users username and password by posting them to a php file online that checks with the mysql db before logging them in. Usually on a real website you would save this data into a session and check against the session to see whether the user is still logged in or not, but when trying to get session data this way the session array is empty.

    Has anyone got any ideas for a workaround, or am I just doing something stupid maybe?

  • Hmm.. seems like this plugin pretty much does what I would like: scirra.com/forum/plugin-filesaver_topic49803.html as far as letting me choose some where on the file system to save a data file (If run as an executable on windows) Only thing is now trying to compress that data, but thats a different story entirely!! Thanks for your help by the way!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • That was a quick reply thanks Geometrix! I did notice before that WebStorage isn't exactly what it sounds like and the data is actually stored on the local machine, but for making a level editor, you would want to be able to 1. create the level, 2. click save to open a dialog box, 3. save the file somewhere on the hard drive. And then the actual game can read from that file and load in the level array data. Is that kind of thing supported?

  • Hi guys, I really am sorry if you have all heard this question before.. but i'm just trying to clarify.

    I bought C2 today as I tried the demo and was instantly impressed! I'm used to making games in Multimedia Fusion 2 by Clickteam and, though the support and functionality is great, Construct seemed to make some things so much easier, or even do things that just were not possible on MMF2.

    Anyway.. I'm a little gutted as after quite alot of research it seems that loading / saving data to the file system is.. 'Impossible' due to the fact that it is purely HTML5? I may be wrong here but after looking around to day this seems to be true. After looking further it seemed Construct Classic could do this?

    I like to build my own level editors for my levels, it just works better for me and to be honest if there is absolutely no way of saving them (I don't want to just save the data in a session, or webstorage) then Construct 2 for me, was a waste of money. But I guess that is my fault for not looking into it enough.

    The guy over at konjak.org apparently uses Construct now.. And he seems to be loading in level data from local files saved on the hard disk.. So how is he doing that.. Or was that made with Constuct Classic.. If that is the case, I really should be using that.

    Any answers appreciated, sorry for my ignorance!

  • 4 posts