CREATOR4's Forum Posts

  • Its either add extra blank frames to the default Sprite object, or use the offset texture feature of Tiled Bg.

    I would also point out that ram should be taken into consideration.

    In other words many animations is not what is considered best practice.

    Huh.. I never thought to use a TiledBackground like this. Cool idea! If performance is good this is going to help me out a lot

  • Regarding a giant stretched out sprite vs a tiled background, I don't know which is better. I suppose the best way to know would be to test it yourself

    You can accomplish a changing bg color with only one TiledBackground

    1. Import an image file to use for your Tiled Background (Files > Import files)

    2. Use Load Image from URL and enter the file name

    This will let you swap out the TiledBackground's image

  • Try Construct 3

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

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

    I spend at least a day researching online before I post a question on any forum. I don't know if you realize this, but it's actually easier if you can find the answers online. And it's obvious that I have done research since I posted a link to the video that first taught me how to do scrolling backgrounds.

    Unfortunately Construct makes it nearly impossible to find anything useful. If Construct would remove all the worthless C2 posts that are over 5 years old, all the posts with Dead Links and all the post where the images have been removed - than people would actually be able to FIND the answers when they Google their problems. If the forum was cleaned up then Google would stop indexing outdated posts and we could find what we need.

    I'm not suggesting you do research. I'm suggesting the opposite in fact. Play with the engine yourself. The engine is not bloated at all, you can easily investigate most of the behaviors and object types on your own. If you had looked at the object types for 5 minutes you would've probably come across "Tiled Background" and seen that it's exactly what you want: a scrolling, repeating background. I think you'd learn things a lot more deeply that way, in a hands-on manner. That's just my advice and what has worked for me

  • Oof, this is an unnecessarily complex way to do it

    All you need is a TiledBackground and 1 line of code

    gofile.io/d/C2oNbu

  • That's pretty weird. Can you open the debug preview and see what's going on with the unaffected enemy? Check out it's timer variable, beingPoisoned variable, etc

  • Given the number of threads you've made recently I'd recommend slowing down. Take some time to really think through your problems. Try to read your code line by line and see if you understand what's happening

    If you come to the forums every time you get stuck you won't learn anything deeply

  • > > its really weird every tick added only for the platform and other things but the character is straight forward begins = 0 so create the main character otherwise if you go to character selection and choose a new character then that will be = 1 but both of them same problem.

    > >

    > > it was working fine but before i added animation and character selection.

    >

    > character = 0 is running every tick

    >

    > Every single event runs once per tick, regardless of if you put "Every Tick" in front of it

    >

    >

    >

    I deleted the 0 and 1 to test only one character but still it kept repeating

    That's because every event runs every tick as long as it's condition is met. If there is no condition, then it just runs every tick

  • its really weird every tick added only for the platform and other things but the character is straight forward begins = 0 so create the main character otherwise if you go to character selection and choose a new character then that will be = 1 but both of them same problem.

    it was working fine but before i added animation and character selection.

    character = 0 is running every tick

    Every single event runs once per tick, regardless of if you put "Every Tick" in front of it

  • You need to post your code so we know how to help you

  • dazedangels You can convert .ZIP files to .C3P by renaming them and changing the extension

  • blackhornet,

    Thank you for your reply - actually that's what's getting me in to trouble (:

    I'm trying to learn the whole grid movement / tile background thing - my player is now moving up and down - it's hilarious. The player is only supposed to move right and left.

    Want a good belly laugh? Here's where I am: youtu.be/yBLAyXO-ewQ

    I can't stop laughing. Where did I go wrong?

    https://drive.google.com/file/d/15K2aOkcPutqi1mmGooQc5Kgx0BdVIAhg/view?usp=sharing

    That's not what he meant by Tiled Background. He meant you should create the arm using a Tiled Background

  • You could use a Drawing Canvas for precision recoloring

    Paste the creature into the drawing canvas, then loop through each pixel. Detect the pixel color, draw over it with your desired pixel color

  • ,

    The problem is I need the tile movement to work when using drag and drop. I think disabling it would disable the problem I'm trying to solve.

    I'll try move to and tween, hopefully I'll get some love there.

    Thanks again.

    I'm not sure what the problem is. I think I accomplished what you wanted by simply snapping the mouse movement and disabling tile movement when dragging

    gofile.io/d/1DsMk3

  • Every 3 seconds > Spr1large.Y + 65

    ?

    Or if you want it to be smooth use the MoveTo or Tween behavior

  • Your equation is wrong

    To get angle-distance do CenterX + distance_from_center * cos(angle)