UtemboMcjib0 - are you asking whether you can export to .exe without using an unsupported plugin?
Develop games in your browser. Powerful, performant & highly capable.
Sorry, I'm not sure what your username is - construct2_nowy perhaps? - just put that in place of username in my example above.
You want:
$con=mysqli_connect("host","username","password","databasename");
I think for you this would be
$con=mysqli_connect("localhost","username","","construct2");
Thanks for the example TheWyrm - I was looking at doing this soon.
Hi DrewMelton - xPos and zPos is no good?
Also, by default localhost does not normally need a password - unless you've changed your setup for security reasons,
Thanks for the heads-up codah, I'll see if I can find Ashley's post on this and read a little more. There could be other stuff I could improve.
Hi —
So, if you want to leave a room by the right, you need a way of seeing a list of rooms with entrances on the left but which haven't already been used in your game?
Could you create some arrays - rooms with left entrances, rooms with right entrances etc. and then use the randomize function to select a particular qualifying room?
Thanks codah - I have quite a few of those blanks in my code and you're right.
Yes - the ones that get me are those that fill the screen right in the middle of your game - I just dump the app at that point.
Did you find what to use instead of localhost?
Okay. We need to work through those error messages. Always deal with the first one...
It still doesn't like host - that's the bit we changed from mysql to localhost - in my English version I always have to use localhost but yours didn't like either.
Can you do Google it in Polish to see what you should call the host for a database connection via xampp?
Member since 26 Oct, 2014