boomerfreak1's Forum Posts

  • eleanorjmorel I don't know your background in game developement but, I have over 10 years of experience working with Construct as well as Unity, Garage Games, Godot, XNA and programming games in Java, C++ and C#.

    Your examples are not relevant in this situation. For Honor is a full 3D game as well as Unities pill shaped colliders. If this sprite was a composite object made up of multiple sprites, then this could be a little more approriate to the situation.

    Your Celeste example actually shows a reason the separate collision object is a bad idea. If you define a hazard but your collsion bounds allow you to touch that hazard without being affected, that is a bad thing. I am not the developer of Celeste so I don't know what all decisison they made leading up to that situation so I can't really judge it.

    What I can say is, using a separate sprite for collisions instead of Constructs built in collsion bounds SHOULD NOT be passed around as the "best practice" for every situation. It adds another object that takes up memory. It creates a generic collision size/shape for objects when the developer may want something more specific. It adds complexity which is harder to upkeep (especially if the project winds up being handed off to another developer).

    Finally, I am not saying it is wrong to do. Just that pushing it as the end all be all for every situation is wrong. In this particular situation, I would not use a separate collision object. Your example of using the single object for multiple object types that have the same behaviors is one of the "specific situations" I referenced (however, this can be done using families without causing these other problems). As is composite objects. This will be my last responce in this post about this subject. boomerfreak1, hopefully you have enough information about this to make your own decision about which method is the best one for your project.

    I'm taking your word over his. I don't think its correct to wrap sprites in things that aren't the correct shape in this instance at all. If it was unity it would be a separate issue which I've programmed in. For a precision platformer it doesn't make sense to have the wrong shape. Super Meat Boy is a great example of how they made the character square just so they wouldn't have to change the shapes, Other platformers like yooka laylee and such use collisions that wrap to the object or sprite correctly anyways. Thank you man. Your advice was helpful. I'll add juice in other ways and not have incorrect collisions.

  • Incorrect how ?

    If you fired a bullet at a sprite that isn't a square but has a random square shaped collider the bullet would not collide with the correct collision point on the sprite

  • Hey a good trick and best practice is to use a different sprite object for controlling your collision and movement (usually a simple rectangle that never changes), and pinning your visual representation of the character to it

    also make sure that when you get a sprite commission to ask for the character to always be centered, so you don'T need to edit image points or things like that when you import files

    Wouldn't your collision box be incorrect though if the character isn't perfectly rectangular?

  • Never mind, just took redoing all origin points because apparently there were some saving issues.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've moved all the collision bounds to the ground and the effect is still happening. I hate to keep bothering you with this, but any ideas? I've even made it so two points are on the ground while it sits there and it still seems to be ocurring.

  • Here, try

    https://mega.nz/file/x1wlmQiR#78uKp5BSovMpvDdXahF6IDm0x8t9EdSupgWurYh9G5s

    You're AMAZING, thank you!!!

  • As the title says, something really weird is going on with my character. All my character controls seem perfectly fine.

    Here is a link to my file: If someone could help me fix the problem or do it themselves. I'm willing to venmo or paypal a small fee for helping me with this. I've been stuck for HOURS now and have no idea what is going on.

    drive.google.com/file/d/1BFioyRM_NoVW9cUagCJHeAEEBellXNqQ/view

    Tagged:

  • Not sure why but my character is teleporting left and right. Checked the origin points and everything. After running for a bit the character begins twitching ridiculously back and forth.

    Help? No idea what happened or if it was a construct update that hindered the animations here.

    Any help is EXTREMELY appreciated.

    drive.google.com/file/d/1BFioyRM_NoVW9cUagCJHeAEEBellXNqQ/view

  • Thank you for the help btw. I took a few weeks off to commission and get this pixel art made and now I'm all out of practice and wondering why my guy doesn't even animate running lol.

  • This fixed it, but now there's a wonky animation ocurring when my character moves left to right. Do you know what that might be? I'm trying to figure it out.

    Is it the animation getting mixed up? i changed it to animate from the current frame instead of from the beginning just in case.

  • I click to run the game, the player sets down and then is teleported below the level.

    Can anyone help? I'm trying to insert new animations from a pixel artist I commissioned and this started happening.

    drive.google.com/file/d/1BFioyRM_NoVW9cUagCJHeAEEBellXNqQ/view Here is my google drive for the file. I'd really appreciate any help because I'd really like to not start over on my hobby project.

  • So I just found out purely by accident that all of the enemies are moving when the arrow keys are hit.

    How do you disable the arrow keys for the enemies so this doesnt happen?

    Will this affect the WASD movement I have installed on the player?

    drive.google.com/file/d/1BFioyRM_NoVW9cUagCJHeAEEBellXNqQ/view

  • And if you've created the family and it works. Is there any chance you'd be able to send me the file? I haven't worked with families before and would like to see what you did.

  • Thank you! Also quick note. I just found that pressing the arrow keys makes the slime jump or move. Do you know how to disable this? I have my player movement set to WASD.

  • For whatever reason I am cloning my "slime" and it doesn't seem to be retaining the same LOS and other behaviors as the original. Whats the best way to keep these going throughout so I can reuse enemies?

    I am trying out "family" but don't completely understand it and not sure if I'm doing it correctly.

    Can anyone refer me to a straightforward tutorial to fix this? Or be able to point out what I'm doing wrong?

    File link below.

    drive.google.com/file/d/1BFioyRM_NoVW9cUagCJHeAEEBellXNqQ/view