FookinNora's Forum Posts

  • 10 posts
  • Yeah already hitting the php side of things i was just hoping that construct had an idiot proof way for me to do it with out learning php and SQL but i suppose you can't be fed everything on a plate thanks

  • Hi, i've being playing around with AJAX and reading strings from a webpage. I have managed to do that and now i'm trying to do the same thing but in a better way. I was wondering if there are any tutorials centred around database accessing and editing using construct. I basically know nothing i'm guessing it has something to do with SQL but thats as far as i got. Can this be done?

    The basic goal

    Read from a database a set of values depending on an input to the server i.e. an ID number

    And a side goal is to load data into a database depending on an input to the server i.e. ID and Name

    I've been trying on my own for a bit now, i tried making a php page that would access the database depending on input but then when i came to the actual database section got lost. I was wondering if there was a way to access the database directly

    Thanks in advance

  • Sorry think i answered my own question i hosted the game on and it returned a string but only the 'Title' the first word in the string is this because i've not formated the .php file incorrectly? When i added more to the first line it returned that so how do i read the next line?

  • Hi me again :),

                   So i've been playing with AJAX, can it not return a value in preview mode? i'm accessing a .php file on a free hosting website "http://www.dailycrossword.site40.net/Sun.php" and when i use set text to ajax.lastdata it returns nothing is that because i'm trying it in preview mode?

  • yeah thank you very much i will look at the plugins, and if you do know of a tutorial using ajax, i know i don't need it for what i want to do now but I do have some ideas that would be possible with the php work

    and thanks for the help big love

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Currently the file is local but eventually i want the file to be server based. How do i got about with ajax?

    but also could you point me to one of these plugins too?

  • Hi i want to read from a note.txt file, i don't understand how to even start doing that

  • Hi i need to do this exact thing too but i don't quite know what you mean by using the list object. Is this a feature only available in the none free version?

    Nor do i understand where to find or even write Read file line by line

  • Hi Thanks that was exactly what i wanted!

    btw loving Construct and that beginners tutorial was amazing

  • Hi i'm sorry i'm sure this has an answer in here somewhere but i can't find it. So I used to use VB and when you call a loop e.g.

    For Count = 1 to 10

    Print(Count)

    Next

    That would print 1 to 10, my question is how do I call on the value of the loop (as in what number the loop is)

    What i am trying to do is lay out a grid of objects according to X and Y values set in an array

    I've got as far as 'For "Setup" from 1 to Board.Width' Then i create the object but when i try to set a position i'm wanting to set it as so

    1st object (X = (1,1) in the array) (Y = (1, 2) in the array

    2nd object (X = (2,1) and Y = 2,2

    So in VB i would simply put

    X = (Setup , 1) Y = (Setup, 2)

    and that would go through the array along the X axis setting the two values

    So in basic English I want:

    For Setup = 1 to array.width

       Create object on layer 1 at (X = Setup, 1) (Y = Setup, 2)

    Next

    I hope that made sense

  • 10 posts