Laurent's Recent Forum Activity

  • In my game, player keeps track of their actions and can review them all chronologically in a journal. This journal is displayed in a single layout and of course the text can be longer that the screen itself. So I need the text in the text box to scroll.

    How can I do that ?

    Tagged:

  • Oh, let me explain.

    At the begining of the game, every cell in depth1 is empty.

    When in the begining of the game player performs action D, then x is stored in depth1 where D stands in depth0. Then when payer performs F, then x+A is stored in depth1 where F stands in depth0, etc

    I'm not sorting anything, just putting incremented variable in the array cells at their corresponding action coordinate.

  • And the point is I don't know how to code the engine tu pull values (hence my question here) :(

  • Actually, I haven't even managed to sort the array.

  • Hi!

    Thanks for your reply ! This is what I thought but I didn't know how to put it together.

    Would you propose a file ?

  • In my game, the player performs actions (A, B, C, D, etc) in a certain order (1, 2, 3, 4, etc). At runtime, I'm using an XYZ array named Journal to store for each action a value corresponding to its order.

    The following drawing shows the status of the array at the end of the game. It reads that actions have been performed in the following order :

    E, D, A, B, I, etc

    I want to create a LogBook function for the player so that they can browse through their game history. So I need to create a function that goes through the array, pick the numbers in their order and add the corresponding action description (A, B, C, etc) to a text file to create a sort of narrative.

    How can I do that ?

    Tagged:

  • Point is RGPD not only applies to app that can be dealed with cordova but essentially to websites, that is the case for many games.

    The best solution I guess, is to ask scirra to develop a specific plug in to deal with it and to make it versatile enough to allow users to adapt it easily to new regulation changes

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Actually, there's a 3rd party plugin only dedicated to Google Analytics that allows to disable cookies imcsw.com/2019/07/15/handy-utilities-plugin

    But I'm sure something can be made with as many options as needed to allow us to easily update our games to new rules

  • Thank you fredriksthlm

    Since Datastorage and other data collection are very common in games created with Construct, I think the dev team should propose a regular plug-in for data storage consent. What do you think Ashley ?

  • Very interesting discussion.

    What about webapp made with Construct that don't use Admob ? Is webstorage (used to keep game status in user device) RGPD compliant and can be uses without warning and consent ?

  • That solution seems to work perfectly :) Laurent You can remove the else condition and clone the first event twice, swapping out the snapshotRed for green and blue.

    Thanks I'll do that way. I still find strange this red value seems to come out of nowhere.

  • When DrawingCanvas.PixelScale is >1, there may be some data loss. Should be fixed now, please re-download the file.

    Wow ! That's absolutly beautiful ! Thank you very much.

    I'll then try to adapt it to allow more than two colors. I was surprised to see that the red component for pixel was nowhere to be find in the different ways to code color. I think I'll use a bitmap with many colors and use SanpshotRed/Green/Blue at to se what values are return in these pixels.

Laurent's avatar

Laurent

Early Adopter

Member since 18 Jan, 2012

Twitter
Laurent has 1 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies