sysads's Forum Posts

  • Calling a function from within itself is definitely not possible if I am correct as there would be no way of stopping it.

    First there must be somewhere in your code that triggers the initial function call. There you can recall the function but I think it comes down to what exactly your function is doing.

  • First I have searched the forum and few posts I have seen does not seem to have an answer.

    I select the progress bar and logo option but on testing, only the progress bar shows but no logo.

    I changed the loading-logo.png to mine and still its still not showing.

    Used both size 64(png) and 256(png) but still not showing.

    Anyone has this working for them?

  • I don't think you want to encrypt the files, but the data in the files.

    https://www.construct.net/en/make-games/addons/257/forge-c3-runtimeworkers

    Hi and thanks for this. I have had a look at the sample file but can't figure out how to encrypt content of the JSON since its like over 7K lines

  • Hi, in my Quiz game, when I generate a signed APK file and extract the content, I noticed that when I navigate to "assets/www/", I see all my json files there.

    Is there no way of preventing this like how Unity are able to encrypt files.

    Thanks

  • Thanks totally forgot that

  • I implemented the scroll feature for my level scene by wiping up and down. The challenge I is in my level HUD layer I have a sprite that covers the HUD so the level objects appears to disappear behind it but when I click the back button I have in the HUD layer, you could see that it also clicks the level button behind it.

    How can I prevent the level buttons from click as soon as it enters behind the HUG sprite.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was wondering if its possible to integrate native admob ad in once app. So in my app, when I scroll to the end, i want a native ad to appear at the end not banner ad.

  • I haven't tried it yet, but with the new Pin in version 197 you should be able to scale pinned objects with the parent object. So you need to pin all your buttons to the popup menu, and then scale it with Tween (Two properties) -> Size.

    Another option is to use Tween Value, say from 0 to 1. And while this tween is running, set the scale for the menu and all other objects to Menu.Tween.value("tag")

    Thanks will give that a try.

  • > > Also, as another question, how can I add hint buttons at each level? Thanks.

    >

    > Can you explain a bit more on what you want the hint button to do? And how is your level setup?

    I have a word game, there are at least 2 and at most 5 words that should be present in each level. If the player is unable to find one of these words if it cannot be found, I want it to be a pop-up window when the hint button is pressed and a text box showing what the word is about.

    Is your data per level stored in an array separately? If so then add an additional layer in the array that stores the hints value. Then add a hidden layer in the game screen with the UI that would pop up and use Array.At(loopindex, xxx) to pick the hint data.

    In my quiz game, the array has row for quiz question, quiz index, quiz hint. Then to load each question I use a variable (you can use loopidex as well) which I increment by 1 so it loads the next question.

    Since my variable tracks the current question, then when you click on hint button, it runs Array.At(variablename, 2).

  • OK I know I can use tween to slide in and out layers but I want when i enable a layer for the menus to pop up like from the middle of the screen and animate.

    Just can't figure out scaling with tween since I have multiple objects attached to the pop up menu.

  • Also, as another question, how can I add hint buttons at each level? Thanks.

    Can you explain a bit more on what you want the hint button to do? And how is your level setup?

  • Congrats on your launch. BTW where did you make the graphics?

  • I have searched the forum and only seen few related posts but without a precise answer. I am trying to implement the Google Play leaderboard but just need to know which blocks goes where as I have seen many that looks confusing. For instance

    1)

    + Is loaded

    + On loaded

    Do we need both or just one?

    2) Do I just do this on start of layout

    + google sign in

    or I need to add something else?

    3) On leaderboard button click

    + Is sign in

    ++ submit score

    ++ show leaderboard

    I just need some guide on steps using the blocks correctly and efficiently.

    Thanks

  • OK the game sound nearly took my ears off without warning. Now I am in recovery mode.

  • Are you using PHP and AJAX to send the request? Whatever you echo out should get sent back to C3 so you can tell if the results were "Sorry..." or "Your account..."

    If I may ask, how do I ensure no one is able to inject scores to the board using the full address?