dop2000's Recent Forum Activity

  • Wait, you are using 1D array for this task?

    Change your array dimensions to 5x10. Here is a demo I made:

    https://www.dropbox.com/s/2ojwkuot5an8q ... .capx?dl=0

    Run the project in Debug Mode (ctrl-F4) to see array contents.

  • Both arrays and dictionaries have their pros and cons. What's to choose depends on your data and how are you going to use it.

    There's actually a plugin that can help parsing CSV files or even convert them to arrays:

  • "On load" is for asynchronous events, when the wait time is unknown.

    Load from JSON just requires 1 tick to process, I guess.

    Since the evidence points to this being a third-party issue and you don't seem to want to co-operate, closing this report.

    Oh, so it is me who is not willing to cooperate? I have no words....

  • Sorry, I see it now. Have you tried creating a new layer and moving all objects from the problem layer one by one onto it?

    You should be able to see what causes this property to switch to "yes".

  • OokLoc

    How long does it take? I imagined this should only take one tick, so a simple "wait 0" should do.

  • What are these characters and specs? If they are they just bits of text data, you can store them in an array or a dictionary.

    With dictionary you can have the character as key name and put all specs into a comma separated string.

    So you'll have:

    Keyname="Character1", data="spec1,spec2,spec3,spec4"

    Use "For each key" loop and expressions like find() and tokenat() to search for/parse specs.

    Or you can make a 2D array, X axis will store character name, Y1-Y4 will store specs.

    Use array events like "For each element" and "Compare current value"/"Compare at XY" to search for a character/spec.

    --------------

    In case these characters and specs are actual objects (like sprites), you can define an instance variable on the Spec sprite - "CharacterUID". This will allow to link characters with specs.

    To pick specs for a character:

    Spec compare instance variable -> CharacterUID=Character.UID

    To pick character for a spec:

    Character pick by Unique ID -> Spec.CharacterUID

  • Do you mean "Force own texture" flag is set in the layout editor? Or is it in runtime, when you are running your game in debug mode?

    If in the editor, simply disable this flag, it's not read-only.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • CyanProductiona

    I don't think you can jump again in the air, but you can manipulate the VectorY. Here is a very basic example:

    On key UP pressed: Player set Vector Y to (self.Platform.VectorY-300)

    Search for "wall jump" on this forum, there are plenty of examples.

    Also, I see at least 3 tutorials about wall jumping:

    https://www.scirra.com/tutorials/all

  • R0J0hound , mekonbekon

    Thank you, so simple!

    I went the wrong way - started by converting coordinates from layer with parallax 100 to layer without the parallax, calculating the offset, converting back and eventually got stuck.

    , oh, then you are lucky, you not affected by this bug

  • melomaniak

    It's possible, but every enemy (with its own shadow light and FOV sprite) should be on a separate layer.

    Making hundreds of layers for all enemies is a bad idea, of course. But if in you game there are only a few enemies visible on the screen at a time, I guess you can make 10 such layers. Once an enemy appears on the screen, move it to an unoccupied layer and pin one shadow light and one FOV to it. When the enemy is killed or walks away from the screen, move it to some other layer and destroy its shadow light and FOV.

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