DuckfaceNinja's Forum Posts

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

    Do that!

  • 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....

  • Actually I won't consider PHP as a good language as it has some quirks that should be fixed since years ago. That's why I've switched to Node.js as my main server-side backend recently because of it's simplicity and language (no more PHP )

    It would be great if somebody can make a plugin around node.js to support communication to mysql. I think it should go well because it is javascript?

    Btw, if the code to communicate with mysql is on the client side, that would be security issue right?

    Noob Findings: NoFlo

    Will this tool allow me to achieve what I need? It mentioned node.js in the overview.

  • It's the same as the Scirra Arcade. No one goes there for cool/new games because it's full of garbage.

    Seriously Scirra Arcade should be revamped into a one-stop site to showcase best quality C2 games. Instead of the arcade being general publishing, it should have beta section and released section. Publisher might come and what kind of game did C2 produced, one way for them to do it is just visit the arcade, but if all they see is shovelware, that gives a bad impression for us, which might be a relevant case to this thread title.

    I'm gonna throw some idea for scirra arcade here, probably just thrash talking and rubbish idea, but what the hell:

    [quote:llqe5thc]Released Section:

    This arcade is viewable by public, for a game to be in this section, it has to be reviewed by the community using a vote system of "this game is ready" and "this game is not ready yet" within 3-7 days. Upon the review by the community, if the game was voted enough then an option for the developer will be available, whether he wants to publicize it or not.

    [quote:llqe5thc]Beta section:

    This section is hidden by default, this serve as a testing ground for which people who want the community to test their game out, or probably things as simple as learning how to upload their game into the arcade. User are given the ability to delete their own game in this section, so that would cut the moderators joblist.

    [quote:llqe5thc]Let free C2 users to monetize in scirra arcade ONLY.

    This will encourage creativity among free users to come up with a game bounded by the free version limitation, and possibly give them the confidence to purchase the license. This is of course a shared monetization between scirra and gamedev, maybe 50-50 in ad revenue? Maybe create a "fund yourself" scheme which scirra get 100% of ad revenue, but the revenue will be cumulative until a point (probably revenue=license price) that will allow the gamedev to earn a personal license (only).

  • Lol that explain the lacking presence of visual programming for PHP.

    Weird thing is, if you give me a PHP file, I totally can read it and understand it, same goes with the javascript generated by C2. But when it comes to write one, it's always the syntax that keep me down... It seems my brain is farting whenever I see syntax symbol like {"==$ etc. I was hoping that I can program it without seeing the syntax, anyway I'll look up eclipse tomorrow, see whether does it help me or not.

    http://www.eclipse.org/

    Is this the correct eclipse you're talking about?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OMG you never ceased to impress me...

    Naji you don't have to create multiple thread to discuss similar thing, you just made information on one topic to be patchy and too dispersed. Next time, just change the topic title by adding up sentence you want to make the whole thread relevant.

    On topic.

    skelooth do you know any tools that makes PHP more approachable by a code-syntax-blind person like me? Some sort of similar in terms of easiness of using event system in C2.