matt75's Forum Posts

  • thanks :)

    was hoping to avoid doing things like that.. but i guess it will just have to be.. seems strange that its not already there.. but then, i guess they have a big todo list..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I did hunt for this.. does such a method exist?..

    basically, i have turrets and want to store the string or some ref value that represents the type of bullet it will spawn..

    I could then have something like Turret.Spawn(Turret.BulletType)

    thanks :)

  • well, if it useful to you, your welcome to it ;)

  • Pin is a behaviour - add this to your player.

    Rotate is another behaviour - create another sprite (acting as an origin) + add this behaviour.

    in your event sheet add an event - System->on start of layout..

    as the action for that event - pin player to origin sprite..

    run it, and your player is now rotating with the origin sprite, as the origin sprite rotates..

  • anybody? :/

  • pin your player to an object - the object can be rotated, and the player will now rotate around that object - its a simple solution, might not be perfect ;)

  • created this a little while back.. was going to sell a pack of backgrounds.. but i have decided to share this with the community.. enjoy ;)

    <img src="http://binarybedlam.com/dump/bg000.png" border="0" />

  • Can create a condition that compares badguy.health <= 0 this will select only those badguys that need to be destroyed.. then you can spawn a death_anim sprite at its position + destroy the badguy as actions..

    might not be optimal - but you could use the family filtering above

    "badguy.health <=0" destroy badguy

    then for each specific badguy type in the family.. create onDestroyed

    conditions..

    "super_evil on destroyed" spawn super_evil_death_sprite

    any help?

  • Im trying to limit the rotation of the turret to a given arc, say +- 60 degrees (set with an instance var). Additionally, the turret is pinned to another object that can also move and rotate freely. Im still not comfortable with C2, so any help would be greatly appreciated :)

  • oh well.. thanks :)

  • but gamepad.axis(which game pad, which axis) - its in the plugin docs..

    probably not very useful

    where is the angle function?

  • Is it possible to add object instances to a container on the fly.. maybe im missing something, but i cant see how this is done :/

  • thanks guys :) - not much, but hopefully it will be useful to someone :)

  • fixed! :)

  • here are some old pixel images.. feel free to use them in your projects

    and tests.. enjoy! ;)

    sorry ftp upload got trashed first time around.. you should see the images now :)

    <img src="http://www.binarybedlam.com/dump/00.png" border="0" />

    <img src="http://www.binarybedlam.com/dump/01.png" border="0" />

    <img src="http://www.binarybedlam.com/dump/02.png" border="0" />