<font face="Arial, Helvetica, sans-serif">Hi, I just want to ask if i can create a login layout that reads data from an external text file. also, i want a new user layout that stores username and password to the same text file.</font>
its like a database?
yes — i want to use the text file as a simple database. just trying on simple things first here in construct. do you have an idea on how i can do this?
hm.. i not so know about this,but its mean this is like an online games? login character and others
yes. i'm trying to put it online if possible.
I would suggest to just use PHP, and the AJAX object that comes with C2.
Do you have any knowledge in scripting with PHP?
Develop games in your browser. Powerful, performant & highly capable.
that's the problem. i'm just starting and not familiar with scripting in php and others. :(
I would suggest to look at PHP tutorials first. Since if I showed you what to do you would not learn, and you would have no idea what I am talking about.
However, here is a tutorial to get you started.
http://www.w3schools.com/php/
thanks for the response. i'll try it out. but do you think, is it possible to do what i'm thinking? using the text file as "sort of" a database? :D
JayteeDev i've learn a little about PHP,html,and javascript. if there's something you need to know,just ask me.
and,how about if we collaboration for this game?
JayteeDev
I would suggest using a database using MYSQL instead. In the long run it will save you much more time. Once you get some basic PHP down, it is easy to write to a database.
Perhaps check out the XML features in construct 2.
JayteeDev i've learn a little about PHP,html,and javascript. if there's something you need to know,just ask me. and,how about if we collaboration for this game?
that would be great. but i'm on a bit of a rush because i really need to present this tomorrow for our study. :(
can you give me an example on how to do this. :)