SgtConti's Recent Forum Activity

  • The Node-Webkit version currently used in C2 (9.2) isn't working with WebRTC, since it uses Chromium 32 which has missing full WebRTC support.

    (I suppose it has something to do with the DataChannel, correct me if im wrong.)

    But Roger Wang and GnorTech is currently working on a Version 10 branch, with an updated chromium, to be exact, Chromium 35,

    which as i suppose supports WebRTC, i'll find it out soon when i tested it

    So my tip would be, update your node-webkit version in C2 to the pre-release V10 branch with Chromium 35 to test WebRTC.

    Since it is a pre-release branch you should be aware there could be bugs in node-webkit itself and so it may not be C2's fault.

    As a reference, in the live-Build system used to build every commit made to the NW github page (8,9 and 10 Branch. All 3 platforms), you can download a finally successfully builded WIn64 NW10 version: http://buildbot-master.node-webkit.org:8010/waterfall

    I hope i could help

    • Conti
  • hm, ok, Ashley could you maybe add an action to connect to an "Lan" signalling server for 100% offline multiplayer playing capability?

    I would be very gratefull for that

    • Conti
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley , thanks for the answer, my problem with this is, how do 2 players play together without an internet connection then?

    Also, if the player chooses "Lan" in my game, how can i then ensure that only people on the same network ca njoin him?

    It may be that i missed something there, but if not, then it may would be a great addition to make the multiplayer also work 100% offline

    • Conti
  • Thanks troublesum , i cant find anything about the LAN mode thats why i asked

    With it being automatically, it would be kind of stupid, since some may would want to set it manually (Lan Party for example).

    I think ill wait and see what Ashley sais. Thanks anyway

    • Conti
  • Ok, so i really tried my best figuring out how to make multiplayer work in LAN.

    Sometimes i thought it wasnt possible, but then i always again read these lines:

    "LAN game support for near-zero latency gameplay, including support for mixed LAN/Internet games"

    So, my question is, how?

    I got everything working with my multiplayer, im just cracking my head with figuring out how to do it in LAN,

    and waiting for NW 10 )

    This may be a question only for Ashley , but maybe some of you got an answer?

    Thanks in advance

    • Conti
  • I think it would be great if you would make links to each game, especially for the greenlight ones, since that may help them get more votes

    Anyway it's a nice initiative, maybe this could get a Sticky, but i think this should've been posted to the WiP section.

    • Conti
  • Even the fastest programmer in the world couldn't get a platformer up and running from scratch as quickly as it can be done in C2, and there's lots of time savings throughout the program like that.

    Don't let Tommy Refenes hear that

    Writing code in a file is faster than dragging events in an eventsheet, also, writing everything yourself gives you more flexibility, you wrote that code by yourself and you know how it works under the hood, and it's easier to debug it with a console (You can use the Browser in C2 but eh, not really interesting)

    Well, Writing is faster, but when writing a whole game in for example C++, it is not faster. When having learned C2 really good, you are probably faster with it then writing native C++ code. Since C2 has most things simplified so it is really easy and fast to use. Also when writing native C++ you can have typos. That is almost impossible when using C2

    Finally, C2 is geared towards beginners, most notions like floats, arrays, pointers, classes, functions are all hidden or even removed from the user's perspective, which makes it not better than other languages, which are consise and allow you to do everything with a limited syntax.

    It is geared towards beginners, but has all functionalities you would want from an game engine, it's extendable and easy to use.

    Also, even though it is easy to use: Easy to learn, hard to master. There are many that don't know how to do complex things, since they haven't mastered C2, only a few here have, so mostly when people say C2 is limiting, it isn't C2 that is limiting, it is themselves. Also C2 really has Floats, Arrays, Classes (In some degree), Functions and Pointers (To some degree).

    At the end of the day, it all boils down to preference and what you are targeting. I've made several games with both C2 and native and I prefer C2. It's quicker in my opinion and it allows me to do everything that I want it to do. If there's something that I "couldnt" do, I usually later found a workaround.

    I couldn't agree more.

    That's why they made libraries,

    In a nutshell, it was made to be intuitive for beginners, but it's counter-intuitive to programmers,

    Gentlemens, we have an answer

    Libraries are awesome, but see, with the Javscript SDK for C2 you can extend C2 in some kind of the same way that if you would use a library.

    And i defientely don't see it being a counter-intuitive to programmers, if you need something that you know isn't possible in C2, code your own plugin/behavior.

    C2 is extendable, it's not limiting, if something is missing, you can extend C2 to your needs. It helps beginners understand basics of programming in simplyfying it with Visual Coding, and makes it for existing programmers easier to use,

    with the possibilty of extending the existing with something that will probably benefit a whole community.

    Anything i let out?

    • Conti
  • Either you could do: Wait dt seconds

    But since dt can vary you would want to use: Wait 0,0167 Seconds

    Since 1/60 = 0,01666666666666666666666666666667

    1 = Seconds

    60 = Ticks/FPS

    Hope i could help

    • Conti
  • irina yeah sure, this one

  • irina yes, i finally got it to work some weeks ago, but since Node-Webkit is currently not supporting WebRTC i can't ship the demo :/

    but there is expected a new NW version in the next 1-2 weeks with WebRTC support.

    So if you'll follow this Twitter, i will tweet there when the demo is being published

    • Conti
  • Arima Shoutin' like a scurvy pirate not allowed here? 'tis be not jolly.

  • Beaverlicious sounds good

    Anyway, good luck, i will surely keep my eyes open for it.

    • Conti
SgtConti's avatar

SgtConti

Member since 20 Apr, 2013

None one is following SgtConti yet!

Connect with SgtConti

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • x2
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies