oosyrag's Forum Posts

  • Create a line sprite object. It can just be a 2x2 pixel square if you want, you're going to stretch it. Set the origin point of that sprite to the center of the left edge in the image editor.

    To draw it between two other sprite objects, spriteA and spriteB, create/move lineSprite at/to spriteA.X, spriteA.Y.

    Set the angle of lineSprite to angle(spriteA.X, spriteA.Y, spriteB.X, spriteB.Y).

    Finally set the width of lineSprite to distance(spriteA.X, spriteA.Y, spriteB.X, spriteB.Y).

  • There is a "layer is visible" system condition you can add in your crop selection event.

  • Have you tried the restart layout system action? I believe that should reset object positions.

  • You want to do a distance based flood fill, or a breadth first search. A basic brute force method should be fine as far as speed goes, if your distances aren't in the hundreds and it's a single triggered calculation. Can throw an example together later if you have trouble.

  • You can also store data in localstorage, or an array.

  • An occasional reset event, maybe between every couple of stable releases wouldn't be a bad thing. It would have a similar effect to what this thread did actually - drum up interest again for people to clean up suggestions, re allocate votes, see what's new ect., and prompt Ashley to reserve some time to review suggestions. I wanted to say Ashley&co. but I'm pretty sure he's literally the only one to deal with suggestions.

    A reset would clean up the clutter. The old ones will still be there for you to resubmit in the new one, if you aren't afraid of a little work to show you still care. If you keep resubmitting, they'll get more visibility than the masses of junk posts.

    They've implemented quite a few suggestions from the suggestions site. Again it's a matter of expectations of what you expect them to get done with it.

  • I vaguely recall this concept had been explored pretty extensively. It might be worthwhile necroing the thread you found or tagging the owner of the example. If it was a dropbox link the file is likely still there, just the link needs updating.

    If my memory didn't fail me, R0J0hound was involved in the particular thread I was thinking about, and he's definitely still lurking around on these forums.

  • I wonder how a crash would corrupt a save file, unless it literally happened during saving or the hard drive itself got damaged.

    You can try to send the file to support to see if they can help you.

    Also check if you're actually trying to load a .c3p file. You can't load an exported project in the editor. Sorry if that sounds silly, but that is attempted more regularly than I would believe possible.

  • So... change your sprite size? Or change the viewport size.

  • I now have an idea for a little app... Swipe right for yay, swipe left for nay, with the understanding that it's for "minor suggestions" only and bigger suggestions that aren't focused in scope, too long to read, or otherwise unclear should get the nay treatment. Anyone can add any amount of ideas, with adjustable threshold setting for number of yays required for a suggestion to even show up in your feed. You don't automatically get a yay on your own idea, gotta have it randomly show up as you go through everyone else's ideas. One vote per person per issue. Low interest ideas automatically get removed from the pool after a certain ratio of amount of views with no interest.

    Add a way to view a list of all suggestions sorted by interest, and optionally culled suggestions.

    But then there wouldn't be any real way to handle duplicate suggestions. Not that the current site really does either though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Did you create an account just to answer a one year old question with the same answer that was already given in the first reply to the OP? I'm actually really super curious if you're a person or an amazing bot.

  • Yes, but I believe the ram usage for a text based object like an array is generally negligible. At some point you will not be able to hold an infinite amount of data in memory, but that should be given.

    You're more likely going to run into cpu limitations first when trying to process the all the data in huge arrays, which again emphasizes minimizing the scope of whatever you are doing to only what is relevant at any given point.

  • Normally I maximize the use of instances, given that all the instances of the object in question logically have the same scope or function as far as events go.

    However, if using all separate objects works and makes it easier for you, there is no reason not to unless you can actively notice or measure a performance difference.

    I don't think 100 objects would have any measurable impact on performance. On the other hand, slider bars objects are html form elements and those don't always play by the rules. Anyways I wouldn't bother worrying about performance.

    I'd go crazy building events for 100 separate objects if I could do it just for one instead though. Then again, you've got families to make up for that as well. This engine gives you a lot of flexibility to work in whatever way you feel most comfortable.

  • Hmm if you need to keep track of modifications to the noise, then you might want to have it in an array after all. I personally would still approach it by recording only what is necessary rather than everything at once though.

    Again, you could break it into chunks, Minecraft style, where you keep an array instance per chunk and have a system to keep track of the relative location of each array/chunk

  • I am filling one z axis of the array with perlin noise values so I have a feeling that if I broke the map into many arrays that the noise wouldn't be so perliny on chunk edges

    With the same seed, as long as you're consistent with your coordinate system, there should not be any seams at whatever chunk edge you define.