komalrajsingh's Forum Posts

  • .

  • I face the same problem with angleToAimAt. That's why I tried sprCannon's angle. The funny thing is even if the sprCannon is facing the right direction the momo will not act as if sprCannon's angle is 0. So, I thought It was problem with bullet behaviour.

    For no reason other than I felt like it, would it be different if I spawned it?

  • No..no.. I don't want the sprite to point to the mouse. I want the sprite to rotate to the angle between previous mouse_X/Y and current mouse. I thought this was problem with bullet behavior or something. It works most of the time but some time it doesn't take the angle into account.

  • I forgot mouse_x and mouse_y are the coordinates of the mouse when the users presses the left click after that he drags the mouse and i'm getting the angle between that and current position of the mouse.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When I left click, the momo is suppose to fire from the cannon with a given speed and cannon's angle but sometime it doesn't. I've uploaded the code that i've used.

  • Thanks, it worked.

  • I have many instances of a single enemy running at a given time. When the player is firing at the player I play "FiringAt.ogg" but I want to stop the sound from playing when an enemy isn't firing.

    I can't use "stop sound from playing" because it'll stop all the firing sounds, so the enemy which was firing before and then went back will stop the other enemy's firing sound which is firing at the player right now.

    Is there any solution for this problem?

  • Sheepy: Sorry, for replying so late. I think you do it easily. The diablo type collision. You just have to change the collision shape to what you want. If you still can't do it, let me know.

    Btw, I love you pixel avatar.

  • <img src="http://upload.wikimedia.org/wikipedia/commons/4/41/Graphical_projection_comparison.png" border="0" />

    Bottom most right, i'm sorry it's an oblique projection. I didn't remember the term so I called it isometric as the engine can be used for isometric game aswell. If I offended you in anyway, I'm really sorry.

    KaMiZoTo: First, I love your game CoinOp story. I've been playing it at work and i'm loving it. I myself plan to make a game as polished as yours and you're welcome. :)

    Sheepy: You're welcome.. :)

    danialgoodwin: No problem, that's what community is for. For sharing and helping each other out.

    lennaert: thanks.. :)

    Joannesalfa: Thanks.

    I hope this engine grows beyond what I've done. As, i'm not the best programmer, even with drag and drop. Hope people take this as a stepping stone and make their own engine and then share it.

  • It is isometric, it's isometric top-down view and thanks.. :)

  • This is a isometric engine I've been working on. I'm gonna post the progress on the engine here. Maybe someone will find a better way to do what I did or find a completely new way to do what I did or even better, add new features. and thanks to AllanR for helping me out with the height problem I had.

    IsoEngine

    Press space to jump.

  • I've added shadow to the engine. Though the shadow won't go below 20 so that it'd easy to find the player's position on the ground.

  • So, i'm gonna post the progress on the engine here. Maybe someone will find a better way to do what I did or find a completely new way to do what I did or even better, add new features.

    IsoEngine

  • AllanR, many many thanks for your help. I didn't know it was just that simple and also for looking into the code.

  • I can't seem to add hyperlink to my above post.

    IsoEngine