nutmix's Recent Forum Activity

  • I used to be a guru in C2, but havent used it for 2 years, coming back I cant figure out for the life of me how to draw a line.

    I have the canvas object added to the project. I dont know if this canvas object is part of C2, or some plugin I installed years ago.

    Anyway, when I do Canvas-> Draw line from (20,20) to (200,200) with color "black" and line width 1.0

    Nothing happens no lines are drawn.

    How do you define which layer the canvas is drawn on?

    Any ideas? Probably something really simple.

  • Hi, A friend with a mac is asking if he buys a C2 personal license now, if he can upgrade for free to C3 when it comes?

    This is assuming that C3 supports Mac natively

    Simon.

  • Sadly, these do not seem to be suitable for a scratch card because

    a) you get staccato dots, instead of the required smooth swiping reveal, if you do it quickly. I tried changing the project to use Is Touching instead of every tick - same problem. I guess this is a limitation of how often C2 samples the mouse.

    b) its not possible to know how much of the canvas was scratched, to complete the reveal and award the prize.

    c) it doesnt work on mobile (ipad at least), even if you use touch events. No idea why.

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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,

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

nutmix's avatar

nutmix

Member since 16 Aug, 2012

None one is following nutmix yet!

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies