DiegoM's Recent Forum Activity

  • It's hard to tell without looking at your project.

    If you take the example and just change the GetDate function to return Date.Get(2021, 11, 12, 19, 0, 0, 0), the count down works as expected. So I imagine that in the process of copying and pasting you maybe forgot something or there is something that needs to be changed and you missed it.

    The parameters for the Date.Get expression are as follows:

    year => 4 digit number
    month => 0 to 11
    day => 1 to 31
    hour => 0 to 23
    minutes => 0 to 59
    seconds => 0 to 59
    milliseconds => 0 to 999
    

    So Date.Get(2021, 11, 12, 19, 0, 0, 0) should get you the date for December 12th 2021 at 7pm

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It seems you need to enable custom user data before you are able to use it.

    docs.mongodb.com/realm/users/enable-custom-user-data

  • Is this how you are setting the custom data?

    docs.mongodb.com/realm/web/access-custom-user-data

    I would try doing it that way, and then see if retrieving it works. There is a note about write permissions, which I am not too sure what it means, but it might be worth to keep it in mind if you can't write the data.

  • What have you tried doing to set the custom data?

    I am not very familiar with the library, but if it is returning an empty object, then it is likely nothing was set to begin with.

  • Look for the Date & time example in the start page of C3. Just type Date & time in the search box and you should find it.

    The example shows a bunch of things you can do with the Date plugin. Calculating the time between the current date and a future date is one of them.

    There are quite a few things going on in the example, so just ask again if there is something you don't understand after taking a look.

  • Here is an example showing how you could do it.

    dropbox.com/s/oxxg1rstsju2rmv/DrawingCanvasCanvasJS.c3p

    The script creates an element for the library to use and makes sure it is hidden. Then sends it to the library, does the rendering and finally extracts the results from it's "canvas" property into the drawing canvas plugin instance.

    There is a little caveat to the whole process though. The drawing canvas is not available for use through the scripting API until at least 1 tick has passed, so the script in the example makes sure to wait for that.

    Hopefully we will sort that out sometime in the near future, but until then you'll have to do with the little hack.

  • There aren't any plans to implement this.

    When the feature was first introduced we thought that we would consider implementing moving along a bezier curve if there was an interest in the feature.

    As far as I am aware it has never been mentioned on the forums or the suggestions platform.

  • eleanorjmorel

    As with any other bug, the best you can do to report it, is to come up with the smallest project that reproduces the bug.

    Just from looking at the video I really can't tell that anything is wrong at at all.

  • No. It updates a WebGL texture dynamically, which while much faster than drawing to a canvas and then creating a new texture from that... we don't get to use any of the built in features of a canvas.

  • This actually is more difficult than it seems.

    It's one of those features that is taken for granted, but when it turns out you have to implement it... well... it's more difficult than you initially thought.

    And that is the case here, we can not take advantage of an existing browser feature and just hook it up to C3, instead it has to be an implementation of our own.

  • You can set a layer to be global, it's a dropdown in the properties of a layer in the properties bar.

    After setting the layer to be global, go to another layout, create a new layer in it and give it the same as the global layer you set previously.

    After doing all of that, the new layer will have the same content as the original global layer. This can be repeated in as many layouts as needed.

  • tarek2

    Currently files are sorted alphabetically before importing. This means that if your files have names which have the minimum number of digits, Ej. 1,2,3,4,5,6,7,8,9,10, then the list will be sorted as 1,10,2,3,4,5,6,7,8,9. That happens because the names of the files are seen as strings of characters, rather than numbers.

    I can add the option to choose between different sorting modes to the configuration file, but until I do that you can resort to naming your files in a way they will be sorted correctly every time. One way would be padding the names with zeroes Ej. 001,002,003,004,005,006,009,010

    That will make sure the alphabetical sorting sorts the numbers as expected.

DiegoM's avatar

DiegoM

Online Now

Member since 24 Apr, 2015
Last online 26 Nov, 2024

Twitter
DiegoM has 1,382,840 followers

Trophy Case

  • 9-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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

15/44
How to earn trophies

Blogs