lionz's Recent Forum Activity

  • You will need to pick the instance so 'bullet on collision with player' condition, then action is increment player.variable.

  • If you add an Else it will run the events you want when there is no instance on screen

  • I'm no artist but I think the strip needs to be exact dimensions so for example if your character animation is frames of 32 width and there are 4 frames then the strip needs to be width of 128 so it can be chopped correctly. If it looks offset then it means there is blank space or the frames are incorrect size.

  • You can select the number of sprites per row and the dimensions when you import. If it's still wrong then that means the image itself is offset and you have to fix it at the artist stage.

  • Adding system 'for each' shape to the condition should fix this

  • Contact customer support again, we are just Construct 3 users and can't help with this.

  • 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

  • You've only shown us a destroy action on start of layout, I don't see how it could be destroyed later on when it starts to move.

  • The issue is unlikely to be with converting to a string because it's already a string. I would debug this by first trying it without removing and inserting rows every X seconds, a basic insert a value and see if the player changes animation. If that doesn't work then you probably have other events that overrule the setting of the player animation. If it does work with the above then likely the problem is when you pop the array and set the animation in the same tick then maybe the rows move so the animation is at row 8 instead. Think about adding the logic you have there into one event or function to minimize bugs.

  • Deleting from the array isn't going to do anything now as you are picking from the probability table. You can remove the entry from the probability table but again start simple with a trigger once to make sure it is working then add the repeating functionality afterwards.

    Also you need to repeat from within the function eventually not outside it as you are creating the probability table and adding to it inside the function, or else each repeat will start a new table which means you can end up with repeated selections.

    Logic could be something like : -

    build probability table

    repeat 3 times :

    set variable to arandom.weighted

    create object 'variable'

    remove variable from prob table

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 72 followers

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies