Toby R's Recent Forum Activity

  • There are many games in App Store I made myself for either me or my customers. I've never encountered any problems with approval due to fact it's an HTML5 game.

    They can reject for not having "restore purchases" option and things like that but I never heard of rejection due to the app architecture. Are you sure that's the case or is it your guess?

  • JhomasJhomas have you tested your plugin with the exported project? Objects names are lost after exporting.

  • I found Cocoon.io to have the best performance and the most stable (and up to date) plugins. There are a lot of tutorials in the Internet, but if you don't want to waste time searching for the info you may want to buy the complete guide ebook written by Andreas here https://www.scirra.com/store/ebooks/qui ... ebook-1893

    It covers everything and costs pennies - I always recommend it as it's really worth the price.

  • The current options are:

    Future possibility:

    • Use C3 wrapper (will be paid or you'll need C3 license)
    • Some new wrapper that will jump in XDK's place
  • Great idea, great atmosphere, great artwork - it looks really amazing, good job!

  • In index.html just place your code to be accessible globally

    In C2 just assign it to a variable or just get the value directly

  • Update

    After some investigation I realize that the object needs to finish the initialization process first and then it can be destroyed safely.

    As it's understandable, I would still encourage to update the plugin so if the object gets destroyed before the initialization was successfully finished, it should force the next created instance to retrigger the initialization process from scratch. Basically one boolean variable should do the trick.

    Cheers

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Uploaded version 1.2. It has exactly same set of ACEs, there's just a small fix for better compatibility with Spriter's C2 plugin.

  • Hi lucid could you please take a look here ?

    Thanks

  • NOTE

    This is most probably Spriter's plugin bug, not C2 itself, yet I thought the bug section fit's the best to report that. lucid could you please try it first yourself before we bother Scirra to take a look on this one?

    Problem Description

    Once the SCML instance gets destroyed, it is not possible to create new instance of this object.

    Attach a Capx

    Download test capx here

    Description of Capx

    Capx has 2 event's. It destroys the SCML instance on start of layout. Then with every mouse click it should create the SCML object, but it does not. If you disable the first event (destroying on start), it works.

    BTW: it's not related to "On start of layout" but purely to destroying the instance.

    Steps to Reproduce Bug

    • Run the project
    • Click LMB on the canvas (nothing will appear)
    • Remove/disable event no 1
    • Run the project
    • Click LMB on the canvas (instance will appear)

    Observed Result

    New instance does not create once any of this object was destroyed earlier.

    Expected Result

    Should be able to destroy and create instances any time.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Win 10

    Construct 2 Version ID

    r244

    Additional note

    This issue wasn't there with earlier version (plugin release 7/9/2016) of Spriter's C2 plugin. It started after I updated the plugin to the newest one.

  • IMO currently Cocoon.io is the best you can get for C2 because:

    • Canvas+ has better performance for dynamic games than Webview
    • Cocoon has a set of official C2 plugins (IAP, ADs, etc) that are working and are maintained by the team itself
    • You still can use Cordova plugins and make your own if needed
    • Output APK is small in size

    There are some cons as well like:

    • You can have up to two projects for free there (still you can remove them and reuse the slot)
    • They add their own splashscreen at start of the app. Still it's really a decent looking one.
    • With Canvas+ some C2 features that are DOM or Browser related do not work, but there is always some workaround
  • Why do you want to build your project again if you did not change anything Phoenixbowman?

    Anyway it is possbile that the code which worked earlier will not work right now even if you haven't changed a single event in the capx. For instance if you use some third party library (Cordova IAP, ADs, Barcode, or any other feature), the library on github can be deprecated (not compatible with newest Cordova version).

    There can be obviously other reasons as well. Just saying that the code you made is just a part of the end-product so you should think of other parts that could have changed in a meantime as well.

Toby R's avatar

Toby R

Member since 23 Mar, 2015

Twitter
Toby R has 18 followers

Connect with Toby R

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x6
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies