indy2005's Forum Posts

  • Will do. I notice there is a way to redeem tokens, but I never got an email from Scirra with a redeem code for the assets I bought, otherwise I could just log on with my Scirra account and redeem the code. All I got was PayPal confirmation, nothing from Scirra after my purchase.

  • I am testing my game on Android using a Debug APK. My game layout is "janky" on startup, and then seems to warm up. I have preloaded all audio, and have ensure all objects I am spawning are present in the layout and initially invisible. It isn't a complicate game, firing daggers at a rotating target....

    Any advice. I have also trimmed down any blocking sprites for scene transitions so they aer 10x10 sprites and scaled up to 2000 x 2000, as these were initially large sprites.

    I dont have to most powerful Adndroid phone, in fact I bought a crap one because I wanted to aim my game testing at lower end. But given the small complexity of the game - I am surprised the layout has to seem to "warm up" before the jankiness ends.

  • Not there. Worried now as I am not sure I was logged in when I bought it, and my PayPal email is not my Scirra email.

  • I just bought the 300 effects pack on the market place. Paypal completed, and that was it. I have had no instructions on how to download the pack.

    I just have a receipt from PayPal, but no link to download the asset pack.

    Regards

    S

  • Thanks!

  • I need to display an information page, where I give attribution to various people for art and music, and provide a hyperlink to my website and the privacy policy.

    Whats the best way to achieve this in Construct 3?

    Thanks

    S

  • Hi

    How (and do you need to in the EU) - provide these kind of options for your mobile game, I believe you need to also keep records of consent in an external database/system for GDPR.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I got quite a nice solution working.

    I spawn a load of objects randomly, then at the start of the next tick, a While loop runs until the overlap count is zero. In the while loop positions are randomised, and the overlap check is performed and overlaps counted. A|t the top of the While loop, the overlap count is reset to zero. When it hits zero, the loop is exited.

    To avoid having infinite loops when there are a lot of objects, I count the iterations in the While loop. Every 100 iterations of randomly placing objects, I randomly remove one Balloon sprite, reset the iteration counter and continue with the process. This way I start with a large number of objects, and degrade slowly to ensure an end condition. At any point I may get lucky and the randomisation avoids overlap and I keep a large number of objects.

    I did notice that you cannot destroy objects in a While loop it seems, and not process them on the next iteration. Instead I mark them as "dispose", and ensure my overlap check ignores anything marked "dispose" by reselecting the instances at the top of each While loop iteration, and when the While loop exits....I destroy any sprites marked for "dispose"....simples ;-)

  • Thank, got it working now. My issue was I am reading the high score into a global variable held in a separate event sheet which I am including in other layouts (not sure of this is necessary to have shared global variables across layouts). Because when I was testing I wasn't coming in via the home layout, I was testing the layout directly so skipping the read logic. Doh....

  • I am setting the instance

  • Thanks

    I am simulating 3D throwing of a dagger. It rises and falls on a one second timeline, scales down in size using a tween and animates. When the tween ends - I check overlap with a target, and want to stop the timeline for the dagger. Multiple daggers may be in flight at one time, so I only want to kill the timeline for individual daggers when the tween ends and I do my overlap test.

    Regards

    S

  • Hi,

    Why everytime I run my game does my local storage with key "high_score" get reset? Shouldn't the key persist between executions of the game while developing?

    Regards

    S

  • I upgraded to r214 today, and I am now seeing artefacts around my sprites. Almost like a pixel line above the top edge of certain sprites. It definitely wasn't there in r213.

  • Is this a feature of the editor or just events? Can you create hierarchies in the editor?

  • Hi,

    When I have selected an instance in the event, and then perform a timeline action - is it only impacting timelines associated with the selected instances? I give the same tag for all my dagger intance timelines, but it is only the timeline on the selected dagger I want to pause.

    Tagged: