DuckfaceNinja's Recent Forum Activity

  • Problem Solved.

    It seems that time spent on game does affect the calculation, because of some deep-rooted peerlist checking event I did months ago that I forgot it exist, because it's not logged, silly me. Disabling that portion gave me quite consistent result especially for inbound (<1% margin). Outbound still fluctuate a bit but I guess that is due to some packet losses when tested on 3G connection, and the client retry to send the packet, which adds to the outbound total. So far results from steady home internet gives me the most reliable result, I can almost conclude that there are almost no packet losses on steady connection, this gives me confident to continue heavily on the project, MP plugin is great, kudos to Scirra!

  • If you browse the forum enough you will see that buying straight from this website is the better choice, even considering the 3rd party plugin factor.

  • lilvee1989 if you feel insecure, you can always put screenshot of your event or something. Vague question will always get vague response, however precise question will get either vague or precise answer, so go for the latter . The more specific you ask the better, that's why people will ask for capx, MINIMAL, not the full game.

    This works similarly like a bug report though, narrow down the events you have problem with and upload the capx. Btw, problems with minimal capx attached always get good attention from the community.

    On topic: probably like this? I'm just assuming what I think you wanted. You can use physic, but I think at your level, it is probably best to understand solid and bullet first. Deal with physic later when you have a good grasp of C2. Look around the behavior and instance variable I setup,try to make it elegant as your "homework".

    Note: what you wanted from 1st post is z-ordering.

  • If Ashley is helped by lanceal and me, all html5 login problem can be eliminated by one punch.

    Do that!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • DuckfaceNinja maybe look at firebase, it seems someone made a plugin for it as well.

    Thanks for the suggestion! This is one of the situation in which I know what I want, but I don't know what I should be looking for.

  • You can use browser object to invoke download array.asjson.

  • Your sql logic is meant to be server side to prevent security breaches and ppl fuxing with your database , don't throw money at anyone for a feature like this, you'd be putting you and your users at risk.

    Yes sql is meant to be on server side and C2 MP plugin is there to be use to make the "bridge", the concept is to create a C2 project as the host and run it in a browser on the server. Well it is a flimsy server but for a small scale game, I think this is acceptable as the code for the host is theoretically unreachable, I dont see any reason for hackers to put effort in screwing up the game for an imaginary profit.

    My thought is, to be able to do this, I have to get a VPS at least and run the index.html (call it a lobby host) on a browser through remote connection. The silly setup that I have now is a very small C2 project that keep the highscore on the serverside webstorage. The client send an array.asjson instead of numerical variable, as to prevent cheating, then the lobby host just calculate the score and then send it to mysql on client behalf.

    This webstorage data is not visible for me through normal means, so I set the browser to download the file asjson for every hour or every 30 minutes just to get data that I can read. This way I will have a continuous pile up of text/json file which I definitely think is not good, the data should be handled by mysql instead.

  • Also, unfortunately, the store still doesn't accept plugins as submissions...

    If there's a plugin which allows me to communicate with mysql through C2 event system, I will shove the money to the seller's face no question asked. It would darn great if it has the similar feel of using array!

    MP plugin is already usable as the "bridge" from client to server, if only there's another bridge to mysql, that would awesome!

    C2_MP_client-->C2_MP_server-->mysql = imagine the possibility! Full feature multiplayer game purely in C2!

  • but was looking at fixing what I had.

    Actually the one I made is the result of me fixing it. The original of that file actually came from wayyyy back before, it's weird that it was circulated for years and nobody improvise it.

  • Try int(MapArray.at(loopindex,2)).

  • Looking at this thread makes me want to challenge myself to produce at least 10 MP games within 30 days....

DuckfaceNinja's avatar

DuckfaceNinja

Member since 28 Nov, 2013

None one is following DuckfaceNinja yet!

Connect with DuckfaceNinja

Trophy Case

  • 10-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

12/44
How to earn trophies