joxevc's Recent Forum Activity

  • Oh thanks again, families would help!!

    didn't know that feature in Construct 2....

  • Thanks for your reply!,

    In your example all the good ones are an instance of the same object and have the same name, right?

    But I was wondering if it is possibe to do it with different objects, as in your example lets say we have 3 different good ones (square, circle, triangle)

  • Hi all,

    I'm really new to Construct 2 and I wonder if it's possible to reference an object by its name.

    let's say I have a spritePlayer1 and I want to know if it collides with a spriteWall.

    In this case I only have to set the condition:

    if spitePlayer1 collides with spriteWall then do something....

    But what if I have more spritePlayer? 10, 50, 100???

    is it possible to reference those sprites by its name so I dont have to set a condition for each spritePlayer???

    if spritePlayer.name="five" collides with spriteWall then do something..

    Thanks in advance...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks a lot Eisenhans!!! that definetly worked for me and saved mi life!!

  • Hi all,

    I'm working on a plattform game and I'm using the scroll-to behaviour in my object/player. Everything works fine, the view is centered in my object/player.

    When I have 2 objects/players with scroll behaviour enabled the view is centered at the midpoint of the two objects according to the scroll-to behaviour documentation.

    I'd like to scroll to one player and then to another player in different parts of the game but if I dissable scrollto behaviour in one of the players It justs keeps centering the view at the mid point of the 2 objects/players.

    Is it possible to do what I want?

    Thanks in advance,

  • Thanks! It works

  • Hi all,

    First of all must say I'm a beginner with Construct 2.

    I come from other developing languages and I just can't do something as easy as setting an array values using a for loop.

    How can I do this???

    Dim x as integer

    Dim intValue as integer

    Dim intTotal as integer=10

    for x=0 to intTotal

        Array[x]=intValue

        intValue=intValue+1

    next

    Thank you in advance,

joxevc's avatar

joxevc

Member since 17 Jan, 2014

None one is following joxevc yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies