lennaert's Forum Posts

  • You could abuse an array for that.

    First x can be the combination of name and numbers etc, making it a string. Second value can be whatever value you stuffed in there.

    Then you can fetch the second value corresponding to the combined variable name with a loop or some fancy search, and use the results in any object or variable you desire.

  • That one more goes into detail of the phpmyadmin database interface ...

    search results ajax & PHP

    Check these, the top one shows an actual high score tutorial, with that one start midway page 2. As you allready have a database, and can simply add that table to the wordpress database. Some tinkering is required in order to correlate the posted user data and the wordpress user.

  • Suggestion, place the spawner, temporarily, somewhere within the viewport. Then perform the spawn action and see what your settings does with the bullet behavior (ring)

  • Let me rephrase that; unless you need to use PUT to accommodate an API requirement, you should use POST.

    In any case, by all means, feel free to try and use PUT.

    And then let me save you an extra topic post by answering that potential topic upfront, which is likely to follow your course of action:

    You should use POST.

    EDIT:

    Here's a link with a good overview and info with regards to POST vs PUT

  • Are you using an API that requires PUT ?

    Otherwise, stick to POST

  • Check in the debugger on what X and Y it gets created

    Possibly:

    ringspawner x,y is somewhere outside your viewport

    another ringspawner is somewhere outside of your layout

    ringspawner origin point is way off

  • lennaert Thank you for the reply. From what I understand, it doesn't seem like a very complicated thing to do. Do you know where I can find an example of how to create the PHP page and after that how to interact with the WordPress database? I need to understand this very well to see if I really have conditions or not to accept this project.

    I think a large majority of PHP database examples / tutorias online will set you off in the right direction.

    w3schools.com/php/php_mysql_intro.asp

    This one is extensive and good, the Mysql section on the left shows all the general concepts and methods. The ones of primairy interest for you are: "Mysql Connect", "Mysql Insert data" and "Mysql select data"

    Your approach in Construct 3 is to use the Ajax object, to send some form data to the PHP page, and in a similair method retrieve it.

    Lots of examples on the construct forums to get you started I guess.

  • Make a custom PHP page that catches the data required and stuffs it in the database.

    (you can either make a plugin, or a simple standalone page)

    You'll need to add some data, either from the session or derrived from the page, containing the username/id, and send this along to the database.

    You can simply add a new table to the existing database and add a userid reference column, and the other ones with gamename, score, etc etc

    Then, either by a self made plugin, or again a stand alone page, access the database information and show it on the page.

    Personally, I'd go with stand alone setups, ... plugins tend to need to get updated, .... often ...

  • Set the iframe to invisible perhaps?

  • If you have a small cp3, or capx file, I wouldn't mind taking a look.

  • Your x_colisalo, make sure its origin point is at the bottom of the sprite (max y for sprite)

    It could be it stops on the collision block, but the origin point has not touched the ground yet.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Look into the Ajax object.

  • Send the value of the global variable in a broadcast message, so the peers receive it and can set the same variable.

  • Your player gets stuck in "is falling" there, while your "estado" is stuck in jump.

    Likely a logic issue.

    Perhaps the update event from jumping to falling needs tweaking.

    Perhaps add to the jumping event an inverted "is falling" condition (not falling)

  • A solution to a previous request might be fitting for yours aswell.

    construct.net/en/forum/construct-3/how-do-i-8/audio-apply-compressor-170706