gumshoe2029's Forum Posts

  • What is their margin? Most places are like 10-30%. We are trying to find a payment portal below 10% preferably, something like CCnow which is at 4.9% and 0.40c per purchase, or one of these?

    https://www.formstack.com/payment-gateway-comparison

    Most of these sites provide a HTTP API to use, but it looks like Amazon's IAP is a straight Java API, so you would have to roll that in with a servlet of some sort.

  • You kind of answered your own question. You have to use a database of some sort. There are lots of tutorials on how to do this: https://www.scirra.com/tutorials/346/on ... -php-mysql

  • If you use a regular Sprite object and just assign different "views" for each frame, Construct will automagically build Sprite Sheets for you out of those frames.

    This is the easiest way to do it, I think.

    You can dynamically load images into frames on the fly using the "Load image from URL" after setting it to a specific frame too, if you want some kind of dynamic loading capacity.

  • You also know that local storage is completely manipulable, right? Any clever and adequately technical player can just tell their browser to assign a new high score in the local storage. If you want any kind of inviolable storage, you have to use a server.

  • The Sprite behavior "Drag & Drop" works great for this. We use this behavior to build custom sliders.

  • Are you doing some kind of vertical scroller? Do these paths need to be contiguous?

    I've never worked with the Pathfinder object, but I can suggest mathematical ways to do this if you are interested.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Glad you got it worked out. Thanks for sharing your solution.

  • You could try using a Between value condition to check the Sprite.Angle and then have it like:

    if 44 < Sprite.Angle < 46

    or

    89 < Sprite.Angle < 91

    or

    134 < Sprite.Angle < 136

    or

    179 < Sprite.Angle < 181

    or

    224 < Sprite.Angle < 226

    or

    269 < Sprite.Angle < 271

    or

    314 < Sprite.Angle < 316

    or

    359 < Sprite.Angle < 361

    then do movement

    else do nothing (or maybe reorient the sprite using +/- degrees until it is in one of those avenues)

  • Do like:

    global var maxEnemies = 6 (or w.e)

    GROUP: Enemy Spawner

    Every 10.0 seconds: (or w.e time)

    • - For loopindex 0 to maxEnemies :: Spawn enemy
    • - - - Compare variables: loopindex = maxEnemies :: maxEnemies = maxEnemies * 2

    Compare variables: maxEnemies >= 100 :: Disable group "Enemy Spawner"

    Else :: Enable group "Enemy Spawner"

    As far as spawning on one another, you can put a Wait 0.5 sec in the loop, or space out the spawns spatially.

  • We use a flexible auto-resizing UI system which uses ViewportTop("layerName"), ViewportBottom("layerName"), ViewportLeft("layerName"), ViewportRight("layerName") to identify the screen coordinates with respect to our primary UI layer, then we subtract to get the screen size (HxW) and do some math to automatically resize & resposition all of our UI components every tick.

    I could explain more, but if you really want, I will build you a quick example capx.

  • Are those two screenshots on the same layout?

  • Hm, what is the error exactly? I assume you are using a devtools to display it?

  • np. Glad to help.

  • np. Glad to help.

  • gumshoe2029

    Thanks a lot for your ideas and sorry for the very late reply.

    Actually it is an image sequence from which I made an image sequence. The problem with the image sequence in a sprite is that if I'm correct, these images will be used uncompressed in the code, and thus very very heavy! And there are a lot of them... Around 300 actually, which would make using them as an image sequence in an object impossible.

    Well, in subsequent research here, I found out that Sprites with frames are stored & used in compressed png sprite sheets with around 6-9 sprite frames per sheet. So, I think your fears may already be mitigated inherently in Construct.

    We are displaying around 30,000 to 90,000 sprites simultaneously on one layout with fully dynamic zoom and pan functionality and Construct has performed well so far under these loads. However, phones do not.

    Thanks a lot for your kind words on Healer Quest! The good news is that a PC, Mac and Linux version of Healer Quest is under construction.

    You are welcome, and best of skill in your effort.