matheusben's Forum Posts

  • 14 posts
  • The datasource is my data base, so what i need to do?

  • so i get those php at same time? and i split in array?

  • Hello guys, i have a doubt, how do i load many php at same time,

    Example:

    In my Sprite have some variable like HP, Points and etc. I want to catch this information in Data Base and load at my Sprite.

    So at same moment

    I need to load Sprite Monter information; that have variable like: HP, Attack and etc. I would like to load this information at the DB too.

    I try to do this but i cant get sync.

    Thanks

  • Hello guys, Im having a doubt, i need to create a inventory based in array. i Have two array and i would like that these arrays can do interactions with both; like

    ArrayUsed can move item to ArrayInventory;

    ArrayInventory Can move item to ArrayUsed;

    one of them are Inventory Used; sounds like when the item are equiped;

    and Inventory; sound like when you catch in of the ground;

    Example like im doing

    I try to did, but where i try to put item in one, the other clone the same item, where's an example like i did my code;

    i.imgur.com/lhpjeQU.png

    i.imgur.com/t7xJAQO.png

    i.imgur.com/Q6lVD8n.png

    i.imgur.com/RPyCUHV.png

    i.imgur.com/Ztjj2Fm.png

    Thanks;

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In load character im calling like this:

    example of output in PHP:

    3|1|ZeMario|1|0|0|25|12000|20000|20000|20000|0|4167|1106|5|5|5|5|5|10|5|10|200|10|0|

    And in monters is like this:

    Example of output:

    1|Warrior|1|100|500|1000|20000|10|10|10|10|1000|20|20|100|1|

  • Hello guys, im trying to create a game and all connect with php -> Mysql;

    example:

    I have a PHP that catch information about character in mysql

    and i have another php that catch information of Monters in mysql.

    and when i did this, the construct just load one php per time, and dont reload another.

    example:

    what i need to do? Create a loading layout?

    Thanks

  • thanks i will search more about this.

  • i was thinking in JAVA SDK, not javascript sdk, Is this possible?

  • Hello guys, how do i make connection between java and construct2

    example:

    i make a socketserver in java and i want to use this socketserver in my c2's game.

    thanks.

  • this is cool, if u find, can u help me?

  • I did my rpg inventory using this;i dont this:

    w ww . sci rra .com/tutorials/614/array-based-inventory

    Kill monster and spawn object

    Player Collide with Object add to variable

    but i want to do, can you share how you do this?

  • yes i want to do this, but in your example, my token never will be the same,

    the guy select your char in PHP, and i set a var called NAME and i want to do that C2 accept this link;

    xxxx.xxx/game/getChar.php?player_name=name (PHP VAR);

    thanks

    if you could; add me in Skype: matheusmwno

  • Could u send me a copy ? i dont have any idea to do this.

  • Hello guys, I have a login php, and i want to load the characters in php that this accounts contains, in contruct 2. How do i this?

    A image for example of what i want to do.

  • 14 posts