dop2000's Forum Posts

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Both Set text to Sprite.V_name and Set text to str(Sprite.V_name) should work.

    If they don't work, maybe a wrong sprite instance gets picked or there is some other issue with your code.

    Run your game in Debug Mode (ctrl-F4) to check how many Sprite instances you have and to see their instance variables.

  • Do you use "Apply impulse" action on Enemy object? Have you tried a bigger value, say 1000? (just to test)

    Are you sure the Enemy has physics enabled at the moment of collision, is not Immovable etc?

  • You do not have permission to view this post

  • There are a few plugins you can try:

    free -

    commercial -

    Full list -

  • Anyone?

  • Normally this shouldn't happen. Did any other apps on your phone lose their saved data?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • TextBox over a button? This will look ugly as hell <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Or did you mean Text object?

    You should add Text and Sprite into the same container. Then when you spawn a new sprite, its text will be created automatically.

    Also they will be logically linked to each other. When you pick a sprite instance (for example in On Clicked event), its text will be picked as well.

    You can also use the native Button object and style it with CSS:

    https://www.scirra.com/tutorials/1283/c ... -textboxes

  • gameba

    I reported this bug just a few days ago:

    In your first event instead of "System->Pick" use "RedSprite->Compare variable" and then the or-block will work correctly.

  • Not sure what you mean.

    If this was my game, I would probably use Timer a lot.

    Run a recurring timer on each enemy, say for random(1,2) seconds.

    So every 1-2 second on timer event I'd check different LOS (attack, notice etc) and adjust enemy's current action if something has changed since previous timer event.

    For example if this enemy is attacking, check LOS_Attack, if it's true, continue attacking. Otherwise check LOS_Notice, if it's true, stop attacking and start chasing. And so on..

  • "Wait" shouldn't be used here.

    Try the Timer behavior. Add it to some object (background sprite or something).

    On click -> Start Timer "HideLayer" for 5 seconds (once)

    Sprite On Timer "HideLayer" -> Set layer invisible

    If player clicks several times, the timer will be restarted every time for 5 seconds.

    Another way to do it is to use system expression "time". Add a variable hideLayerTime, then add these events:

    On click -> Set hideLayerTime to (time+5)

    Compare variable hideLayerTime is Less than (time) -> Set layer invisible

    System Trigger once