justifun's Recent Forum Activity

  • bombermine.com

  • bump

  • Use "on mouse clicked" UI element sprite

    and then right click it and choose "invert"

    now your actions will only occur if you don't click a UI element

  • Pledged! Keep up the great work!

  • Are they both identical objects directly over one another? or are they overlapping each other just a bit?

  • You can get away with containers if you simply hide the head, then destroy it along with the body when the rest of the body is killed.

  • There's a few different ways to accomplish this.

    Setting up the heart containers.

    One next trick is to create your heart sprite in a tiled background object instead of as a normal sprite. Then you set the width to X times the width of the heart times the number of lives the player has.

    eg: if the heart is 64 pixels wide. Each time you increase the width of the tiled background heart container by 64 pixels, another heart will appear or disappear. (make sure you set the origin point of the object to the left or top left of the sprite so that it will scale properly.

    Subtracting the lives

    Create a global variable called "Lives" and give it an initial value of 3 lets say.

    Event 1

    On start of layout -> Set width of HeartContainer to Lives * 64 (or whatever width your heart is)

    Event2

    (Player) Is outside of layout

    AND

    (system)Trigger once while true

    -> subtract from "Lives" 1

    -> Set width of HeartContainer to Lives * 64 (or whatever width your heart is)

    Event 3

    (system) Lives = 0 -> goto layout "Game Over"

    Voila!

  • Hi Ashley

    gameclosure.com/blog

    Gameclosure is a HTML5 SDK but also wrapper for HTML5 that's i've had my eye on for a while in beta, but its officially open source now, for free AND commercial products.

    From their tech demos they are able to get really great frame rates. I wonder if it might be able to work with exporting from construct? into a format that can be compiled in their SDK?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • mrspeaker.net/2013/02/14/live-editing-for-game-development

    Dunno if this works for games created in Construct, but i thought i'd post it just in case someone smarter can figure it out.

  • I can't look at the capx right now, but the basic premis is to simply do this.

    Add a variable that becomes active every time the player presses the attack button

    on keyboard pressed "A"

    ->set "attacking" to 1

    ->play animation "attack"

    then in the section that has all of your movement stuff.

    add a condition that only allows the player to move if "attacking" is set to 0

    on keyboard pressed "right arrow"

    AND

    (system) attacking = 0

    -> move player right.

    this way it will only work while not attacking.

  • Check out what I did to create a fake 3D box in this thread

    scirra.com/forum/topic62057.html

  • Here are all of the tutorials

    scirra.com/tutorials

    Here are examples for similar questions

    scirra.com/forum/topic45416.html

    yes it is possible

    You will need to purchase a personal license ($119 USD) if you want to sell your game, (plus any fee's for using the app stores eg: $100 for apple store developer license)

justifun's avatar

justifun

Early Adopter

Member since 9 Oct, 2012

Twitter
justifun has 4 followers

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies