randomly's Forum Posts

  • I think I found a bug.

    When using the action Set background color, the background color doesn't change.

    Download sample .capx here.

    Running current stable r244, Windows 7 64bit.

  • ocupado

    Try to make the Listview global.

  • I had updated rex_listCtrl and rex_gridCtrl, now it will not update immediately when when setting total lines/cells count. Please download them again.

    You are a genius!

    That update solved the issue for me, I didn't even have to change anything in my code!

    Thank you so much!

  • chrisbrobs Links are dead.

  • Well, what you could do is:

    • Pick the current target by the turret expression TargetUID
    • check whether angle(dragon.X,dragon.Y,target.X,target.Y) is bigger than 90. If so, perform the action "Unacquire current target"

    Here is a .capx if you need more help: Download .capx

  • rexrainbow

    Here you go: Download .capx

  • I'm not sure how you want the fireball to work if it shouldn't be a guided missile.

    If you simply want to spawn a fireball with the needed angle of motion, you can do this:

    • Pick the correct enemy with the condition Pick by UID, use the Turret expression TargetUID for this
    • Under that condition, create the fireball on the position of the dragon
    • Set the fireball's angle of motion to the system expression angle(Dragon.X,Dragon.Y,Enemy.X,Enemy.Y)

    Don't know whether this is what you want though..

  • Alright, thanks for that answer.

    I have another problem though:

    This is my event sheet:

    The msgtext object always sets its text to "ERROR", meaning that the Line data returns an error.

    Any advice on what I'm doing wrong?

  • randomly

    Indexes are increasing from top to bottom, in current version.

    Yes, I am aware of that. So there is no way to reverse this in the current version and there won't be an update with that function in the near future?

    (I just want to know, I don't ask you to create an update, I know that you are busy)

  • I have a question:

    Is it possible to reverse the line order so that new lines get added on top of the last one instead of underneath it?

    Like a WhatsApp chat, so that your first item (index 0) is at the bottom of the ListCtrl object and the next one comes on top of that one and so on?

  • We can't tell much from this description only.

    It can be many different issues.

    We would need a .capx of your problem from you, please.

  • ocupado

    If you want to combine expressions and text, it has to look like this:

    expression & "text" & expression2 & "text2"[/code:1vc5z3tg]
    Example:
    [code:1vc5z3tg]List_MODELO.SelectedText & ":" & TextBox_NOME.Text & ":" & TextBox_IP.Text[/code:1vc5z3tg]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Did you figure it out yet?

    Sorry, I haven't been checking the forum for quite some time.

  • Click on the "View" tab in the upper part of the program and tick "Properties bar".

  • In the editor:

    Make sure that the Tilemap sidebar is opened.

    (If not, go to the "VIew" tab on top of the program and make sure that Tilemap Bar is ticked)

    You can view the Tilemap sidebar by clicking on the tilemap header on the right side.

    Now, select your tilemap object, open the tilemap bar, click the tile you want to place, click the pen tool and click anywhere in your layout viewer on the tilemap object to place a tile.

    In the event sheet:

    Use the tilemap action "Set tile at".

    For the tile ID, use the index of the tile you want to use.

    (see the above mentioned tilemap bar for reference)

    _______________________________

    As long as the tilemap has the "platform" or "solid" behavior, you should be fine.