Allardje's Recent Forum Activity

  • Ashley Once i am done with my project i will take a look if i can set-up a Dutch community. I am originally a web designer after all..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Heya, Well old topics are mostly the most useful once after re-opening it since everybody moved on and had a solution somehow <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    For me i just started focusing on In-App purchases.

    As far as advertising i simply use Admobs for some backup revenue but those cents really aren't cutting it.

    My new application will be included with a one-time payment of $2 to remove ads and get some extra's in game.

    Never really looked into any other advertising options really.. I didn't test any of them yet but most advertisement plugins from Cranberry will do the trick.

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

    Again, i didn't look into it myself but i do know these files are included:

    cranberrygame_CordovaAdMob

    cranberrygame_CordovaAdMobAdColony

    cranberrygame_CordovaAdMobFacebookAds

    cranberrygame_CordovaAdMobFlurryAds

    cranberrygame_CordovaAdMobHuntMAds

    cranberrygame_CordovaAdMobiAd

    cranberrygame_CordovaAdMobInMobi

    cranberrygame_CordovaAdMobLeadbolt

    cranberrygame_CordovaAdMobLifeStreetMedia

    cranberrygame_CordovaAdMobMillennialMedia

    cranberrygame_CordovaAdMobMobFox

    cranberrygame_CordovaAdMobMojiva

    cranberrygame_CordovaAdMobMoPub

    cranberrygame_CordovaAdMobPhunware

    I think that will bring a lot to the table talking about revenue <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">.

  • blackhornet Ah i see, works in Firefox. What's up with this adBlock making trouble with dropbox links lately.. Weird..

    Anyways gonna try the plugin !

    Edit: This is awesome! Works like a charm Exactly what i needed. Thanks!

    Edit 2: Just came back to say this is awesome again. This really is freaking amazing! If i only knew before this behavior existed! This is really a game changer and i can finally fine-tune my app to a nice looking piece of art .

  • lunarray Hey can you please re-upload? Download links not working anymore Thanks!

  • Hi,

    I am not sure if this plugin is still updated but i have a bug.

    Everything is fine but once done typing and submitting the text the keyboard will disappear but somehow ( on mobile, Android ) the status bar of my phone will come down and won't go back up.

    This is normal that it happens once i focus the text box but it should disappear just like the keyboard once done.

    What probably would fix it is a unfocus option. I had this with the normal text box and that seems to fix the status bar trouble.

    This plugin has a focus option but nothing to unfocus it.

    My action actually destroys the complete box once the user submitted the text.

    Let me know if there is a fix for this.

    Thanks!

  • Hi guys!

    After 2 months working on my app i can say it's finally finished!

    I would really appreciate some feedback. I want to thank everyone who had the patience to help me with some struggles i had while creating the app.

    All help was useful and without it i was never able to create the application.

    So what's it about;

    I did everything but creating a game. The goal was to create a application about horoscopes, zodiac signs etc. with some social features like commenting and a up/down vote system. I think it worked out pretty well and i was really surprised ( to be honest ) that i was able to create this with Construct 2.

    Some screenshots

    The app has a live feed which updates every single hour with multiple posts. You can comment on them, vote them up or down. It has daily horoscopes, some astrology information, zodiac profiles and some other stuff.

    I used IAP to create a premium membership option. I wanted to keep all content as free as possible so this means the only paid option i have is to remove ads and get a "premium icon". It just didn't feel right to lock up some content in change for payments.

    At this moment i only launched the Android version.

    You can check it out here: https://play.google.com/store/apps/details?id=com.zodiac.union

    I would really like it if you download it and take a look at it. Every (negative nor positive) feedback is welcome!

    Also, if you happen to like this app and want a premium account download the app and just send me your discount code ( shown at the right top of the start screen ) and i will update your account to a premium account for free .

    Of course leaving a rating and a review on Google Play would really help me out but than again, i'm here to show off my app and not to advertise. Just really curious to your opinions.

    Thanks!

  • Hi guys,

    I have the same problem using CLI 5.1.1 Runtime 15.

    I am getting worried since the deadline is May 9th.

    EDIT: Just found out that apps don't stop working on that date but you can't actually update them anymore ( the way it gives the error ).

    Is there a fix for this?

    I actually released the app just yesterday and the error showed up today.

    Pretty concerning if you ask me..

    Did read this somewhere on the intel forum tho:

    "We recommend that you move to CLI 5.1.1 now so you can prepare for moving to CLI 5.4.1 when it becomes available. CLI 5.4.1 will definitely resolve this issue and it will definitely be available before May 9. Please re-read the original post for full details."

    Guess it's just hoping they are on time from now on isn't it?

  • Alright! Massive facepalm time !

    I actually created the system before with some bugs. Thought to throw it all around and re-create it ending up in this mess.

    Finally figured it out how to do it. Thing is, i had it almost completely right the first time.

    Anyways this is how.

    Instead of checking how many comments there are for creating the comment blocks i simply check if the comment is empty or not ( duh! ).

    So if comment 1 and 2 are there, it will create 2 blocks. As comment 3 is empty, aka does not exist, it will stop right there.

    Now for the 3 comment limit, that's why i put up a limit in my php script in the first place. This is also how i check if my comments are empty.

    So all there was left was the "next page" button.

    This i've done by:

    ceil(commentCheck/3) =< commentPage > Delete button

    ceil(commentCheck/3) > commentPage > Create button

    Problem solved .

    Thanks for the brainstorming with me .

    This is what it looks like:

    variable l1 and l2 are the limits i send to my php script, so it will only show 3 comments.

  • I've been thinking that way but the thing is that these comments are getting fetched from a database.

    I know i might have high hopes but if this app really works out it could be possible that 1000's of comments will be added.

    There is no way i can pre-load 5000 comments creating 5000 objects. Somewhere i have to cut it off anyways.

    It's also getting late for me i will re-think this trough tomorrow.

    The combo semi-knowledge of Construct 2 and almost no knowledge of math formulas kills it for me .

  • Yes, i indeed really have trouble explaining my question since i don't understand it myself .

    I indeed want to switch to a new comment page each 3 comments. That's why i have 3 different formula's. I think this is needed because first it will show comment 1,2 and 3. Switching pages should show 4,5,6.

    The reason i think this is the only way is because it's possible to have like 4 or 5 comments. If for example the case is 4 comments it should not trigger the second and third formula after switching to the second page. Because that would create a object for comment 5 and 6, which obviously do not exist if there are only 4 comments. That's why i need to know how to get do a action each 1,4,7 etc.

    Some images:

    This is the result for one comment

    This is how my php script shows how many comments there are

    In the database ( no clue why i shot this screenshot )

    The comment background object is created because of this

    When i added another comment

    Because my php script showed there were 2 comments

    As you can see in the screenshots everything works as planned.

    If i add a third comment the third comment will show up.

    Once i add the 4th comment none will be created. This is where it goes wrong.

    So, if i got 4 comments my php script will result a 4. Just like the 1 and 2 shown above.

    The fact is that i first want to run the formulas for 1,2,3. After clicking the red arrow at the bottom of the screen i want to show comment 4.

    So in fact comment 4 would be on page 2.

    So if i take this image:

    What it should do, if we take 4 comments, is running all 3 actions. Once i click the "next page" button it only has to run action 1 again since that will add up to 4, aka the amount of comments. So if we take 5 comments for example. It again, has to run all 3 actions. After clicking the next page button it will only have to run action 1 and 2.

    P.s. Don't mind all the other info at the php script. This i can assign to each comment block once my issue is solved.

  • I see, i never really had math and i kind of know nothing about it.

    I see now that if you calculate 3*1-2 = 1, so indeed 3*2-2 = 4. These are indeed the numbers i am looking for!

    I'm still a little bit stuck though.

    When it comes to math all i get are brainfreezes. I just can't figure it out .

    What i did now:

    IF > commentCheck = 3*commentPage-2 > Do action

    IF > commentCheck = 3*commentPage-1 > Do action, Do Action

    IF > commentCheck = 3*commentPage > Do action, Do Action, Do Action

    commentCheck = The number of comments

    commentPage = The comment page

    I think i'm stuck at the pages.

    If i got 1,2 or 3 comments everything works perfect as mentioned above. Now the problem starts having a 4th comment.

    If i have 4 comments the formulas above don't work anymore if the commentPage is still 1. This makes sense but i am not sure how to switch over.

    Even if commentCheck = 4 but i am still on comment page 1 it should show the first 3 comment.

    The information is always right in my php script no matter the page because i use limit 0,3 if the comment page is 1, i use limit 3,6 if the comment page is 2 and so on.

    So my information is always correct in my script.

    So if i have 4 comments but commentPage = 1 it should read it as 3 comments. Once a user hits the "More comments" button commentPage will be 2.

    My conclusion: commentCheck = commentCheck(4) - commentPage(1). So if i have 4 comments, and i'm on page 1, it will be counted as 3 and it will create 3 comment blocks.

    If i go a page up, the new calculation will be commentCheck = commentCheck(4) - commentPage (2) which results in 2. This is incorrect. Because it should be 1.

    I am really not getting the clue here .

    My code so far:

  • Hi!

    I need to now how to use a specific calculation.

    I want to do an action each 1,4,7,10th step etc.

    Now i found out the formula for that would be "3n-2".

    Thing is, i have no clue how to use that in Construct 2.

    Is this possible to do?

    Thanks!

Allardje's avatar

Allardje

Member since 25 Jun, 2013

None one is following Allardje yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies