justifun's Recent Forum Activity

  • Simply add another condition to your spawning code that says

    Compare 2 values -> Enemies.count < 20

    Thus it will only spawn enemies if the total amount of enemies active are less than 20.

  • Simply place them all next to each other like this. (assuming you have 6 pieces)

    on layout start

    part 1 - set position 0,0

    part 2 - set position part1.width, 0

    part 3 - set position part2.width, 0

    part 4 - set position 0 , 0-part4.height

    part 5 - set position part4.width, 0-part2.height

    part 6 - set position part5.width, 0-part3.height

    this puts them in a 2x3 grid

    im sure there's a fancier way to do it with an array, but im not as good that those.

  • Try getting rid of the "else" event

  • It might be easiest to have 2 text boxes surrounding a sprite for the bar.

    then you can account for any fraction question.

  • nutmix - in which area of the .html file do you add the window.scrollTo(1,0) part?

  • Another update: I came across an app on the google play store called "Sound About". If you install that, you can specify which apps use which speakers etc. fixes the problem for the time being until the browser situation sorts its self out.

    In the settings for it, set the "SoundAbout Service" to "ON-Foreground" mode. Then set the media audio to "speaker" and voila!

    The app has a free trial version, and its $3 USD if you want to buy it.

  • Updates: Crosswalk exported apps experience the same issue, HOWEVER, using firefox mobile seems to work properly. The audio comes out of the phones speaker. Every other browser i've tried has the audio coming out of the earpiece.

  • IntelRobert

    yongsheng

    For some reason audio from android crosswalk exported apps are playing sounds/music out of my phones earpiece instead of the speaker.

    I've noticed this occurring with every browser for testing C2 games while previewing over LAN (EXCEPT for firefox mobile).

    Is there a setting somewhere, where I can specify which speaker to use for crosswalk exported apps?

    Thanks

    Testing devices

    Nexus 5 (4.2.2)

    XDK New Crosswalk export

    Dolphin Browser

    Google Chrome Browser

    Mozilla Firefox Browser

    Opera Browser

  • Can physics be applied to a player controlled object? If so you might need to also disable control on the player while they are bouncing or you might get strange effects.

    If you cant add physics to a player object, then simply swap out a single sprite copy of the player for the physics bouncing part, then swap back in the player controlled version of the sprite after he stops moving.

  • If you go ahead with the method using the bullet behavior, you would simply have to stop the object once it collides with another house

    so. each house would have a bullet behavior facing 180

    house on collision with house -> set bullet speed to 0

    as each house touches the one before it, it will stop sliding in.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have you guys tried Ouya builds yet via crosswalk exports?

  • The most important method that everyone over looks is simply making a good game. Everyone is in a rush to add ads, get it into an app store and rake in all that cash. But 99% of the games being made are garbage. Focus on making an enjoyable game. Then worry about making money on it.

    Make something people will want to pay money for first.

justifun's avatar

justifun

Early Adopter

Member since 9 Oct, 2012

Twitter
justifun has 3 followers

Trophy Case

  • 11-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
  • Email Verified

Progress

18/44
How to earn trophies