ggibson1's Forum Posts

  • It would be helpful if there was a utility function or two to ease accessing the nested structures

    In order to help me better understand what you are asking for please detail if this is from the JSON generation feature? Or the Injection feature? etc... also screenshots would be very helpful...

    Thanks.

  • A new update has just been uploaded. Everyone should receive an email in the next 24 hours with download instructions.

    From the Changes.txt file:

    * Bug fixes

    * Changed the preview browser in the sample capx from "custom" to "default"

    * Added the ability to drag and drop rows in the Array Editor to rearrange their order

    * Added the name of the object being edited to the title bar of each window

    *** Don't forget to rate and review C2 Data Editor in the Scirra App Store!!!

  • The picking system seems somewhat complicated and I think that it might be context sensitive. I got tired of trying to use picking in different ways and now I use UIDs for everything. So I really cannot answer your question about how picking works in every situation. I just know if you standardize on UIDs it always works (Except when you forget to pick an object by UID before using it)

  • Also please remember to rate and review C2 Data Editor in the store!

  • Ok look at this CAPX and pay special attention to how

    1) I created a Dictionary

    2) Saved the UID for the Dictionary

    3) Re-"picked " that same Dictionary by UID later on and got its data

    There are other ways of doing things but this is how I always do it... basically in my mind the UID is a pointer to a specific instance like in C++ coding.

    https://dl.dropboxusercontent.com/u/277541264/ShowDictionaryWorking.capx

    [attachment=0:3g9god6e][/attachment:3g9god6e]

  • I am reading over this thread now... I want to start off though by mentioning the functions that come with C2 Data Editor are for searching DataSets which are C2 Arrays that are setup in a specific way. Dictionaries only have a key/value so they do not need all those CRUD functions.

  • What type of device are you using? iPhone 4 and older have low memory and will cause a force quit when you start a game that needs more memory that it can handle.

  • I purchased the C2 Data Editor yesterday and I am very pleased with it. I think it's an absolute MUST HAVE for eh, well lets say eh everybody...

    You can generate C2 code and JSON strings on the fly, making it very easy to integrate (large blocks of) data into C2...

    There are also search, edit and misc. functions provided wich you can use in your own projects...

    I am very impressed with the current version of the program, I'm sure it will be a great success...

    I will submit a five star review at Scirra's Store for sure...

    Well done gg!!!

    Thanks much for the comments... I use the tool myself and because of that I am always finding new things I want it to do and I add them... then send them out for all of you to use.

    For example in the next update there will be the ability to drag and drop rows around to reorder them in the Array Editor window.

    Good luck with your apps.

  • Right click in the screen and it gives you the option to bring it right back... the beta notes explained that.

  • This sounds like in a normal computer language where you are using a ForEach and then wondering why the code inside the ForEach loop didn't run when the list of objects in the ForEach had a count of zero ... the loop never runs if the count is zero because it only runs For Each Object.

    Each object type in C2 has a Count property... you can do something called "assert" which is what software developers do to check to see if things are in the state that their code will expect them to be.

    For example you can add an event that checks the Sprite.Count before setting values to Sprites and if it is zero then do a Browser.Log to alert yourself that the code you thought would make some change to a list of Sprites has no Sprites to act on.

    This is all just normal coding practices done all the time.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A video has been added to the store page.

  • Hello

    Is it possible to build a light registration/login system with your tool?

    Thank you for yout time

    Uros Solar

    The C2 Data Editor creates tables (and dictionaries) of data for the client side. So you could make a "users" table to do registration / login with it using the Create, Read, Update, and Delete functions supplied with the tool. And then save this table AsJSON in the web store... but it would not be secure. Only a server side database with encrypted data would be really secure.

    I am doing something somewhat similar with my game I am building where each user can have their own character and when they create a character they supply a user name and when they come back later to continue their game they go to the user screen and choose which character to continue ... though there is no login.

  • Ok, great post Ashley and I can get behind that. Everything seems awesome for Android, or at least moving in a positive direction.

    However for those of us that Develop for Apple as well, it seems like the Ejecta has many of the same "gotchas" in your list. So what is the option there? Hopefully we are not expected to wait for io8 to launch and get installed on devices and cross our fingers that the new phonegap is our savior for ios dev .

    Thanks again for all the hard work.

    Just keep exporting to CocoonJS

  • Updated user manual with a specific example showing the relationship between a DataSet Array in C2 Data Editor and the Data Object Function that gets generated inside your capx when you use the injection feature to export that DataSet Array... this same example has been added to the first post in this thread. The user manual in the application download for those that have purchased will be updated at a later date.

  • Very interesting! Looking forward to the new version. And a Youtube would be nice!

    Version 1.5 has been uploaded. I removed and replaced all the screenshots and it all should be approved and available by tomorrow.

    At the top of this page you can find a link to the user manual.