TELLES0808's Recent Forum Activity

  • Can you share the CAPX for who have the same issue see the solution?

    I'm talking it because many people is beginning and it can help them a lot.

  • It's already reported: scirra.com/forum/r99-saving-in-capx-then-in-folder_topic55351.html

    Thanks for sharing.

  • Something I have learned here, a CAPX sometimes talk more than 100 words. Do you have any CAPX to share?

  • sqiddster

    Yes, if necessary I do a image 3 times bigger than the necessary for the currently frame:

    <img src="https://dl.dropbox.com/u/47035927/00%20-%20EQUILIBRIUM/images/01weapons-sheet1.png" border="0" />

    On this image, the origin and any other points are stored inside the image, where I do some sparkling effects.

    It is rediculuosly simple math to keep the correct position for image points and for collision shapes while cropping. That is no excuse.

    Also, you can make masks for your sprites and simple pin the animations on these masks, keeping the collision areas and points on the mask, and using the animations only for animation purposes.

    Another question, you're wondering this for the Spriter plugin?

  • I think we're talking about two differnt things. You do want to crop all your sprite frames when you're done to save texture space, memory, file-space, load-time etc right?

    If so, you dont want this to RUIN half of your image points and collision shapes and ruin your game, right?

    Is it me, or does cropping currently ruin the shape of collision polys and image points if they are outside the "safe area" where theres actually image.

    About the issue of cropping inside the editor I really said nothing about, I just concerned about avoiding the issues it can make, and it make sense, one time you change the sprite size by cropping it and all the frame points and areas points are relatively to a origin:

    Also, your animation points and collision areas can have the same relative origin, making easy "set to all animations" and avoiding bugs with collision masks with different sizes, changing then on the run time, putting your player inside wall, for example.

    I workaround these type of issues just editing the images directly, using software like Fireworks, who can do batch processes, and with C2 closed, then opening C2 again.

    Sometimes some adjustments are necessary, but it work well.

    Best luck and I hope a solution for your problem too.

  • I have no problem dealing with sprites using blank areas, instead of a problem, I prefer this way because when I import my GIFs, they are with huge blank areas around, where I draw some different frames using that areas.

    Also, your animation points and collision areas can have the same relative origin, making easy "set to all animations" and avoiding bugs with collision masks with different sizes, changing then on the run time, putting your player inside wall, for example.

    Another thing is about make points go out the frames, if it's your case, why you just don't make a math to track the desired point relatively to a central point?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In this case, it's pure random, and providing a CAPX or project folder will not help to reproduce it ~_~

    I was thinking these days about memory leaks, and it make more sense than a real bug, because sometimes it work and other times it don't..

  • what???

  • Saving an array in webstorage is not trivial. You need to make sure you understand them perfectly.

    Agreed, nothing is trivial on the World, people still having problems to understand how to start a new project ^^

    AlexeyMak , you will need much more than a simple save and load system to save, it's about how you organized your code.

    For example, if your character have changed 100 blocks on the scenario, each block will need to have their own ID, pos.x and pos.y stored in an array (array is a type of thing where you store information, separating each one by commas).

    So, think in a scenario with a grid of 4 slots, like this:

    _ _

    |_|_|

    |x|_|

    Where is the X? Is on the thirty slot.

    How you'll make Construct 2 know it? If it's already there, Construct 2 already know it, so, start indexing in an array the first one, the second and ahead, like this: (nothing, nothing, X, nothing). Now C2 know a sequence and know where the X is, it's on the thirty slot of your array. Then, when loading, you'll need to make C2 know how to place it on the thirty slot by doing a math with a looping, for example: when looping reach the slot 3, it'll call the array slot 3 and place the X on the right location.

    Well, it's easy to write here, but I can't reproduce it in an CAPX at this time, because my arms are short when talking about arrays ^^

  • Yea i have done that, and i clones that sprite but when he gets hit it makes all of them pop, not just one.

    You're luck today!

    Read this two tutorials and you'll be able to do manipulate each heart individually.

    http://www.scirra.com/tutorials/361/understanding-uid-iid-health-of-enemies-and-rocket-smoke-trail

    http://www.scirra.com/tutorials/355/making-character-composed-of-multiple-parts

TELLES0808's avatar

TELLES0808

Member since 27 Oct, 2011

Twitter
TELLES0808 has 3 followers

Connect with TELLES0808

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • x2
    Popular Game One of your games has over 1,000 players
  • x12
    Coach One of your tutorials has over 1,000 readers
  • x3
    Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

22/44
How to earn trophies