feyninja's Forum Posts

  • Why not ask RexRainbow?

  • Cursor acts weird: image point of Cursor sprite.

    Missles & Meteors won't spawn: there's no layer "background" on your layout.

  • Fun and satisfy, but sometime the enemies appeared from nowhere, or suddenly disappear.

    Otherwise it's pretty cool, Keep up the good work.

  • Set vector Y action from platform behavior right? I'm not so sure but i think you don't have to worry about dt, because they're a part of the behavior.

  • Is necessary to use dt when I set vector, since it'snot the object's speed, but a parameter to his platform movement?

    If the actions come from behaviors you don't need to use dt.

    [quote:2f91x458]Don't forget behaviors already use dt (except with Physics where you must turn it on yourself). If you use behaviors to control all motion in your game, you don't have to worry about dt at all!

  • you want to say I want write How do I make start page only or what ?

    my question is if i make the design to my start page .......how I make it as start page and from it i will go to another page when I click start button ..............and exit the program when I click Exit Button .

    Choose the start layout by changing First layout in the Project Properties.

    Create a button, if clicked it will go to Layout. Using browser object to exit the game.

    My suggest is to read some beginner tutorial, avaiable in other languages, it should solved many of your problems.

  • Me too

    At least dt I understand a bit.

    It's important to use dt in every custom movements of objects to prevent lag?

    So If I want to move something 30 degrees, It would be something like this: 180*dt?

    Yup, if not the lag will break the game.

  • Oh wow @, you made this with C2?

    I used to try making visual novel but failed.

    I gave you a yes on steam, i really want to but i can't pledge because i'm basically broke now.

    But yeah, i will support you in anyway i can. Best wish for your project.

  • https://www.scirra.com/manual/126/system-expressions

    Lerp returned real numbers, so in some case you might want to convert them to integer.

    You must see some expert guys using sin, cos and stuffs for their game, it's driving me crazy. Man i wish that i had put more time on math class. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • Just you wait, when modularity come out, i will open a C2 template shop... maybe.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • feyninja

    And is there a way to make it runs until it reach the width instead of changing from 100% to 50%, for an exemplo?

    everytick -> 
    set bar width to lerp(bar width,(original bar width * current health / max health),8*dt)[/code:3leylobp]
    If you don't know what lerp and 8*dt mean, you can search "lerp" and "delta-time" on the manual, basically you can reduce the speed by half by changing it to 4*dt.
  • No, i'm afraid. It may sounds complicated, but also a cool feature that i want.

    The closest way is to use "load image from url", and let the user type the URL of their image.

  • Oh wow i got the badge, along with 967 persons. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    http://www.scirra.com/badges

  • The only way is to use web storage to save variables's values. When you reload the game, load web storage values and put them in the global variables, then set the game based on your global variables.

    Some useful links for you:

    https://www.scirra.com/manual/120/webstorage

    https://www.scirra.com/tutorials/266/we ... nformation

  • For example if your original bar's width is 400 pixels.

    set bar width to 400 * current health / max health[/code:3rm3wd17]