wasiu9's Forum Posts

  • Hello,

    I'm pleasure to show You My first C2 creation:

    mwasiak.pl/gamedev/games/soccer_kicks

    I hope You enjoy!

  • Thanks You very much!!! It's works great!

  • Thanks You very much! It's really help my, im almost done :) Just hava a one problem.

    Only 9 text elements shows data from database. Other 24 text elements shows "0". How can i solve this problem?

    I think it's the problem is in Array - For each X element and his action but i completely dont understand that action so can't find a solution :/ Please help.

  • Hi,

    I have i nice idea how to make a simple scoreboard for ours games, but I do not know enough ajax/php/sql language to do it myself. So i want to please some one for help me.

    It's my idea:

    1. In game i make a textbox where player wrote his name. This textbox send player name to variable.

    2. The second variable keeps score.

    3. When the player click submit score btn then the ajax request url (example /blabla/addscore.php) (how to transfer the collected data?)

    4. This addscore.php have instruction that add name and score to SQL database!

    And thats all. In simple site i will show this scores.

    It is possible? Please help me how this php instructions should look like.

  • Yep, that was good trail. I add condition on "overlapping" trigger3 "destroy trigger3" and its work. That everyone for help!

    Hmm good question - what witch multi using triggers? How do them?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think the problem is in condition (is overlapping), when i take control from player he still touch the trigger and maybe thats creat loop first frame from "To_crouch" animation.

  • Thanks You for replay!

    Is playing dosent help. Even if i toggle desible all Moving folder that happens still.

    Thx for boolean tip, I try it.

  • Hey,

    I have got a little problem in my game.

    This is my events:

    oi46.tinypic.com/vec5c1.jpg

    You can see at the bottom of events a Trigger3. When my player.controller is overlapping the Trigger3, my hero dosent play animation "To_crouch" but only get first frame from this animation. It's only work when i add event Destroy player.controller but i need him. So what i do wrong?

    And another question. I wont made two states of moving. On crouch and standing movement. the only difference is the animation, nothing more, how can i switch the movement animations? For example i got walk animation:

    Walk1

    Walk2

    Animation "Walk1" is on layer start. When my hero touch a trigger i want him to use for moving animation "Walk2". How can i do this?

  • Damn now i dont have capx in my computer but i can tell how its work. I make sprite box, pin the player animation sprite to this box and in events moving only sprite box. When i made a little altitude on sprite box path (just like on up screen) he stuck (not every time). Dont idea how to resolve this.

  • Thx for information. I will check it but i didnt thinks its resolve problem jumping animation on player change animation from walking to stand without ending walk animation.

  • Hey,

    I want to make a solid platform not perfectly straight ground that player moving on. The problem is when i put solid blokcs side by side they can block player moving. Is there any way to make curves surface?

    Here is the screenshot how i do it now.

    <img src="http://i48.tinypic.com/dy3hjk.jpg" border="0" />

  • Hmm i test and it seems easy to resolve. On event Stop moving platfor and compare with last frame in animation Walking then stop moving :)

  • Thanks You all for replays!

    I need lot of frames in my walking animations becouse i have low gravity in my game and its must look more slowly.

    <img src="http://i46.tinypic.com/aw4753.jpg" border="0" />

    I draw my problem :) I think for solution my problem i need a action witch allow walking animation play to the end and then switch to stand animation. But question is how.

  • Hey Guys,

    I thinking how can i do a smooth stop walking animation. I have Walking Animation consisting of 30 frames. When i set event "Platform on stopped" and set animation to "Stand" it's will not be a smooth, becouse any frame in animation "Walking" is different from one frame in "Stand" animation.

    Is there option to turn off the looping for animation Walking (played to the end and stop on last frame) for event "Platform on stopped"?

  • Thx u very much. I try it today :)