ggibson1's Forum Posts

  • There is nothing special about the arrays in the examples.

    They are just normal C2 arrays.

    To fully understand working with arrays in C2 you should fully read all C2 documentation on arrays.

    Good luck!

  • Having a hard time interacting with the data once it's been injected into the Construct project. At start of Layout I call the "CreateTestDB" function. The debugger says there are two arrays. An empty one and the one that has data that was created with the function call, but I can't interact with it.

    I have a text object that every tick is displaying TestDB.At(0,0) and it always reads 0. I assume because it's reading the first array that is also called TestDB, but is empty.

    And I included the Data event sheet with the search functions but those aren't working either. I wasn't completely clear from the manual but I assume all the results of a function call end up in the ResultSet array? But that stays empty the whole time.

    The function call I am testing looks like this; "SearchColumnFindAllLike"(TestDB.UID, "ColumnName","String I am searching for")

    Any help or direction anyone has would be appreciated. There is nothing about this program anywhere except here and the shop page. Otherwise it seems like it's going to be a huge time saver once I get it working. Thanks!

    -daleinen

    EDIT

    I found out if at start of layout I destroy the existing TestDB array, and then create a new array with the create function it will reference the right array. Seems like the wrong way to go about it but as long as it works.

    Please see the email I sent you in response showing how to modify your events to correctly load the data and do a search against it.

    Good luck!

  • 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

    * Fixed an issue where characters were being converted to ????? characters because of incorrect string formatting.

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

  • You do not have permission to view this post

  • Hi ggibson1

    Nice tool - just bought it.

    Initial thougts after about an hour of playing with it;

    • It would be nice to be able to rename arrays.
    • It would be nice to be able to rename columns.
    • The editor couldn't import a json file, C2 didn't have any problems with (probably because of tab formatting). I had to load the json in C2, and then download it again via C2 - not as smooth as I hoped.

    Otherwise it seems to do the job I bought it for - props!

    Cheers,

    thegrind

    Thanks for your feedback!

    Your first two items are currently available in the C2 Data Editor. Renaming arrays is like renaming a file in Windows. Click once to select and click again to go into rename mode. To rename columns double click the column header.

    I do not understand your third item. To import JSON already in C2 format you should paste it into the main screen.

    Good luck!

  • If we were all paying $1000 a year to license C2 like with Unity Scirra could probably afford to hire a staff of developers to do something like this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You are not only compressing then decompressing but probably also hitting the disk which means IO latency... IO is far slower than in-memory operations.

  • You can right click on any part of the blank space at the beginning where for example the green arrow icon appears for loops and functions not just the 1 pixel very edge.

  • Behaviors (like LiteTween) are as simple as it gets... basically no thinking required.

    Lerp can accomplish the same thing though it requires you to think a little bit about how to use events.

  • Right click the "Keyboard" event and select "Add sub-event" from the menu. Then on the new sub-event you can right click and select "Add Else".

  • Read the C2 manual that explains how to use the Physics behavior:

    https://www.scirra.com/manual/98/physics

  • Decreasing friction on should make it easier to move.

    You can also use events to apply a force or impulse to the ball when it comes in contact with the player.