shaircast's Forum Posts

  • I have a layout with many objects and events in my game. When the game moves to that layout for the first time after starting the game, the game freezes (fps drops dramatically) for a moment and comes to recover normal 60 fps. I'm sure some of C2 users who's working with large project know what I'm saying. When I go to that layout again, no stutters. I thinks that's because of loading so many thing at the start of the layout.

    How can I make a loading layout not for the entire game, but for another layout stabilizing its fps? No one wants their users to play game that freezes.

  • I just finished a platformer puzzle game, which is now in beta-testing and polishing. I want this to be published on the Steam Greenlight, but don't know how to do it and what should I do. What all I know is I have to pay 100$ dollars to publish it. After searching the forum and tutorials for the infos, I couldn't find useful tips, like... How did you export, by node-webkit? How do you manage your version? What the customers like? etc.

    I'm totally newbie in this publishing things especially in case of C2 games. Can you share your experience?

  • [attachment=2:29y5bx90][/attachment:29y5bx90]

    Ok, this is my map.

    [attachment=1:29y5bx90][/attachment:29y5bx90]

    [attachment=0:29y5bx90][/attachment:29y5bx90]

    And these are what it looks like in the real game. Do you think this looks natural? What's wrong with this?

    Gray tiles are tilemap object. Shadow caster(with opacity) is in bottom layer, and character and platform are in the upper.

  • Just finished and uploaded on the Google Play Store.

    Tilting Dodge & Shooting.

    Play :

    https://play.google.com/store/apps/details?id=com.shaircast.pixelisland

  • Look at the RandomArray.

    Thanks for the help, but this is a little bit different case. The list ifself is not randomly generated. It has to be controlled.

  • Thanks to the contributors, there's so many powerful plugins in C2 forum. However, they're not organized. Sometimes it's hard to find and choose right plugins for your project. They could be unpopular, or not working for your platform. So I want to start this thread with sharing my small experience.

    Local Leaderboard

    https://www.scirra.com/forum/plugin-local-leaderboards_t85519?&hilit=local+leaderboard

    This plugin manage your highscores in its own Webstorage. You can call the values by looping. You don't have to compare every score each other to make offline leaderboard. Works in CocoonJS and Crosswalk.

    Move to

    https://www.scirra.com/forum/behavior-moveto_t63156

    It's quite a famous plugin and really useful for the beginners. Moves objects from one point to another with various actions. Works in CocoonJS and Crosswalk. If there's a list like "Basic plugins useful for beginners", this plugin must be included.

  • Here is the list of number. 1,2,3,4. To pick one of them randomly, I can simply type in the action window like "int(random(0,4))+1", or "choose(1,2,3,4)". Now, player unlocks some objects, and now the list of number changed : 1,2,3,4,7,10,16. Now what should I do? The list can be changed with any number, and the size of the list also varies. What I'm thinking is like "choose(list)" but I have no idea how to make it work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [attachment=0:2d2dzgn1][/attachment:2d2dzgn1]

    vitorfgd

  • [attachment=0:w8ohggxx][/attachment:w8ohggxx]

    Finally I got demo to work, and also my game. Thanks, everyone. It works nice in <3316 challenge>. I just uploaded it, so it would take some time to be applied to the Play Store.

    Tip 1. Don't minify your script when exporting.

    Tip 2. You can't preview it before signing and zipaligning. So integrate it after finishing is done.

    Tip 3. Make sure that the setting of CJS Plugin is 'Google Play Games'.

  • Installed the new plugin and opened up the example CAPX with no issues. Sure it doesn't run in preview mode, which kind of sucks. I'll try compiling and testing a project with it tonight or tomorrow. My flappy clone already has google play services, so it should be a quick test.

    You mean the "Lazy Rocket", right? I have it, and I'm really enjoying it, but I can't really find any Google Play Service integration in your app.

  • Forgive me if I'm wrong, but a leaderboard usually means running a server, or using a service like Clay.io.

    I would also guess that you could make one for yourself using the multiplayer object.

    Running a server is quite a hard choice for the beginners, and Clay.io doesn't work well in CocoonJS. I had emailed Austin for a week with this issue, but nothing improved. It ended up with showing black box on the screen. Sometimes it works, but mostly not.

    Hmm. Clay.io... Well, I have sticked to CocoonJS for the ads, so I didn't test it on the Crosswalk. Maybe it works well in there because it's based on Chrome. Same for multiplayer object too. I'm not sure, just guessing.

  • irina

    Way 1 : Make your own leaderboard.

    This needs some web programming skills. There's some tutorials about it. Give it a try.

    Way 2 : Waiting.

    This is the sad point. There's new CocoonJS Plugin but it has some bugs now. Ejecta and Crosswalk? Not yet. So there's nothing you can do if you really have no idea about coding. People will say "please wait for the development" again and again. You will be waiting for them, for several months, like me.

  • I followed the manual, and exported the sample capx with r167.2 version. CocoonJS Launcher gives me an error message like this:

    JavaScript Exception ( File: 'c2runtime.js' Tag: 'script'): ReferenceError: createCocoonJSRuntime is not defined

    at c2runtime.js:5586:1

    at c2runtime.js:5588:3

  • Good news. Just come to know through Twitter. Didn't know it's open source. I'm gonna try it right away.

  • Same here. It's been a year for me to find those thing. My conclusion is : we can't do the basic and powerful things that the native can, like adding leaderboard, Game Center, SNS sharing, etc. I'm just giving up to make things for mobile. Yes, it's 2014 and we still don't have those basic features. Sadly, not that many people cares about it.

    Crosswalk is based on Chrome browser engine, so I wonder it could support them even after it's fully developed. Probable solution is the upcoming new CocoonJS Plugin but no one can say when it'd be released.