grossd's Recent Forum Activity

  • Hello,

    I want to avoid duplications in a listbox. Items are added automatically upon receiving of a message -- its possible that duplicates are received, but then, a duplicate is not added.

    how is this handled in C3.

    There is no containts method on the listbox to check in an event, so loops must be hacked somehow ... i guess.

    thanks!

    Dan

  • Hello,

    I have this crazy idea to integrate Blocky into C3 so that one could create little scripts within a game, for example, using Blocky.

    So, within a game one opens a blocky editor, creates a scipt, which is then tied somehow into a game -- perhaps via parameterized function calls.

    Although other uses can be envisioned such as blocks used to configure game settings, in a configuration editor during the running of a game.

    developers.google.com/blockly

    I am looking for someone to help do this, and i wonder if this is in principle possible with C3 javascript support, and how much time / cost this would take?

    Daniel

  • Thanks.

    I was hoping that i can easily send a stream of text to the server, as if its an uploaded file; and on the server its stored as a file in a location -- for further processing later on.

    E.g. there is the editor plugin, so it would be nice if the contents written could be stored as a file on the server.

    I guess, it would require creating a server side program to receive and store as file the text - its not something standard a web server supports that can be used by an ajax call

  • Hello,

    I'd like to have a configuration set up in a text field (or otherwise) stored as a file on the server, where its then read (upon an event received from the game) by a server process.

    Can this be done?

    thanks,

    Dan

  • ok, I figured it out :-)

    Required storing a UID of the toggled sprite, and then loop through all via a family and set frame to 0 for all but the one sprite with the stored UID in the global.

  • Thanks.

    I used at one point the formula 1-sprite.animationframe,

    And it works well so long i only have one event(doubleclick, sprite), action line defined. If i have two event line items then the second cancels the first immediately.

    But, to deselect all the rest upon a same double click event, I need to have a second event that only executes when the animation frame was already changed.

  • I wrote what seemed a straightforward solution to toggle a sprite's appearance.

    A mouse double click on the sprite, with an additional condition that the animation frame of said sprite is zero, sets the animation frame to 1, and another double click event with the condition that the animation frame is set to 1, sets it to 0.

    However, for some reason both both are executed at a single loop, causing no toggle behavior.

    Its as if the double click is remembers between the event checks.

    What I really, want is to have N number of created sprites and double clicking on one, selects it with a frame, and de-selects all others.

    But, i am stumped ...

  • Yes, i started doing that.

    Basically a "keyboard" at the bottom of the screen, which "injects" text into a text field attached to a sprite.

    Its too bad that i can't get it to look like MIT Scratch ... would love to.

    Perhaps, a javascript solution could be created for having such "text editable sprites"

  • Thank you.

    I tried it but pinned objects lag behind their "parent" object, when those are moved.

    Unfortunately, this makes pin not suitable for having an entry field within a sprite, to interactively set or change a sprites visible name

  • Hello,

    I want to create a graphical field that has a small text entry box -- sort of like in Scratch. But, I can't use hierarchy to create combined group of objects including an input text box.

    Nor, can it be done programmatically, the add child doesn't appear.

    Am I doing something wrong?

    thanks

    Dan

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, but I'd rather stay within C3 ...

  • Has something like this been done before in C3

    Tagged:

grossd's avatar

grossd

Member since 4 Feb, 2014

Twitter
grossd has 1 followers

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies