JohnnySheffield's Forum Posts

  • There are some resources around; but the best place to start learning how to use SDK is to read the sources (runtime.js) directly; You'll learn how to read source code, you'll learn how are things done in SDK, and you'll learn a lot of javascript along the way.

    You could start with how the line-sight behavior is implemented, and than continue from there!

    Also, check out the SDK template, you'll se that some of the basic stuff is implemented so you can get a good start...

  • Guys, just a heads up; the playable demo is available for download on http://collective.square-enix.com/proje ... ar-with-me

    If anybody can help us test it on linux 32bit that would be great!

    Also, a quick tutorial on how we created an windows installer for this release is coming soon!

  • Aphrodite

    Oh noes, you got it wrong! Basic idea and the whole point of node-webkit is to get low-access to so from a browser-like environment! That's why it's so great, nothing stops you from executing any kind* of system code.

    You can execute all kinds of fun stuff, even with built in C2 plugins; when need arises look into nodewebkit plugin, action "run file". You can use that to execute a .bat file!

    *for some things you'll need acquire system/user permission.

  • Aphrodite

    Not really, both rely on nodejs+chrome. Main difference is the approach on mixing those two. In nw, starting point is a .html file ; in atom-shell you start with a .js file and create a window from there. Atom-shell is backed up by github, so it won't go away any time soon. Fun thing is that top contributor (zcbenz) to atom-shell is also the second top contributor to nw. Almost as if he created his own, better version of nw with hook... khm... easier build process and context management. Anyhow, for now i'm with node-webkit, i just threw this outhere because i think it would be wise to watch how things develop further down the road.

    Also; not sure in what do you mean with more low-level interactions. Node can do low-level quite good... Can you expand on this?

  • Ashley

    What's your opinion on atom shell? In a way it's similar to nw, but uses a different approach.

    My initial test were ok, but i've just created a simple test C2 app and packaged it. I'm satisfied with nw, but it's always nice to have an alternative.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • have you looked into JSONP (json with padding)? this technique is known to be used on mobile apps to avoid CORS problems.

  • Croatia checking in, i know quite a few Croatian C2 developers. There's a good indie scene growing here, and more and more developers are showing up every day!

  • I don't use github so much, i prefer gitlab. It's open source, free*, and gives you options for private repos. git.machina.hr is an example of gitlab server. Pretty much the same experience as github.

    I plan to create a new gitlab instance with signup enabled, so anybody willing to contrib will be able to do it. Anybody will be able to create his own private/public repos for his/hers plugins.

    Dunno, github is cool and all, but i think that there is a need for a public repo with specific stuff for C2. It will enable much more options to develop and scale. Maybe i'm wrong? What's your opinion?

    * free as in free code but not free hosting/server

  • xoros Index

    I plan to keep this plugin updated. Invitation to anybody wanting to contribute is open, as it is vital to the success of this plugin.

    My main goal is to create environment for development, this forum tend to get messy when the topics are large! The repo will move to a new git server until the end of the week to find it's permanent home. Login/signup will be open/free for anybody willing to contribute.

    Also, the plugin is written from scratch, and hopefully the code is clean, readable. It would be great if anybody is willing to skim the source for possible errors/improvements.

    In the next release i would like to work on binary support; more extensive tests, and a better live server (with more stuff implemented). Hopefully the public server will serve as a boilerplate for anybody willing to write socket.io servers.

    Superb news!

    4. Make sure the EXE file is called nw.exe. For some reason it doesn't work if the executable file has a different name.

    Renaming nw.exe is known issue when using native modules;

    more info here: https://github.com/rogerwang/node-webkit/issues/199

  • socket.io 1.x

    Direct download link: http://git.nodepie.ninja/Johnny/socket- ... ref=master

    Published under MIT license thanks to DatapawWolf

    More stuff coming up. Enjoy hacking around!

    Changelog

    • 29.04.2015 transferred the repo to http://git.nodepie.ninja/Johnny/socket- ... ree/master. Other links are dead.
    • 21.10 - upped socket.io version to 1.1. (latest at the moment) - Live test server updated, please test.
    • 23.10 - added direct download link. Should be more clear how to obtain the plugin. Some cosmetic changes to forum post
    • 25.10 - new issue: implement "is connected" condition
    • 29.10 - plugin version upped to 0.1.2, "is connected" condition implemented, socket.io client library upped to ver 1.2, new .c2addon file
    • 05.12 - plugin version upped to 0.1.2.1,, socket.io client library upped to ver 1.2.1, new .c2addon file. Tests ok!
  • Great news!

    Yes, i think i've used the 3.0 version of the express. Express is optional here and was used to serve static files (eg- our exported C2 project). You can serve your projects anyway you want. I would recommend running socket.io and express as separated processes/machines, just to keep our concerns apart. It's easier to scale. Distribute all the things!

    I'll create a new thread for this plugin so it's best to continue there!

    edit:

  • There's a limit how complex your game can be without any backend supporting it. I'm using node for my stuff, but sometimes it is too expensive to develop your own solutions so i leverage third party services like flurry. There's also a plethora of stuff that you need for almost every game that require some sort of backend, most notably top score lists.

    As i see it, clay.io is one of the most used, but i've never used their services. Any experiences?

    A simple google search gives a lot of results and platforms but they lack C2 support.

    I was hoping to get some feedback, and maybe finding out about some new solutions. Maybe even hear something you miss in existing solutions?

    What do you use? Do you you use a third party service like clay.io? Or do you write your own backend stuff?

  • Congratulations! You're the copyright holder of the socket.io plugin for C2!

    Download the repo again to get the latest changes.

    Enjoy, and happy coding!

    Cheers!

  • JohnnySheffield if you're interested in getting people to maintain it, I'd suggest asking around the Reddit, Facebook Group, and the forums. I can sign up, but I'm not sure how much I can actually do, heh.

    Cool! With your willing to sign up, you're the single best person i'll ever find. I'll upload the MIT license to the repo, and consider you the owner of this plugin. If you want to get read/write access to the repo, pm me any mail you have access to.

    Cheers!