LittleStain's Forum Posts

  • Fisrt you need to know what you consider drifting..

    Then you need to set up conditions for when this is happening..

    So I guess it would be something like:

    Car is moving

    Car speed is > 10

    sytem compare two values car.angle is not the same as car.car.movingangle

    add 1 to drift

    But I'm not sure if these conditions are the ones you are aiming for..

  • It would seem impossible for the Game is suspended while in the background..

    What purpose would it use?

    Wouldn't it be possible to just update the position when the game is brought to the foreground agian?

  • Easiest way would probably be to use a tiledbackground object and set it's width according to the amount of hearts..

    so if the image of the heart is 100x100 pixels

    add a tiled background object

    load the image

    set the tiled background to the height of 100 and the width of 100*(amount of hearts)

  • ehhhmm..

    If you only want to spawn a sprite when this condition:

    System->Compare two values->Sprite.Count = 0

    is true...

    .. you should add this condition to the event which triggers the spawning action.

  • Use right-click to make an or block and add the actions to that..

    You wouldn't need an else block for if the or block isn't true the actions wouldn't be performed..

  • To get you started just the movement:

    https://dl.dropboxusercontent.com/u/485 ... ement.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This 3rd party plugin might be just what you want..

    ?

  • Here's a very basic timer example.

    ?

    using the time remaining in seconds global variable to set the width of your progress bar would do the trick.

  • Without seeing your events and or your capx, it's hard to give specific information.

  • Is there any logic in which numbers you want to perform certain actions to?

    Using or blocks in combination with else blocks could be an option, but if there's any logic behind the numbers, using that logic in the events might cut down the number of events immensly..

  • Is the "App is updating" text set to be invisible normally, so it is only set to visible when updating?

  • Is this the original size of the sprite?

    What program did you use to make it?

    Did you resize it before importing?

    What program did you resize it with?

    Are you using linear or point-sampling in your project?

  • without animation it would be

    +Mouse on cursor over sprite

    • sprite set opacity 100

    Else - sprite set opacity to 50

    if you want the opacity to slowly change:

    +Mouse on cursor over sprite

    • sprite set opacity sprite.opacity+1

    Else

    sprite compare opacity > 51

    • sprite set opacity to sprite.opacity-1
  • I think adding a period offset of half the period would get the exact result you'd like..

    I guess in the actions it would be set the cycle position of one of the bullets created to 0.5

  • instead of random(1,3) you could use choose(1,2,3)

    random(1,3) can also produce 1.5, 1.7, 2.3, etcetera as an answer, so the chance of it being exactly 1 or 2 or 3 is pretty small..

    other options would be to use round(random()), floor(random()) ceil(random() or int(random())

    from the manual:

    random(x)

    Generate a random float from 0 to x, not including x. E.g. random(4) can generate 0, 2.5, 3.29293, but not 4. Use floor(random(4)) to generate just the whole numbers 0, 1, 2, 3.

    random(a, b)

    Generate a random float between a and b, including a but not including b.