jobel's Recent Forum Activity

  • well your player needs a few instance variables.

    player.currentclip

    player.clips

    IF press fire button AND player.currentclip > 0 THEN 
    
              //shoot
              spawn bullet
              play.audio("gunshot.ogg")
              subtract 1 from player.currentclip
    
              //check clip is empty
              IF player.currentclip <= 0 AND player.clips > 0 THEN
                   
                   //reload
                   set player.currentclip to MaxClipSize  //whatever the size your clip is
                   subtract 1 from player.clips
    
               END
    
    ELSE
                   
                   //gun is empty
                   play.audio("click.ogg")
    
    END[/code:30xcwrya]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • yes Browser close is what works.

    also fullscreen is Browser: Request Fullscreen

  • no need to replace, just change the frame number.

    sprite1: frame 1: empty, frame 2: shorts, frame 3: jeans, frame 4: dress pants

    sprite2: frame 1: empty, frame 2:tee shirt, frame 3: hoodie, frame 4: dress shirt

    just make sure your sprite's animation speed is set to 0, otherwise it will play like an animation.

    if they remove the clothing item, change to frame 0 (which is nothing)

  • best to include a capx.. it's hard to understand what you are trying to accomplish

    what behaviors are you using so far? physics?

  • make one sprite for pants. and make a new frame for each pair of pants. set the animation speed to 0. Do not use it as an 'animation'

    then when you need to change pants and do so by selecting the correct frame in the sprite.

    then do the same for shirts etc..

  • just set acceleration to something very high..depending on what your max speed is, you might even try up to 10,000

  • See here: https://shatter-box.com/knowledgebase/p ... tunes-ios/

    haha... that's crazy! man, the iOS folks do not make it easy!

  • jobel

    You also can add your certificate to cocoonio. Then the cloud compiler signs and aligns your file automatically.

    See this link, please.

    https://shatter-box.com/knowledgebase/c ... rtificates

    It makes it a way better <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    Good luck to your games!

    Regards

    Andy

    thanks! what about building for iOS.. does shatterbox help with that? I don't know much about deploying to iOS except that you need provision files? and a paid developer account?

  • cool!

    but you may want to think about changing the control scheme for that game.. it's very strange! I can't quite figure it's out and not very intuitive!

  • Not directly related to the ads. Its just to sign the apk so places like google play will accept it, once its signed it should work on your device

    You can download the apk signer here:

    https://shatter-box.com/knowledgebase/a ... pk-signer/

    awesome thanks!

  • well I think tiled assets is good to go over, tilemaps and repeating backgrounds. Also if you do anything with blend modes that would be super helpful as it relates to gamedev to achieve certain "effects". My students are all art students learning about gamedev. thanks!

  • the tool mentioned on the cocooon site. The apk then works fine once it is signed and aligned.

    The tool is easy to use (as long as you follow the how to doc) and you only have to set up your key-store once and you can use the same key store file for all your android games going forward.

    is that ShatterBox? and is it at all related to AdMob or Appodeal? I haven't looked into the ad stuff yet, still in testing mode.

    awesome thanks for the clarification! I thought it was strange there wasn't a 'signed' apk version. I assumed the unsigned one would work before you got the key. no matter..

jobel's avatar

jobel

Member since 27 Jul, 2013

Twitter
jobel has 8 followers

Connect with jobel

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
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies