LittleStain's Forum Posts

  • is it important that the player types roll?

    are you planning to add other input possibilities?

    Just asking, because If the player were just to enter a number it would be much easier..

  • the tiledbackground should be exactly four times the original image height here..

    changed it to y > 0, just because it works..

  • first one is easy

    set text : Globalvariable

    second question has been answered a lot on the forums and you can probably find it in many tutorials..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Should be something like this:

    TiledBackground.y > Self.Height/2 ---- TiledBackground Set y to Self.y - Self.Height/2

    When going left x gets smaller, but when going down y gets bigger, so width should be replaced by height and + by - and < by bigger >

    I might have done it too fast, so there could be some typing errors, but with the above you should be able to figure it out..

  • If the video object is on your layout, the names of your videos are inputted in the video-object properties and the videos themselves have been added to the project files, it should work..

  • creating a random number isn't that hard just set the number to round(random(1,Number)) , where number is the number inputted by the player..

    but if you want the roll part in front of it, before being able to use the number typed, you should remove that part of the text and only use the number after converting it back to an integer..

  • Wouldn't it be easier to just use the sprite or text as a button?

    To remove the blue outline you'd have to adjust the css, I guess..

    button:focus {outline:0;} works in normal css..

  • It's the same principle..

    instead of moving left (180 degrees) you want to move down (90 degrees)

  • right after adding 1 to GOD, you are setting GOD to 10, so the adding 1 action is useless..

    Also this happens every second no matter what..

    I guess you only want to add 1 while the powerup is working, so you should add a condition for that

    instead of the set god to ten action, create a system compare variable GOD = 10 event and add the actions to that..

    This event should only trigger once while true, so you should add that condition..

  • have you seen the endless runner example shipped with construct2?

    It has an endless background, implementation would be about the same..

  • If simulate match restarts the layout, you need a way to store the values in the array before doing so..

    Maybe the persist behaviour could help, or using global variables instead of array values, or webstorage..

  • Create the textbox and in it's properties set enabled to no

    keyboard on / pressed

    • textbox set enabled
    • textbox set focussed

    i'm not sure what you mean by pressing " /roll x " so if you could explain that further?

  • system every x seconds - wall set speed to wall.speed+10

    you could ofcourse clamp this to have a maximum speed

  • This isn't a timer, but a wait action..

    Could be better to use the timer behaviour for something like this though

    give the player timer behaviour

    instead of the wait action use start timer for 10 seconds

    and on timer - setthe actions now below the wait action..

    I would actually choose to put all events concerning collision with enemies in a group and de-activate that group during the "invincible" period..

  • Ok, so it should be sometthing like this?

    set array at x,y to Array.CurValue+(whatever you want to add)