justifun's Recent Forum Activity

  • Sounds like you might be spawning them "every tick" by accident

    add the condition "triggers once while true" to your event that creates the coins to limit it to creating one at a time.

    Can't look at the capx right now.

  • One easy way to separate movements so that players don't interrupt them is to use some variables.

    eg: in air (0 or 1)

    on ground (0 or 1)

    currentanimation (0, 1, 2, 3)

    etc

    Then add additional conditions to each type of button press so that they only occur when your player is in the correct state.

    eg:

    Lets use an air attack as an example, you probably have a different animation for air attacks.

    pseudo code:

    on keyboard press "jump button" set "in air" variable to "1"

    on keyboard press attack (add a second condition of "In air variable is equal to 1"

    play air attack animation

    else play ground attack animation

    that way it will only play the air attack animation if the player is in the air.

    hopefully that made sense lol.

  • Would you technically need to re-frame each frame of the animation so that his jump stays in one place instead of moving forwards....then create that forward movement though construct by moving the physical sprite?

    eg: play animation "kick" and move sprite forwards 120 pixels over 1 second?

  • You won't have to worry about the size of each sprite.

    You can also gain more control over hit boxes and collisions if you ignore using the default collision boxes and use invisible sprites as hitboxes/collision instead. This way you can enable/disable them at different points throughout your sprites animation. With the default one assigned to your sprite its always on.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • You do not have permission to view this post

  • I forget if you need to add a / character before the % or you need to double quotation it ""%""

    You got the & correct.

    "text1" & "text2"

  • There's a few different ways, but one of the easiest ones for me to wrap my head around is this.

    Sprite (on collision with object) -> find nearest (text)

    then in a sub event

    text -> destroy

    The trick is making the text/destroy action a sub event of the previous event that "picks" or selects the nearest text (this narrows it down to only the closest one that gets destroyed instead of all of them.)

  • There seems to be a bug if you keep clicking back and forth between "pin only distance" and "pin only angle" it gets all screwy.

  • Another fantastic software package for creating particle effects is this

    wondertouch.com/pillusion3.asp

  • I recently found a way to boost performance on the android platform for html 5 based games. There's an alternative browser you can installed called "Dolphin". Its been around for a long time, but has never been as popular as firefox or chrome. They have an addon for it (also in the market) called "Dolphin Jetpack" Which is designed for accelerating HTML5 apps. When you load up a game it asks you if you want to enable "game mode". On my kindle fire, i was getting less than 10 fps on lots of different games, but now i can get over 40 fps on the same game using this method.

    The only thing i noticed is that some games didn't work with sound on the kindle fire using this method. Please report back which device you've tried this on and if sound works correctly.

    Here are the links to the apps in the appbrain store

    Dolphin Browser

    appbrain.com/app/dolphin-browser/mobi.mgeek.TunnyBrowser

    Dolphin Jetpack

    appbrain.com/app/dolphin-jetpack/com.dolphin.browser.engine

  • Here is a promissing results. I ran the benchmarks on my kindle fire 1st gen with the dolphin browser. And the dolphin jetpack add ons. It enhances html5 games. I got around 35 fps and a score of 36. Much better than the default browser.

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