jayderyu's Forum Posts

  • Ahh the monthly "How many Events" thread.

    I top at 2500 for a full Point and Click Adventure engine. Can create an entire Point & Click without any additional event code. It's all interpreted data from files and properties.

    Also as a heads up. More Events does not make a larger game. Event counts should only represent the number of features. I could add an extra 10 hours to my point and click and never increase the code by 1 line. Also I find a lot of new dev just copy and paste entire event sheets or groups not realizing they can do good development by re-using objects with SOL.

    I remember one fellow came in with 4k events. However upon examination he re-duplicated his code for each enemy, he also duplicated the event sheet for every layout level. Once we showed the fellow how to use SOL for object filtering and use Include event sheet. His code dropped to about to about 700 events.

    Anyways. 2500 tops for me.

  • ug. I forgot about this thread. Sorry. Glad you found the problem.

    You found one of the quirks of C2. Objects aren't always ready once created. It's overlooked often, but it's one these issues that crops up every so often.

    Gratz

  • No big updates. Personally I think since 200 is a regular update. The team should roll out some last features in January/Febuary. Hire some one to maintain C2, and then start working on C3. The last big bottle necks for C2 to be fully robust is the core 3rd party IDE that C2 uses. The IDE lacks the ability for some major features

    dynamic plugin loading

    Developer IDE tools

    Modularity

    IDE access Scirra store

    anyways that's my opinion.

  • hmm. could you link a minimal capx, I think I need a larger picture of what's going on.

  • Those images are broken for me.

  • objects created dynamically are not guaranteed to have the same UID.

    Since your creating the object through a loop any object created at any time can offset that. It's unreliable to rely on the same UID. I suggest reading on UID and IID. UID are id value that is the same pool of id's as all objects.

    So the pin properties are probaly fine. But there was a mistaken use of applying the data.

    If you can share a snippet of the work that focuses on this error(no third party plugins please). Then we can take a look and find an alternative.

  • I thought about writing a indexdb storage plugin last night, but then I tought about it. It's likely that if google doesn't end up bringing back local storage. Ashley will need to shim WebStorage or make a new plugin anyways. And since I don't have anything coming out for Android soon it's not a big rush for me.

  • This is a known issue. Ashley is has requested google to bring back localstorage for the purpose of legacy software.

    Personally I wish him luck, but I have my doubts google is going to. I suspect C2 will just need to adopt indexdb going forward.

  • oh boy if C2 had a DOM control and a good ui system I would be in app heaven. Personally I think with some tinkering C2 could make a killer HTML app system. Would bring truly live sites more creatable by the average person.

    I would make the plugins myself, but such endeavors for truly good development are always blocked by the limited scope of the IDE.

    C3 please

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley

    good luck on the fight. I think turning off localStorage is silly and a feature that should be restored.

  • Ashley

    This situation is very unfortunate however as a place holder to maintain WebStorage and legacy. Why not in the meant time shim local storage. At least until Google finally capitulates and brings back localstorage; which is silly to remove.

    indexDB loads the save information when the app starts. This is done prior to any WebStorage the c2 app uses.

    All use of WebStorage localstorage works only on temporary in memory data.

    then developers can make a choice on how often the temp storage is saved to the asynhronous long term storage(indexDB?)

    1. On change.

    2. On Layout change

    3. Only on Action

    This way the old system doesn't break as synchronous data storage is maintained. Speed(negligible) is improved as it's always memory storage.

    Alternatively there could be a more advanced storage system. There is the one above that could be simple and automated. However the one above I would have concerns about large groups of data using lot's of memory. So an option would to provide an AJAX style memory system for large blobs of data and the above sample for small chunks.

    And finally I would also like to add this.

    local storage and session storage by default without user intrusion have limits of 5mb each. To by pass that 5mb require permissions and or user request. 5mb is small, but fine most of the time.

    indexDB offers 50mb as a base storage before requiring user intrusion to functioning of the app.

    So there are solutions to the problem. I don't really feel that the suggestions are hacky, but instead more in line with the intention of how indexDB should work. Instead of assuming that every piece of information is now based on ajax. Now the main storage Dictionary is ajaxed.

  • What are you trying to export to. There are a lot of export options turned off for the free version.

  • You can do all of this from the Browser object. However it's better to use the SDK when wanting to integrate an api. My site has a free FGL plugin that's 100% all Browser and API bridge and works. More of a practical experiment. However FGL has their plugin out now and only the js code injection line is of any use.

  • While I understand your desire to want a table. Tables are extremely niche for game development use. This is the kind of feature that is often created for custom use and custom created.

    If hover you need grid control Rex I'm sure has grid based features that fall in line for what your looking for.

  • C2 uses wraped json data and only imports wrapped json data. It's really annoying. So c2 can't share. You should try yann's json plugin