nutmix's Forum Posts

  • I could not find a copy of rexes original rex_function anywhere online, so went through some year old backups of my long dead laptop and found a copy of it - phew! If anyone has the same issue, pm me and Ill send you it. It seems to work along side the official function, as its called "func" not function.

    So the next issue is how do I migrate my hundreds of rex_functions to the official function plugin or rex_functoin2? i assume I have to more or less re-write them all from scratch? Or is it possible for me to hack source files in notepad?

    the only reason I want to do this is so that in another year from now, if I cant find the original rex_funciton, I am able to open the project still and not lose several man months of work.

  • I want to open an older project which used rex.rainbows excellent function plugin. I understand scirra have added something like this with the same name, and that rex has created a new version called function2

    But I still cant open my project. there seems to already be a pugin in the standard install dir of construct2. I tried installing function2, but this didnt help.

    Any ideas? I don't want to overwrite the official function plugin, as I dont want to have this problem forever...

  • For Mobile devices, C2 is very poor at handling forms (login, create account), navigation, settings, help pages, tutorials etc. It has no dialog or modal dialog support, very basic gesture support and very few UI components. For this reason we abandoned development of a game which was almost complete.

    We are now thinking the way forward is to develop most of the app outside C2, and are thinking of Sencha Touch. This would handle login, create account, payments, game history, help, navigation etc. It would launch the game.

    Has anyone done something like this?

    Issues we see are:

    1. launching the game, possibly in side some object (e.g. a div) with menu navigation outside the game, or possibly full screen.

    2. passing in logged in session info. This could be done via a server, and the app pass the session ID to the game via url parameter. Somewhat open to abuse if people started guessing the random session ID. Any other ways which are secure? E.g. using local storage?

    3. FB integration. If the outer app used FB login, and the game wanted to show say a FB leaderboard, how would the game get hold of the FB login/session details? We have not done a FB integration, so are noobs in this area.

    4. How to close the game and get back to the app? We tried using System: Exit Application and calling window.close() from the game but didnt have any luck with these (they don't do anything).

    5. Packaging up to make a single native app, e.g. with phonegap. How would this work? I assume it would not be possible.

    We are hoping these are silly questions, for which there is a trivial answers...

    Any thoughts?

    Does anyone have an example of this approach?

  • Currently, we have written a number of stand alone games in C2, not wrapped. Looking at doing a FB version, which will work fine on desktop just using the C2 FB plugin, but we are not sure how it works on mobile. We are assuming that to use FB on mobile (for authentication, payments, leaderboards etc) we would have to wrap the html5 game in either phonegap or cocoonjs. Is this correct? Or can facebook on mobile (web based facebook page or mobile facebook app) launch native HTML5 apps?

    Thanks,

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If we develop a game using C2, and want it to use FB as a platform for login/freemium payments/leaderboards etc, its easy on desktop. No extra SW or Licenses required.

    But FB on Mobile is a different beast. Currently, it will offer to download a native version of your app when you open FB in a browser on a mobile device.

    So to use FB, do we need to wrap the app and make it native?

    I understand that cocoonjs is the best option, except that it costs a fortune (I have heard £50/m and up), and doesnt work with the C2 FB functionality, so its a non starter for us (unless the app took off and made money).

    What options are there for creating a FB game on mobile?

  • Thanks Ashley. Not a bad idea for a quick prototype of the server, but the real version would need to handle authentication, persistence to DB, transaction & payment system integration, load balancing etc. If you ever decide to make server side api or protocol definition, let me know! The solution for this kind of thing I think is just to use your existing socket api, but then we lose out on the **** features like lag handling. its not for a run around and shoot type game, its for a bingo type game, but the key is that the balls appear at the same time for all clients etc. which is always tricky.

  • There are some pretty nice features in the mutliplayer client object, but our mutliplayer game requires its own server with server side logic. The question is, is there any server side api or protocol description we could use to construct our own dedicated server? We don't really mind the language, it could be java, javascript, c++, anything really, but ideally would run on unix. Think bingo server which sends out balls as the server calls them.

    Thanks!

  • I checked out clay.io, but I already have my own player database, league tables etc. The clay.io puts strange popups in the top right hand corner of the app. I would rather use the native ios and android payment systems if there is an api for this, if not I guess I have to write my own or try and integrate with phone gap or app mobile, both of which I have the same problem that I don't want 90% of their functionality or use database.

  • If you consider any "social freemium" game like bingobash, candy crush, world of tanks etc, they all allow the player to purchase in game coins and powerups. There is no monetary prize, so they dont require gaming licenses which a casino type game would

    The question is what options would be available for a C2 game? I can't find any C2 documentation on any APIs or similar which would be exposed by the built in wrappers such as appmobi, cocoon or phone gap.

    I already have a full server side implementation, just no payment system. I presume that apple would not allow me to put a paypal similar interface into a ios app.

    If I want a browser version f the game, are there any in game payment options, or would I need to integrate with datacash or myriad or similar, get my own merchant account, and do it all by hand outside the game in a website? Putting up dialogs or switching to other layouts from the game is non trivial in C2, so I try to avoid it (dialogs allow buttons underneath to still work, and switching layouts loses state).

    Any thoughts on how to do in game payments appreciated.

  • ok, figured it out, you have to get an xterm running (very hidden in ubuntu), then cd to the dir when you put the linux64 export, then do a chmod 777 on the file which doesnt have an extension, then you can run it by doing:

    $ ./nameoffilewithoutanextension

  • Hi, I exported my game to produce a linux64 dir.

    I have ubuntu 12.04.

    The question is, how do I run the game on Linux?

    1) Do I need to install node.js?

    2) Do I need to install any other node packages?

    3) If I do need to install node, how then do I run the game?

    4) Anyone know how to get the equivalent of a start menu on Unbuntu desktop, such that I can find where I can run an xterm? There seems to be no way to run apps unless they have been installed via the "Ubuntu software center", which doesnt even have node. i guess I could try and navigate using the file browser to wherever xterm is installed, but it seems a backward step.

    Any help greatly appreciated.

  • Hi, I assume that the only way to run a C2 game on linux desktop is via node webkit?

    If so, can the game read and write local files (i.e. communicate with local devices?)

    Thanks!

  • Has anyone found a way to scan a QR on a mobile phone (at least IOS 6+) using C2? Podes solution does not seem to work at all.

    I would consider making it native using phone gap or similar, if it worked.

  • Just tried it on iphone 4s with IOS 6, same problem, the scan area stays black (even after hitting the snap button).

  • I Also tried it on my desktop, running chrome, and the scan area also shows up black (i.e. it cant talk to my web cam).