dop2000's Recent Forum Activity

  • Looks like "Player on collision with Ghost" will never pick more than one ghost. In my tests, when player collides with two ghost instances, the event itself is triggered twice.

    So, yes, seems like "For each" is not needed here.

    But if this event could potentially pick two ghosts, then "For each" would be required because of that "Else" block in event 46. Without "For each" loop, if player collides with 2 ghosts, one of which has escape=true, and another escape=false, only event 45 will be triggered.

  • If you are using C2, you need to post in C2 forum.

    Also, you should share your project file, or a screenshot of your code. Looks like your character is pushing enemies into the walls. I'm guessing you are using actions which ignore Solid behavior (for example "Move at angle").

  • Use len() expression - len(TextBox.text)

  • You do not have permission to view this post

  • You can use Tween with Linear easing function.

  • If you already have a string of numbers and want to add spaces to it:

    .

  • Are you adding these digits to the string one by one?

    This code works for me:

    .

  • Your "Chars" layer is invisible.

    Also, you need to enable collisions on PlayerBox sprites.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If there may be a variable number of users and many rounds, you need to create this table with loops. You probably also might need to scroll it.

    Check out this demo, it may give you some ideas:

    howtoconstructdemos.com/scrolling-a-list-of-players-scores-images-etc-example-a-capx

  • Are you creating the string to display in this textinput in runtime? You can try something like this:

    Compare two values: (len(TextInput.text)%3)=0 
     TextInput set text to Self.text & " "
    
  • When you create an instance of an object in runtime, it takes all properties from the first (default) instance of this object in your project. This default instance can be on this layout, or on any other layout.

    If you don't add this object to any layout, then there will be no default instance to copy the properties from.

    So, make sure you have at least one instance of this Text object added to any layout. What I usually do is I create an unused layout "Assets" and store all my default instances there.

  • No, tilemap object will not stretch like that.

    If your array of sprites is not very big, you can use an invisible placeholder sprite with image points defined on it. For example:

    On start of layout:
    For "n" from 1 to 10
     Placeholder spawn Sprite at image point (loopindex)
     Sprite Pin to Placeholder
    

    This way if you resize or move the placeholder sprite, other sprites will move accordingly.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • 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
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies