PixelRebirth's Recent Forum Activity

  • Basically you use a variable to define whether the CapturePoint has been scored yet and such...

    But yeah, like others also mentioned you could simply fix it by using For each.

  • As long as a single member of the CapturePoints family has a CaptureTimer value of <= -5 (or >= 5) the condition holds true, therefore it's completely correct how it behaves with trigger once.

    Try setting the CapturePoints sprite inactive or resetting it after scoring, maybe using an additional value.

    Or using For Each might also do the trick.

  • But yeah as far as the Kickstarter goes - it was a private back vote. Majority won. In fact no one said no. The only request was to have an alternate unlockable mode to have the original 8-bit graphics. Which we will have :)

    Okay, please kindly disregard my criticism then! <img src="smileys/smiley9.gif" border="0" align="middle" />

    Played the latest demo and it's definitely a cool new look. Seems like some old obscure arcade game now, hehe. Looking forward to the finished game!

  • Just wanted to thank skyhunter93, bilgekaan, and Pixelrebirth (and anyone else who helped) for giving away their plugins and helping us with this, so, thanks!.

    You're welcome! <img src="smileys/smiley1.gif" border="0" align="middle" />

    Btw it seems Spilgames updated the HTML5 API test tool. Requesting an ad now properly triggers fnPause as well as fnResume. Nice!

    It seems you can't test games with HTTPS urls anymore though, which means you cannot use dropbox. <img src="smileys/smiley19.gif" border="0" align="middle" />

  • Is the jerky scrolling intentional? Maybe the original behaves also this way, didn't care to check.

    But I did check your events and saw that you did Every x seconds -> sprite.X + N

    That's very bad practice, unless you really want this kind of not smooth movement. You should use delta time for moving an object constantly.

    Every tick -> sprite.X + N * dt

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is a quick adaption of the previous example to the bullet behavior: Download

  • Yes well, with the Bullet behavior you can work with the "Speed" and "AngleOfMotion"-expressions.

    If the speed is over 0 the sprite is obviously moving and the angles of motion would be 0 for right and 180 for left.

    You might be doing something more complicated, in which case a code snippet would indeed help like blackhornet mentioned.

  • Movement behaviors do often have an "Is moving"-condition and also expressions that return the X and Y vectors.

    Here is a very simple example that should be similar to what you had in mind:

    Download

  • I believe you can name parameters with rexrainbow's function plugin.

  • by the way in your new plugin i found only 2 expresions.

    BrandingImage and BrandingLink but as they are no action i cannot asign anything to them .. or how could I?

    besides, how can i set where i want it?

    These expressions return the image url and link address after you have used the "Get logo"-action.

    You can load the image to a sprite with the "Load image from URL"-action. Put the BrandingImage expression there. Because of the Same-origin policy this will not actually work before the game is on Spilgames' server.

    And use the BrandingLink expression to link to the address on click/touch (needs the browser object).

    Ok i managed to get working perfectly fine the part In-Game Ads

    as i am testing it in the "Game API Test Tool"

    the other 2 API Loaded and Branding is not working.

    I set the Api the main menu... just 1 time for sure (i have something that shows me)..

    also the getlogo but, is not showing in there....so, is not working or the tester does not work?

    Yes, I have been discussing this with Raganork before per email. It seems the test tool isn't recognizing the API being loaded. But of course it is loaded, otherwise the ad request wouldn't work. Try removing the "Load API"-action and request an ad - it won't work.

    Raganork has been suggesting that API loaded lights up green if you include the script like described in the documentation from their url. Since you cannot define remote dependencies in plugins this uses a local copy of the script.

    However skyhunter93 also used a local script and his implementation got still accepted. You can of course try to remove the script tag adding spilgames.js in the index.html file and add the script from the documentation instead.

  • Just delete the folder of the old plugin (found in \exporters\html5\plugins\)and then simply drag the c2addon-file into an open Construct 2 window.

    The old link has been updated, here is it again: Download

  • Thanks a lot Not still working but managed to do the LoadApi...

    even so i did not found the "branding Logo" option about GetLogo

    nor in actions...or conditions or expresion..

    all i got as expressions were..

    Count, IID, MyExpresion, PickedCount and UID

    so really not sure how to set the GetLogo, may be i just have an old version. can you confirm the version or check if you manage to see the GetLogo?

    or you just have to set GetLogo inside the as message in the load the spilGames API text?

    I updated the plugin already once. The earlier version didn't have the "Get logo"-action and the expressions yet. Please download the plugin again. The current version has the .c2addon file extension (previous one was just zip).

    EDIT: Please download the plugin yet again. I updated it to fix problems with minification and the "Get logo"-action. Current version is 0.91.

PixelRebirth's avatar

PixelRebirth

Member since 26 Mar, 2008

Twitter
PixelRebirth has 1 followers

Trophy Case

  • 16-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

23/44
How to earn trophies