zatyka's Recent Forum Activity

  • Ajax the project file, and parse through it with events. Assuming the file is formatted like this:

    Word
    Word
    Word
    Word[/code:3nksfzll]
    
    Events to add each word the X axis of the array would be (in pseudo-code):
    [code:3nksfzll]
    On start of layout: AJAX request the project file
    On Ajax request complete: Set array size to 0,1,1
       Repeat tokencount(Ajax.LastData,newline): Push back tokenat(Ajax.LastData,loopindex,newline) on X Axix
    [/code:3nksfzll]
  • Try Construct 3

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

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

    It's not in any standard (e.g. JSON) format. I made it up as a way for someone to easily comprehend and amend. The project file is only used for the initial loading of default key mappings. Once that's done, any re-mapping of keys is saved/loaded as a JSON array in webstorage.

    You can always use your own method of formatting data as long as your app knows how to read it. However, it's oftentimes more convenient to use a standardized format.

  • I'm not at my pc, so I can't check your capx right now, but you may want to have a look at my menu system as it does support directional navigation using a similiar method.

    https://www.scirra.com/forum/viewtopic.php?f=148&t=103355

  • Results are in. Congratulations to everyone, especially Rilem (who placed 1st in the Jam).

  • A few people have PMed me over the last few months asking me to post the capx. My suggestion is to PM cesarzevil, or make a new topic in this, or in the "How Do I...", forum asking for assistance/suggestions. There's nothing particularly complex about the capx; I'm sure someone else can create the same, or a very similar, behavior.

  • My entry: Acceptance

    Created in about 2 hours. Hopefully I'll be able to spend the entire weekend on a game in LD30.

    I'm looking forward to playing all the games posted here.

  • Joannesalfa

    The projects I've used the engine in have not needed both mouse and keyboard control, but it would be easy enough to fix. The mouse's coordinates would need to be stored each tick, and the selector's position would only update when the coordinates change. Also, the selector can be turned off completely by changing a variable.

  • Yann

    I was referring to the Menu engine in the capx I posted.

    I haven't played with your plugin enough to intelligently comment on it, but look forward to taking a closer look at it next time I use the menu engine in a project.

  • Capx has been posted.

    shinkan

    Thanks for the links. I hadn't realized that Yann had made a full JSON plugin. It seems relatively straight forward, but would require some reworking of the engine. It's probably worth doing if only for the ability to write to JSON. It would simplify some elements of the engine, and allow menus to be changed at run-time.

  • shinkan

    Once modularity is implemented, I'm sure an event-based engine like this would become far more useful. I suppose all we can do is wait and see.

    The capx just needs to be cleaned up and commented a bit. I got distracted with Ludum Dare, but I'll post it soon. I don't have much experience with json, but if it's simpler, and can function similarly to XML when loading data, I'd be all for it. I'm not particularly a fan of XML either.

  • shinkan

    Agreed, on all points. It would certainly be a handy tool.

zatyka's avatar

zatyka

Member since 11 Aug, 2012

Twitter
zatyka has 1 followers

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x11
    Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual

Progress

15/44
How to earn trophies