JohnnySheffield's Forum Posts

  • cranberrygame

    Superb plugins!

    Have you looked into https://github.com/asennikov/CanvasCameraPlugin to enable camera stream?

    I'm interested in getting access to camera stream in iOS.

    Cheers!

  • fongka2

    this is an old plugin, i advise you to use the official plugin provided with c2.

    Cheers.

  • Especially considering all the existing npm's.

    Of course I doubt those would be used easily by C2's runtime.

    I don't see any problems with using existing npm's with c2runtime,. It's all javascript after all, right?

    rexrainbow

    Thanks for updating about your progress, i believe there are many use cases for this kind of "exporter"

    Ashley

    Can i kindly ask you to provide some information is this kind of functionality planned for C3? I hope headless exporter would be easier to achieve with plans to utilize nw.js for C3...

    Cheers!

  • For some time now i've been inactive with this developing and maintaining this plugin, and I apologize for that. It's simplest to say, life got in the way, but the motivation drained off and without proper incentive it's hard to justify spending my hours daily/weekly in developing new plugins and maintaining existing ones. It's not matter of greed, or dissatisfaction, but mere practicality. Bills are arriving every month, and my kid needs something to eat.

    Anyways, i'm quite happy there are people finding this plugin useful, and there are people that are going to continue to update it, work on it for the benefit of the community. As for the community, I humbly ask you, please please learn JavaScript, learn Git, and start to actively contribute to maintaining all of the plugins that are here for you. It's not that hard, if you can use C2, you're well enough to grasp concepts behind git and JavaScript, it's not such a big of a leap, just some learning and playing with it. Learn and evolve!

    Enough bullshitting, I've pushed the repo to the new git server, and updated the first post, so the version 1.2.1 is available. Also, the history of commits is also there, so if anybody is willing to dig into this plugin, please look into the prior versions, it should be clear enough to do your own thing with this code!

    Love you all,

    Cheers,

    Johnny

  • Ashley

    It is not possible in my knowledge to use the generated javascript without the accompanying index.html and some canvas object in it. With canvas and html comes an overhead of chromium or some other wizardry like jsDOM to make it execute. Although the renderer is idle, and the DOM is probably not used in any active way, the utter existence of them in your process and memory provides an overhead. Sure, that can be avoided by throwing more resources to it, but is that the right approach? I dunno, that's why i'm here to talk.

    It could be possible to make an plugin and/or introduce some settings to the editor to make the "nw headless" exporter easier maybe, and provide some communication channel to the headless instance?

  • has no rendering overhead or use of the DOM.

    Thank you for your input, but with all due respect this is false.

  • Without that you pretty much just have an interactive game with no interactivity, which isn't very useful.

    Where one man sees a desert, other sees a bunch of sand. Also, if an entity has no interactivity, it is not interactive anymore.

    The idea behind the headless export is in removing stuff from the engine, not adding. It would allow to use c2 projects as any other JavaScript library, it can expose that api over any available channel per wish of a designer/developer. For something to be interactive it does not have to have a gui. it can be interacted with over sockets, functions, databases, etc...

    Regarding the functionality, the SDK is a perfectly suitable tool to implement any API that is in the mind of a game designer, no need to have that implemented just for a headless exporter. Actually, i vote for a totally different approach; the logic is one part, the renderer other, the sdk with plugins the third, and by skimming the source of the c2 engine for the last two years, it doesn't seem impossible.

    It's cool, a close approximation of a headless exporter is achieved with exporting through nw, hiding a window and using it as a silent exe/other format, and communicating with it with any kind of preferred way. Some of the multiplayer stuff i did is hosted that way and it works, a working http/socket.io/udp server written in c2 is already deployed an live and accessible through a public ip/url . But it's hacky, we have to have all of the nw juice to get it running and it makes scaling a lot more difficult and a lot of computing resources for stuff not required.

    I'm kinda sad you don't seem to see a wider picture here, games are not just what a player sees, games are multiple systems behind the game. Having c2 exporting pure logic will be beneficial for all kinds of aspect for a game dev. Also, i must say i'm making this request as a game dev, not a software guy trying to do non-gaming stuff with c2.

    Although, again, i'm surprised you don't see benefits of a headless exporter would bring to the gaming aspect of developing possibilities with c2.

    tl:dr; this is not a priority request, and is doable with current stack, but...

  • yup, just logic, no display.

    to add a few

      npm modules written in C2 for node
      controllers for our new robotic overlords
      any other logic imaginable
  • Ashley

    I would humbly request a headless exporter so we can do stuff similar but not limited to:

    node c2runtime.js[/code:jvizve0i]
    
    without all the sugar required to simulate DOM and canvas please? It would open up a vast new field for C2 and even help with multiplayer games.
    
    Cheers!
  • DatapawWolf

    Don't worry, i wrote that message!

    Cheers, and happy holidays!

  • newt - It was an obvious choice with a "Stealth game" topic of the jam... We've spend almost half of the development time on game lightning with multiple shadowcasters, tilemap objects and blending modes. I was happy to use it!

    eli0s

    We're already a team with experience in multiple projects, and everyone had a big motivation for the event, so we've spend all of of time focused on the tasks. Prioritization was the toughest part.

    Lunatrap

    Yes, C2 is an excellent tool, i use it every day! We were only C2 team on the event. A lot of Unity teams, although everybody knew about Construct. When they didn't, we've happily opened the door for them to a brave new world of rapid game development tools!

    TiAm

    Last year C2-like tools were not allowed. This year they changed the rules, and allowed all tools. We were surprised on arrival as they handed us rules in which Game Maker, C2, etc were forbidden. It wasn't a show stopper, as we know the way of the Unity, but it did change our plans! Luckily, it was just an error left in from the last year rules.

    We even got to the news Here's a google translate link. My team is in the yellow offices!

    Here's a timeline of commits during the hackhaton. First few hours we're spent on planning, and it's nicely represented in the graphs and after that we've spent most of the time developing. We've used Google Drive for syncing with artist and sound designer.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Aaaand we won an award for "Technical Complexity". With a C2 game... Who would have said, heh?

    Wooohoooo!!!!

  • My team and I had the honor to be invited and participate in the biggest hackathon in the South-East Europe, and creating our game was a enjoyment and a bliss with a big help of C2. You can see my team here! I'm still awake from the time this pic was taken, and it was more than 36 hours ago. It's easy to stay awake when you're surrounded by best of the best developers from the region!

    The topic of the hackathon was "Stealth" and C2 proved to be a perfect tool for quickly creating beautiful games! Our game is called "Dron" and we're proud to present it here! You can download it as an windows installer here, or play it online at http://dron.nodepie.ninja.

    We must say special thanks to the Nordeus for being a prefect host, it was one of the most enjoyed and hardest 24hrs in my life!

    You can see all the games created here and vote for your favorites!

    Big shoutout glazba for being a prefect teammate!

    Cheers!

    edit: We won an award for technical complexity! I'll put some more data from the event in the posts below.

  • Index

    I've updated the plugin to 1.2.1 version, tests are ok. Please test and redownload. The .c2addon file is also updated!

    Cheers!

  • Cybergod

    Thanks for testing this plugin and providing useful info! If you've got any feedback on this plugin i hope you'll post it here...

    Cheers!