dop2000's Recent Forum Activity

  • Yeah, one way is to cut out all these hundreds of provinces and save them as individual sprites, or frames in one sprite.

    Or you can use Canvas plugin to fill individual provinces with color (like a Bucket tool in any image editor).

    But you'll still need some kind of list/index with coordinates of each province. Maybe make a simple capx where you click at the center of each province on the map and it saves click position into an array. Then export this array as JSON and import into your game.

  • See my second comment.

    When you are using "Array for each element", Array.CurX will contain the index of current element in the arry.

  • If you need to find a part of the string in array, instead of "Array compare current value" condition use this:

    System -> Compare two values -> find(Array.CurValue, searchString) greater or equal 0

  • Not sure what you mean..

    Add event: Array For each element

    Add sub-event: Array Compare current value ... (your search string)

    Add action: Set (variable) to Array.CurX

  • Fireballs are not actually multiplying. The problem is that you cast multiple fireballs at once. You don't notice that because they are moving on top of each other and look like one sprite, but sometimes they collide with the wall at slightly different angles and separate into several sprites.

    "Caster Animation frame=15" condition lasts longer than one frame, that's why multiple fireballs are spawned.

    You need to add "System Trigger once" condition to your event #5.

    Use Debug Mode (Ctrl-F4), you'll have a much better understanding of what's going on in your game.

    Also I suggest adding "Destroy outside layout" behavior to the fireball.

    And make the same collision polygon for all fireball frames - it will make collisions more predictable and accurate.

  • You can do this:

    Array For each element

    ...Array Compare current value -> Set index to Array.CurX

  • It's easier to use replace() expression:

    Set s to "Hi there!^How are you?^Take a seat."

    Set s to replace(s, "^", newline)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • oosyrag is right, you need to use instances, not separate objects.

    Create one Text object, add several instances of this object on the layout. (just copy/paste)

    If you arrange them in the order they were created you can do this:

    System For each Text -> Set text to myArray.At(loopindex,0)

    Or you can add an instance variable "ID" to this text object and pick instances by ID:

    for "i" = 0 to 9

    ....Text compare variable ID=loopindex -> Set text to myArray.At(loopindex,0)

  • Try searching the forum, there are lots of C3 plugins that are not listed in the plugin library.

    There is another similar plugin called Spine:

    https://cdn.rawgit.com/flyover/spine-c2 ... index.html

  • Default 0 degrees angle in Construct is on the "East", so all (moving/rotating) sprites should be facing right.

  • I once made a giant spider-like boss with two big limbs that were moving and stabbing the player. When killed, that boss fell apart into separate sprites. So it's possible, but depends on how complex your boss is.

    Also, have you seen Spriter plugin?

    https://www.scirra.com/blog/119/spriter ... onstruct-2

    I don't know if it's available for C3 though.

  • Could you share a screenshot of your events, or capx file?

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 262 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