camboriu's Forum Posts

  • An invisible layer for the dialogue may not be such a bad idea. It's probably the easiest solution. Make sure to disable "interactive" in layer properties until you need it, to prevent clicking invisible buttons.

    Alternatively you can create this dialogue on an unused layout, add all objects to a hierarchy. And then when you need to show it - create the entire dialogue from the hierarchy.

    I need study abouth hierarchy yet..

    Thanks for tip =D

  • Good morning, I am returning to using Construct, and I am still unsure where to look for resources or examples.

    I am making a game that will have a shop. In this shop, I will have some buttons, such as "Buy Upgrade." When clicking on this upgrade, I will deduct the coin value and change the sprite's animation of my object (the programming logic uses its animation value to perform tasks).

    I can do this so far (maybe not in the best way, but it's manageable). What I need is a "confirmation" button when clicking on BUY. For example, when the player CLICKS, before deducting the value and giving the upgrade, I would like a message to appear like: Are you sure? [YES] [NO]

    I thought about creating a new transparent layout on top, but I am a bit confused and think I might end up doing a lot of unnecessary work. Are there any examples of how to perform this validation?

    If the requirement is met (sufficient coins), when clicking the buy button, the confirmation of YES or NO appears. If YES, apply; if NO, revert to normal.

    Thanks for all

  • Thank you for the responses, everyone. While I’m still deciding what to do with this large project, I’ve started a new, smaller-scale project to get back into learning.

    Thank you for the experiences and tips ( i`l search how to import from c2 to c3).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I used to be very focused on Construct 2, and when Construct 3 came out, I subscribed for a few months.

    In 2018, I published some games on Google Play, but I ended up giving up on everything. Some are still listed as "Draft". Can I download the game from there again to edit?

    I have some backup folders on my drive from 2018, where I have some .capx files, but I can't reopen these files in Construct 3 (they don’t show up when I try to open them).

    Is there any other way to try to find my files? I really don’t want to have to redo everything from scratch...

    Since it’s been more than 5 years, I believe a lot has changed! I believe everything is more “automatic” and “easier” now...

    My game was similar to Angry Birds, but with a ninja...

    I had already implemented high scores, achievements, and rewards on Google Play. One of the things that took me the longest to do was these integrations at the time... Is there something more "automated" today?

    Do you recommend trying to recover what I had, or would it be more advisable to start from scratch? Considering the big changes that have happened with C3?

    Thanks in advance.

  • Good Day guys, I'm having a relatively simple difficulty, but I can not solve it myself ...

    I implemented Google play (running)

    And the PlayFab Plugin to save the data of an array in the external database .. (Working also).

    What happens, when the user enters the game, he creates an array with the data in the database and localstorage, and saves them there.

    When the user closes the game, the data is saved, (confirmed in the database).

    The problem is: When the user opens the game again, the data is zeroed, both in the game and in the database, the difficulty is probably that it is not validating the data before overwriting.

    And it ends up resetting everything, as if it did not exist, I know I have to perform a validation before overwriting, but I already tried to put this validation before and after getting the data from the server,

    and I'm not getting it right, every time I try something different besides not solve, a new bug appears xD

    Could someone please give me a help? I've never worked with external server before, only with localstorage, so I do not know how to perform this data validation before receiving them ..

    I know something is wrong, but I do not know where

    Thanks and sorry for the great text .. but I tried to be as specific as possible ..

    NOTE: This example is already from two friends who helped me, and is working on saving and receiving data from an array. I just need to validate before.

    I have already been told to make a update counter and compare .. but also I have tried, and every time I try, something stops working.

    It can not be that hard to do something so simple ...

    I'm not really getting it.

    Have tried to explain me, but without the examples I can not solve it alone.

    need help.

    MenuSheet

    Main Sheet

  • Sorry for ressurect this post, but the problem its solved?

    I`m having dificulties in auto google play login, showing high score, and achievements..

    Can someone help me with a exemple of .c3p?

    What i do is, if google play loadad-> sign in

  • Yes that's just normal behaviour unless you have some integration with Facebook or similar to store the data online. There are some neat looking plugins here that handle the storing of online data with accounts.

    https://www.construct.net/en/forum/construct-3/plugin-sdk-10/christmas-sale-construct-maste-139046

    I have the plugins now... I would like to bind the user account of google play, as it is of default ... but the information would like to save in a database outside, because when the user delete the game and reinstall, it can not lose the data.

    And always have to use google play to log in, your data will always be there.

    How could I implement this?

    With fireDB?

  • Hi, yes is right. camboriu It is a normal behavior and we have no choice but to store it in a cloud storage. If you want a game professionally made, you need a decent approach. That's why my Construct Master Collection has the PlayFab Master Collection.

    It's a good investment as it is progressively upgraded. But I'm just advising as a mobile game developer that had lots of failed attempts into creating a clean account cloud sync in the event sheet without an addon before creating the addon collection.

    camboriu The original price is only $99.99 if you buy directly from me.

    We do have a Christmas Sale currently which is only $50.00 now. But the sale will end in a few hours, since it is only available from December 12, 2018 to December 25, 2018.

    Have a nice day and happy game development. Also, Merry Christmas and an advanced Happy New Year.

    Hey Chadori, thx for offer, but i`m new to Dev of apps..

    And i`m from Brasil,here 1 United States Dollar equals 3.90 Brazilian Real

    50Dolars = 195 Reais, and its too much for me yet xD

    But if I buy this bundle, will I have the addons, scripts, and tutorials on how to do it?

    Because as I said, I'm new in this area, and I have many difficulties because I do the programming part alone ...

  • Yes that's just normal behaviour unless you have some integration with Facebook or similar to store the data online. There are some neat looking plugins here that handle the storing of online data with accounts.

    https://www.construct.net/en/forum/construct-3/plugin-sdk-10/christmas-sale-construct-maste-139046

    i really need some plugin to do this i think...

    but WOW

    $119.99 USD

    or more

    for these addons, is SOOOOOO much money for me yet...

    Thx anyway =)

  • > Good afternoon, I'm having difficulty getting M (million) K in my code, somehow simple, because I need it for more than one place, for example, I need the X value to be different from the Y value, but each one of them need to appear K or M if it passes a thousand or million, not 1,200,000.

    > I would just appear for example 1.2M.

    > Will I need to repeat the code in all the parts that will be made?

    > What is the best way to do it? Thanks in advance

    You can use a Function to convert the number, then you just need to put a Function.Call(...) into your "Set Text" events.

    Here is an example capx: dropbox.com/s/ewwpxwd56xb6rhi/ConvertNumberToText%20Function.capx

    Add the Function object to your project if you haven't already done so, then copy and paste the Function-> On "ConvertNumberToText" event from the example into your project.

    Then everywhere you have Set text to CustoClicker replace it with Set text to Function.Call("ConvertNumberToText", CustoClicker)

    And everywhere you have Set text to Clickers replace it with Set text to Function.Call("ConvertNumberToText", Clickers)

    THIS REALLY WORKS FOR ME

    Really Really THank You.

    =)

  • Good morning, that may be a noob question, however when I save the data in localstorage, and the user uninstalls the app, or exchange mobile phone it loses all points.

    I would like the user to keep the data saved in his google play account, even if he uninstalls the app, because someday he may want to play again and continue where he left off.

    What do I need for this? An online database?

    Any forum or link on which I can base myself please? If you have examples, it would help me a lot.

  • Good afternoon, I'm having difficulty getting M (million) K in my code, somehow simple, because I need it for more than one place, for example, I need the X value to be different from the Y value, but each one of them need to appear K or M if it passes a thousand or million, not 1,200,000.

    I would just appear for example 1.2M.

    Will I need to repeat the code in all the parts that will be made?

    What is the best way to do it? Thanks in advance

    I want some like this....

  • > >

    > >

    > > Check my answer in this thread:

    >

    > what answer, and where the thread? XD

    > i need help too

    Change to new forum most have removed the link.

    Found it here: construct.net/en/forum/construct-2/how-do-i-18/how-do-i-add-letter-m-when-num-118349

    Thank you =)

  • Thanks all. I think I'm going to go with celstrider 's recommendation; it seems the easiest for my system.

    Hi, how u do to show K, M etc?

    Can u give me some light? or show me the way XD

  • Check my answer in this thread:

    what answer, and where the thread? XD

    i need help too