farnsu's Recent Forum Activity

  • resolved

    Hi I'm having an issue with my instance variables for some reason they seem to be happening to all the sprite instances instead of one at a time.

    It happens on fire, and when they are destroyed. You can see it in the sample capx below. I want each sprite to die or fire on an individual bases, which I thought was the point of instance variables.

    Thank for any help

    drive.google.com/file/d/0B4FQlIOTI1g3dnRCQW96VE0wWEU/edit

    resolved

  • Cool, link man.

    I tested the camera on restart layout and it worked, I'm still having issues with restart layout but I'm pretty sure its not magicam, its my code.

    As far as new features for magicam, it would be cool if you could constrain the camera to a path for awhile for cut scenes.

    Thanks,

    Farnsu <img src="smileys/smiley1.gif" border="0" align="middle" />

  • linkman

    Edit" my bad i posted the wrong file, here is the proper file:

    docs.google.com/file/d/0B4FQlIOTI1g3aGdfU0Q5QU5fakU/edit

    From the file I sent if you die, by falling of the edge of the playable area, the layout restarts, but the magicam no longer follows the character when the layout restarts. That's the problem I'm having.

    Thanks

    Farnsu

  • Hello,

    I'm having an issue with the magicam. When the layout reloads (after dying)it will not go back to my character and follow him. But it works on the initial start of the layout.

    Here is a sample of the issue. (I'm probably missing some code or its a bug)

    edit: This file!

    docs.google.com/file/d/0B4FQlIOTI1g3aGdfU0Q5QU5fakU/edit

    Thanks

    fixing this will really help as Scroll to isn't flexible enough for me.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Im having trouble with this part:

    -> if angle > max angle

    Is this a 2nd condition after: -> set angle toward mouse x/y

    Do i need a variable to get the angle of the cannon?

    I cant find a condition that just retrieves the current angle?

  • Ok. im trying that now

  • Well, I thought of a way but its really stupid make the cannon invisible when it reaches a certain angle and then spawn a static one in its place, but its lame I was hoping 2 do it the math way

  • Hey, I have a cannon like object with "set angle toward (mouse.x,mouse.y)

    on every tick. (thats the entire capx)

    I need this cannon to stop rotating and remain fixed if the mouse causes the angle to be above say 260 or below 45.

    Also it will need need to work when the cannon faces the other direction.

    I just dont want it to shoot more or less strait up and down

    Thanks and I'm new<img src="smileys/smiley3.gif" border="0" align="middle" />

    P.s. I tried turret range behavior but that is for detecting targets

farnsu's avatar

farnsu

Member since 11 May, 2013

None one is following farnsu yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies