dop2000's Recent Forum Activity

  • Try Pathfinding behavior to move enemy to player's position every few seconds.

  • Create a new layout, name it "Assets" or "Unused" and put all your sprites there.

    And read a few tutorials.

  • You do not have permission to view this post

  • I doubt there is any plugin for that. But if you already know which objects you need to remove and want to check if they are used anywhere, do this:

    Rename them - add "_ToDelete" to their names. Then save your game as a folder project and search all xml files in \Layouts and \Event Sheets folders for "ToDelete" string. If nothing found, then they can be safely deleted.

  • There are two ways to fix it:

    Change "Set angle=No" in Bullet behavior and use "Bullet0 set angle of motion to Bad.angle+N" action.

    Or keep "Set angle=Yes" and change all action to "Bullet0 set angle to Bad.angle+N"

  • After particles have fired, you don't have control over them. So if your rocket is moving fast and you don't want the thruster particles to lag behind, you should either set a very short timeout for them, or make your own particle effect using sprites.

  • Sprite set animation to (Sprite.AnimationName="Animation 1" ? "Animation 2" : "Animation 1")

    .

    This should work. If it doesn't, there must be some problem with your code. Maybe this event is executed on every tick and animation constantly changes from 1 to 2 and back.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here is a quick demo I made:

    dropbox.com/s/pnwi8nsax7n6e36/BloodTrail.capx

    If you want to get rid of gaps, change the size of the Blood sprite, or its collision polygon. You can also make several different frames and select one at random.

  • How is it different from what I suggested? You first create a "database" of states either with constants or a dictionary or some other data storage method.

    Then in the layout editor you initialize your instances with state code names - "STATE_RUN", "STATE_IDLE" etc.

    And then in runtime you lookup actual values for each state code in the dictionary or from constants using a bunch of "if" events.

    .

    Or do you mean you want to select values for object's instance variable from the list, rather than type them?

  • I don't understand what you are trying to achieve.

    You have a gazillion of actions like "Bullet set angle of motion to Bad.angle+N", but your Bad.angle is always 0, because it doesn't rotate. So when you add 80 or 90 degrees to it, the bullet flies down, as it supposed to.

    If you want to aim at the player, you need to set angle of motion to angle(Bad.x, Bad.y, Player.x, Player.y)

    Or, since you have "Set angle=Yes" setting on your bullet, you can simply use "Bullet set angle towards position Player.x, Player.y"

  • You can create a bunch of events like this:

    If Character.State="STATE_RUN" -> Character set State to STATE_RUN

    Unfortunately, there is no other way to access variables by their string name.

    .

    Also instead of the constant variables, you can use a dictionary:

    Key="STATE_RUN", value="run"

    KEY="STATE_IDLE", value="idle"

    Character Set animation to StatesDictionary.Get(Character.State)

  • Construct 3 r104 on Windows 10 laptop with touch screen.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 257 followers

Connect with dop2000

Trophy Case

  • 8-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
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies