Mayfly's Forum Posts

  • henriquesv

    I see in your test capx you have quite a few txt boxes which act like counters and are constantly updating.

    Try only updating these on a less frequent time. (Every 1 second) or if they are only for debug purposes try not updating and checking performance. I know when I was making my mobile App before the debug feature was out I used to have a few text boxes as counters and that used to hinder the performance with CJS on andorid alot.

  • pinoypixel

    I've tried with the PeerJS and Multiplayer plugin.

    Neither work with CJS.

    Both I have had working on XDK. Although I started my app online before the multiplayer plugin was out so I will be finishing this game with PeerJS and then changing over to the multiplayer plugin for my new app. (My onilne app has not been updated to the play store yet as I have been waiting for XDK to get faster before I made more of my online app). I have only checked that one of the example app runs and connects with the new multiplayer app / XDK so I have not made anything myself from it.

    With PeerJS I have a lobby / matches against each other online working for my bowls app. You join a lobby layout, select from 9 available mats and it puts your player / match settings to display to all connected people. (Player list shown on the right). If you joni a mat with someones details in it, you goto a match against them. Players bowl size / weight and colour are loaded into both players games to display correctly.

    I have two video's on youtube showing it. This one shows my laptop VS my android phone (older game build)

    I also have my updated lobby / build showing room connections, players choose match length and it takes you back to the lobby if your opponent disconnects. (Note the warning dialogue box doesn't show on an exported version, just the debug one in C2)

  • I am looking at making a puzzle mobile app for android and wondered if it is possible yet to access mobile specific features other than the gyro.

    I would be looking at microphone input, camera use, displaying the notification LED light on certain phones etc..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How are you compiling the mobile app with CJS or XDK?

    If it is just a single value you want to save, the web storage plugin works in CJS / XDK and is very easy to use.

    See attached CAPX.

    https://dl.dropboxusercontent.com/u/631 ... ample.capx

  • ConradMAZE

    Try to save your project in Construct 2 and close / reopen Construct. See if it then works. I've noticed I use CLAY.IO and sometimes now I get an error message. It's only fixed by closing and re-opening. I have no issues once its an exported app though.

  • I am not an expert on how it all works but I think the wrappers simply work by putting you app in a browser and make it act like a stand alone program. Kind of anyway.

    With regards to updating your app this is done when you sign your apk file after compiling it.

    So you make version 1 of your app in C2, export it, compile it (with CJS cloud).

    You then get the unsigned apk file from them and follow these instructions in this thread:

    When you update you file in C2, export again and when you compile in CJS keep the same com.companyname.appname and you can change the version in the compile menu from 1 to 2 for example.

    Then re-sign the file as the above topic and upload to google play again.

  • I finally managed to progress my Short Mat Bowls app over the weekend.

    My main aim for progression is to get the game working online for mobile.

    So far I sorted a quick lobby screen, showing who is online and allowing you to sit in a room.

    It even lets you play against each other cross platform. The video below is Samsung S5 vs HP Laptop.

    <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> http://youtu.be/ZQlbcpCkPKM

    With that kind of attitude I'm sure you will get great sympathy from everyone. Agreed with Zenox98 that you would have been much better with a more polite email direct to Scirra rather than posting on here.

    Scirra's made it fairly clear now that exporting to Android uses third party wrappers such as CocoonJS. The recently updated XDK tools even allow you to export without a splash screen for free.

    There are plenty of tutorials / manuals on this online. A quick google search or youtube search never hurt anybody and you can learn most things these days with a little savvy....

    You complain about wasting weeks of your time with C2 but I suggest checking out what other options you have out there! I've used Unity, Multimedia Fusion, tried XNA for xbox and Game Salad. I have found Construct 2 to be the most user friendly interface of all of them. Have you even tried free versions of the alternatives?

    If you want to make games with no programming try MMF2 or Game Salad. Although judging by your post, MMF2 will upset your bank balance and game salad your patience.

    Then you can try Unity3d. Its free and you can export direct to Android .apk. Plus its 3d. Although you will need to learn some basic programming and spend a lot more than a 'few weeks' of wasted time there. I've been to Unity several times and made a few simple apps but its definately not an easy thing to do! Animations, screen layouts, collisions. Nothing is taken care of with no code / automatically like you get in C2.

    I think its hilarious that so many people expect to make an app and get rich from it. Making a mobile app is definitely a lot more accessible than it was several years ago but it means there are thousands of apps out there now so its harder to make money. Even once you work out how to get Ads in you are not going to be able to retire from it unless you make a really great app or hit it very lucky!

    In most cases you get what you paid for in life. Check the price of full versions of Unity3d, Multimedia Fusion 2, Gamesalad and I think 99% of people would agree with me that C2 is the best value for money. Just remember its HTML5 based. Something Scirra doesn't hide and explains very clearly on the website and forum. HTML5 is new to mobile phones and the technology changes so rapidly. Support is only going to get stronger and eventually I wouldn't be surprised if we get a one click export.

    There is no easy way to make games. If there was we would all do it! Fact is there isn't an easy way but C2 is one of the easiest ways. If you need any help exporting / adding ads it is possible you just need to search the forum or speak to people (politely) online. I've had a lot of help from a few users to get ads working, games exported, online features etc.

    Your best bet is to try the above alternatives and send a polite email to Scirra.

  • I think he means on the trial you cannot export Android apps?

  • ubuntuonline

    It can be hard to do the Ads, I'd have to refresh myself as I haven't done anything with it in a while. I searched it on the forums here and followed some tutorials. I didn't really find much point myself adding them =( My free App 'Short Mat Bowls' has around 4'500 downloads and I have Admob set up best I can. Since 16 Feb I've made estimated £11 from my App so I cannot get anything for a long time yet, until it reaches something like 60-80?

    =P I did much better releasing a 'Full' version on the store for the minimum price, I'm up to around £80 that way

    As for file size, how big is your app? Mine is around 16MB and I don't think we have much chance of making it smaller. Maybe smaller layout / graphics?

  • Seems everyone has slightly different experiences with exporting to Android. I've used C2 for around a year now and I still use CocoonJS. I'm used to the cloud compiler and options. I believe XDK cannot support Admob at the moment. For me:

    CocoonJS

    Pros - Better FPS, graphics look better, game runs fine, Ads usually works

    Cons - No multiplayer, no Clay.io support, Bad support from Ludeil themselves / no help with issues. Can't choose app permissions.

    XDK

    Pros - Clay.io support, Better support for issues, Seems better / more freuqent updates, choose permissions

    Cons - Worse FPS from my Apps, Graphics export slightly blocky, App crashes sometimes.

    I'm still stuck using CJS due to FPS although if XDK gets multiplayer supported I'll be jumping ship and looking to Iron out any issues with graphics / fps.

  • +2 for Bandicam, nice and easy to setup / use and records well =)

    Nice light program for screen recording

  • ArcadEd Tom Hanks! I was downloading each file manually from the folders on the left. Now you mentioned Zip I found that on the right and those files let me open construct 2 again. preview export doesn't work Though

  • ArcadEd Did you just take the files off the github? When I put the files into the relevant folders I get a javascript file error and the plugin doesn't load?

  • I still get the error with that hotfix, Unless I am missing something? I am saving the runtime.js and the capx and overwriting the older ones. But I will get the same javascript error =(