nacra's Forum Posts

  • Those links all work for me right now, around 11am Feb 26, 2019, west coast of USA.

  • Yup, that's my take: You define the values you want and choose when to write them to GA. So it's very custom and you get only the data you explicitly save.

  • Koss, not much to offer, but maybe you're interested in the Progression section, in the GameAnalytics SDK docs. I haven't used this library, but I'd summarize this all as: You define and log events of your choosing, to give you data on how players move thru your game. So you define your own game areas, like "level_1:area_23:build_bridge" and "level_2:area_1:attack_castle", and then use the progression actions to log Start, Fail and Complete events for them, with an optional score value. The Design events might be good too, as they're more free form and don't have defined start, fail & complete ideas. You just come up with an event like "level1:main:guiClickMenuRestart".

    I thought the first link below gave a little better description than their general Construct SDK page. I think you'd want to just create a few tests and see how it logs things and how their reports work.

    But it's not like some analytics tools, that give you a fair amount of data right out of the box. GA seems to require you to define just what you want to log and track.

    Data & Events: https://gameanalytics.com/docs/item/ga-data

    Main doc: https://gameanalytics.com/docs/item/construct-sdk

  • Dayvid, try adding a 1 pixel transparent boundary around your sprites. That seems to help with scaling sprites, and may help here.

  • Dayvid86, a quick hack is to replace your "Dictionary - Pick instance with UID 3": change it to "System - Pick 'Dictionnaire' instance 0". That always picks the first Dictionary, which seems to work with your current events.

    But it may be better to add an instance variable to your Dictionary and use that to identify the different instances.

  • To the OP I'd suggest that you please break up your writing into shorter sentences. And try to group and list your ideas together, maybe combined with some pseudo-code. People then may be able to talk with you about other options. Because I think Ashley understood your original suggestion and pointed out the unusual, brittle nature of it. (outside of BASIC, as Newt awesomely points out!)

    Construct event sheets are a unique animal themselves, but still they offer loops and functions which are so much better for managing control of flow and structure of software.

  • How about something like: Targets -> "Pick by unique ID" with a value of: random(Targets.Count) where Targets is a Family containing your target sprites.

    And sure, I think it always helps to show you've tried some things in your question. But I get that when you're starting out with a new product you don't know the terminology or ideas so googling isn't as helpful. But Construct is great and fast for just trying things.

  • Sami, your first decision is where you need or want to store that json data. Local storage is on the device, and AJAX is from a web server. To keep things simpler, I'd guess that you want to use only local storage for now, editing data and re-saving the json as needed.

    https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/local-storage

  • I think you’d want to pin the player to the rope, without changing the current sine value or magnitude. So if that’s a matter of changing how you vary the magnitude? To get a more useful suggestion you may have to post the events you’re using now.

  • Use ‘For each key” to loop through dictionary entries. The docs describe this:

    https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/dictionary

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • My first thought would be to do it with events, doing a "set tile" as needed to randomize your map. But are you instead hand-building tilemaps, and want to load those at runtime?

    C3 Tilemap docs:

    https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/tilemap

  • Glennroh, I think you're on the right track there, with your formula like: [round((cost*0.95)+1)]

    I'd make a little table of cost and DMG points you want to hit and then come up with your formula. Test it in a spreadsheet and then code it. Maybe that's an OCD approach, but to me it's good for more complex situations and tuning sets of values.

  • Yeah, thanks for pointing out that behavior.

  • Okay, instead, add a local variable to contain the random value. Do this before your pick, and compare using the variable. Right?

  • Sure, you've tested your PHP but man it's helpful to run both the server (PHP page) and client (Construct 3 app) on the same machine and be able to step through each, to see what the server is really getting from the client.

    At a glance, I don't think you should be including a "?" in your POST data. (As you're not building a querystring for a GET.)