sqiddster's Forum Posts

  • I am sure this will be helpful for many.

    I want to make a laser, almost exactly like the one in the 'laser' version of Ghost Shooter. However the fundamental difference is that I want the laser to keep going until it hits the nearest object, not the mouse. There are currently 2 specific objects, might be more.

    Any help? also of note one of the objects exists all over the map in different sizes.

    Basically I need to find the distance in a straight line from one object to another at a specific angle.

  • Oh, great! thanks Ashley!

  • OK here is the example, using the object from the actual game (I can see that it's a bit wonky... I will get to that I guess)

    dl.dropbox.com/u/41931267/Example%20Sticky.capx

  • Oh shoot... sorry mate, of course I should have made a .capx but I forgot.

    Anyway, it's certainly not a logic error - there is only one line on the event sheet, and that is for the rotation. The rest is for the 8 direction behaviour.

    Also, I didn't have the time to set up a dropbox account, as I'm getting ready for school.

  • mediafire.com

  • Here is a quick example... drive it into the walls using the arrow keys and you see some very irritating stickiness. This also looks worse in a game where my vehicle is not square at all.

  • Yes this is certainly the problem, if i turn off the rotation it works like a charm.

    So, I need a fix to the corner of the collision box sticking into the wall.

  • I think I know the problem. The player rotates so the corner of the collision square is sticking into the walls... The wall is at the moment one simple rectangular sprite.

    Any way to fix this?

  • The character at the moment has 8-directional movement behavior and the walls have the solid behavior.

  • How would I make my walls let objects 'smoothly' interact with them - i.e. at the moment, whenever my character now makes contact with the wall, it 'sticks' to the wall and has to move directly away from it before it can do anything. I would rather the object 'slide' along the wall.

    My votes (in no particular order)

    • Families is a must
    • More precise collision checking is imperative... any game that does not use square or rectangle-based walls is unplayable, as far as I can see.

    As a note for 'eventually'

    • I think that the program would appeal to a much wider audience if you were to offer IOS and android exporters - perhaps integrating PhoneGap somehow (I have heard that it is open sourced, I could be wrong).
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry for being impatient, I look forward to seeing your .capx. Thanks for being such a help to the community!

  • Does anyone know a way to make an object move along a path?

  • Silly me. I was using the right click menu instead of the action. It works fine now.

  • I really need a way to Z-order all instances of an object.