cantek's Recent Forum Activity

  • OK,

    I did it.

    The motion and so on are useless if you do not know what is the angle exactly. So I calculated the angle of the current Sprite and used it to set the motion angle of the bullet.

    set motion angle -> black2.AnimationFrame * 22.5

    This solved the problem, ofcourse if you are starting from the 0 and if your gun is looking to 0 degrees.

    Cheers

  • I attached the code I have and the screenshot of what is happening. Maybe it can explain better.

  • Lets say, there ıs the rocket launcher, whıch ıs stupıd and just turning around, I want it to fire on the side, direction that it looks at that moment.

    I am not sure what to understand from your suggestion. I already tried to set the angle of the bullet as launcher.angel , It did not work. Bullet always goes to same direction no matter the direction of the launcher.

    Cheers

  • Hello guys,

    I am trying to set a straight shooter object which is spinning on its own center. It is a sprite set.

    I set the shoot point on the head site of the object and set it for each sprite image.

    It is shooting but always on the same angle and to the same direction. But I want it to shoot straight ahead from the head to 0 degrees.

    My object rotates by 30 degrees. I set the timer per 4 seconds to shoot. So Icould not find a solution for my problem.

    If anyone can help me out it is highly appretiated.

    Cheers

    Cantek

  • R0J0hound Yes indeed.I hope there will be a debugger which is closer to a real debugger in next release. It is indeed a really important feature to have. I am searching some guidelines to create plugins for C2. Maybe there can be a way to create a plugin for that.

  • Sargas ?

  • fassFlash -> Since I develop softwares for more than 10 years in any language, I bet I know what I ment better than you!

    Debugging the event sheet means I want to set BREAK POINTS AT CERTAIN EVENTS ! Which are in EVENT SHEET.

    I want to walk thgough those events step by step if it is possible.

    Ashley Thank you for your reply. I think I have the latest release. I will look for that button or will update to the new version.

    Best

  • Hi Friends,

    I searched for this in the forums but I couldnt find anything useful. Can someone please tell me How Can I debug my eventsheet?

    Thank you

    Best

  • Is it possible to make a layer Global ? There are levels in the game and every level is a different layout but using same eventsheet. I think it is still the only solution to use a layout and set the position of the player.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I will use the way you suggested.

    Thank you

  • Hi friends,

    I created a settings layout to deal with sound settings. When ever I click on settings button Settings layout opens and then when ever I click on keep playing button it goes back to the currentlayout that I set as currentlayout global value.

    the problem is -> My Player object is somewhat reseted.

    I couldnt understand the problem. If I set persistent as a behaviour it causes some other problems. If I dont set it then this happens. How Can I Oepn a layout without resetting anything on any other layout and How Can I go back to the previous layout without changing anything on that layout?

    Any help is appretiated. Thank You.

  • Oh Ok , I figured it out. It is about the persist behaviour.

cantek's avatar

cantek

Member since 28 May, 2013

None one is following cantek yet!

Connect with cantek

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies