AndreasR's Forum Posts

  • You'll need to do this manually. One simple idea is to use a loop like:

    Number index=-1

    Repeat tokencount(text, ",") times

    Tokenat(text, loopindex, ",") = "fish"

    --- stop loop

    --- set index to loopindex

    Thank you R0J0hound

    I'll try that!

  • Hi!

    I'll test your mobile games on my devices and give feedback

    So if you have any games for testing, just let me know here.

    In return, I want you to do the same for my games

    My Devices

    Android

    • Samsung Galaxy S4
    • Nexus 7 Tablet
    • Nexus 9 Tablet

    iOS

    • IPhone 5S
    • IPad Air 2

    Thank you!

    Regards

    Andy

  • Hi!

    I want to use this expression in reverse.

    tokenat(src, index, separator)[/code:njljj61c]
    
    My string is "text1,text2,text3".
    Now I want to get the index of "text2". Is there a way to do this with an expression?
    Or do I need to make a function on my own for this?`
    
    Thank you!
    
    Regards
    Andy
  • Do not use Text objects in Canvas+!

    This will cause extremely high cpu usage.

    https://forums.cocoon.io/t/causes-for-h ... reitberger

    Just replace all text objects with "SpriteFont+", the default SpriteFont plugin has offsets between each chars and looks odd..

    plugin-spritefont_t91528

    Regards

    Andy

  • indie forums, admob, facebook ads, social media mainly...

    I already have checked facebook, but the minimum budget for one day is 40€. Twitter Ads allows an individual budget.

    Maybe I'll try that

    Thank you!

  • Bloody Skies - iOS & Android — Now for sale in the Scirra Store!

    https://www.scirra.com/store/games-with-source/bloody-skies-ios-android-2526

    <h3>Description</h3><div class="deshr"></div><p>Bloody Skies is a simple but addictive game board shooter game. Check out the demos below!</p><h3>IMPORTANT</h3><div class="deshr"></div><p>This game needs following plugins from the Cordova Plugin Package</p>

    • Cordova Dialog
    • Cordova Analytics

    <p>Construct2 Cordova Plugins</p><h3>Features</h3><div class="deshr"></div>

    • Ready for iOS and Android (using CocoonIO)
    • Monetized with AdMob (Banner and Interstitial)
    • Remove Ad InApp Purchase
    • Google Play Games and Game Center
    • Localised in english & german (other languages can be added)
    • Well commented

    <h3>Used Templates</h3><div class="deshr"></div><p>This game is using following templates</p>

    <h3>Redesign</h3><div class="deshr"></div><p>You can easily redesign the game and publish it to android and ios effortlessly. You also can use it the way it is.</p>

    Use this topic to leave comments, ask questions and talk about Bloody Skies - iOS & Android

  • Hi!

    I was wondering what's the best way to advertise mobile games?

    I'm completely new in that and therefor I have no experiences with it.

    All feedback is appreciated!

  • Update to v 1.3.3 on iOS and Android!

    ★ v1.3.3 - RC ★

    1) New UI Design

    2) Shop updated

    3) Minor bug fixes

    Full changelog will be shown in the game.

  • Or break the loop. Or skip conditional actions by making the conditions not true. It will return.

    A 'while" would be a better choice for the loop, btw.

    Local var check = 0

    Local variable i (if a counter is needed)

    While

    check = 0

    evaluate and do stuf

    break condition > set check = 1

    add 1 to i (if needed)

    Yes that's what I've done to avoid it. But I thought there is a better solution for that

    Thank you!

  • There is no use for breaking a function. It always returns to its call.

    A loop you can break with System > (General) Stop Loop. Keep in mind that all actions and events after the 'stop loop' will continue to run, the 'stop loop' just prevents the loop from running again from its top-event.

    I know that a fucntion always returns to its call position, but I want to return earlier if a certain point has been reached in the function.

    It's hard to explain, but I have a function creating a path randomly. Sometime it reaches the edge before the function has been completed, so I want to return then to the caller, so that the rest of the function will not be executed.

  • Hi!

    I have a function in my game and I was wondering if there is an action to break it if a certain condition is true. So that the rest of the function will ned be executed? Here is a little example in C++.

    void function()
    {
    	if (i == 5)
    	{
    		cout << "I was equal to 5";
    		return;
    	}
    
    	cout << "I was unequal to 5";
    
    }[/code:57b7tl5w]
    
    Thank you!
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I also got notifactions by cusomters saying that the Cordova Game Plugin doesn't work anymore. It cannot open the leaderboard (on Android). Also my working demo stopt working, so something must have changed.

    I switched to CocoonIO, and all my apps went through the review by apple.

    cranberrygame

    Do you know anything about the issue with the Leaderboard (Cordova Game)? I just can't get it work anymore. Also the game doesn't need any permissions with Google Play Games installed..

    Thank you!

  • I finally did also one game. It is for Android so I will be glad to be added to list. See the info below and link on google (there is also trailer).

    https://play.google.com/store/apps/deta ... ter.mobiga

    PONG MASTER

    Do you remember those old-fashioned “pong“ type of games? So now imagine it in circle with unique design, challenging game-play and with lots of content! How much Score can you make?

    You have to keep the ball bouncing in the circle by moving your paddle and trying to hit all spawning points. It seems quite simple but imagine that there are many types of paddles, balls and points, each of them having their own unique behavior that influence the whole game-play. There is also a Score Multiplier that is rising during the time so the longer you survive, the larger your Score Multiplier will be. You can hit points in a row to make combos like Double Hit, Multi Hit etc. and with these combos your multiplier rises faster!

    Earn points as much as you can to rise your Total Score and you will be continuously unlocking new types of paddles, their tiers, balls and points.

    FEATURES:

    - Addictive game-play

    - Simple and challenging

    - 15 types of Paddles and 4 tiers for each of them

    - 12 types of Balls

    - 5 types of Points with different behavior

    - Combos and Score Multiplier system

    - Sound, Music and even Voice-over!

    - Online Leaderboard to compete with other players

    - More than 40 Achievements

    Start like a rookie, improve yourself to be a pro and then maybe you will become a true Pong Master!!!

    Awesome to see your game here <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    I just have added it to the list <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> Good luck with downloads!

  • >

    >

    > No, this plugin was made by Cranberrygame and is available here:

    > https://www.scirra.com/store/construct2 ... ugins-1662

    >

    > This package is worth each pound it costs.

    >

    > Thank you!

    >

    So, it mean I must have the chartboost plugin first or I can't open this template?

    Exactly <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • >

    > >

    > > You will update this template when cocoon support admob rewarded interstitial? that will be very nice <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    > >

    >

    > I consider it yes <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    >

    How about the Chartboost plugin? did you include it to this template?

    No, this plugin was made by Cranberrygame and is available here:

    https://www.scirra.com/store/construct2 ... ugins-1662

    This package is worth each pound it costs.

    Thank you!