ppstudiomty's Forum Posts

  • Alright so my game has 80 objects when it's running. My android phone heats up when I play my game!

    I realized that I don't need 30 of those objects until Game Over... Initially, they're invisible, but they exist on screen.

    Question is, how much would it help in performance if I do one of these:

    1) Destroy them on Start of Layout, and spawn them all when needed?

    2) Since they're all positioned manually as I want them, I don't want to do the above (placing them back again through programming will be a mess), would it help if I move everything by Self.X + 3000 and bring them all back by Self.X - 3000 (i.e. removing them from screen).

    Thanks!

    Here's what I've faced on my mobile games:

    1. Avoid ticking as much as possibble. Don't execute stuff unless you have to, this will lead you to an event driven approach. For instance, HUD use to be something you have to update frequently but using text objects or forcing Construct to draw a sprite font every tick is terrible. Instead, determine the events that will trigger an update and call an UpdateHUD function to improve performance.

    2. Too many Physics objects. Use only what you need or what "looks good" aiming always to the minimum.

    3. Using too many Platform behavior objects. This behavior is quiet heavy even for a PC, some people tend to use it instead of a physics behavior. For performance reasons, try not to have more than 3 objects with platform beh.

    4. Too many particles with large lifetime. It will demand the engine to process each object created individualy, so it is self explained.

    5. Effects. Some shaders are really gpu intensive, so you will have to figure each out by trial and error. Mobiles have way less processing capacity than a PC, so always test your effect alone in your phone and build over it or completely remove it if your phone has les than 30fps (aim for that)

    6. Text Objects are really heavy to render in a mobile, use sprite fonts if you need lots of text objects, however you can still them use them as long as you don't update them every tick.

    7. HTML objects like Input fields, buttons and so on tend to be heavy in my experience, so use as few as possible or try to isolate the "forms" layouts from the game layouts.

    Hope it helps.

  • Construct 2 doesn't see this plugin and ask for it

    I released a free plugin for Construct 3 that does this, plust it can integrate Google Analytics with support for C2 and C3 runtimes and it is documented.

    hope it helps.

    C3 Plugin page: construct.net/en/make-games/addons/307/google-analytics-handy

  • You may try my C3 Addon.

    https://www.construct.net/en/make-games/addons/307/google-analytics-handy

    And it has a couple of usefull features.

  • Google Analytics and Handy Utilities (CSS and JS project import among others)

    I recently uploaded a small plugin called Handy Utilities with a couple of usefull date/time expressions for creating, converting and formating date/time values and another feature for integration Google Analytics directly in your project.

    If you'd like to free-track your visitors and event send events to your analytics console, then this plugin will help you up. You just have to own a Google Analytics property (your personal domain) and if you upload it to sites like Kong, NG and others you can still track it as long as you include this plugin.

    Another feature is the possibility to inject CSS and javascript code into your project, this is helpfull if you are in C3 using C2 Runtime. You simply have to create your CSS/JS files inside your project, request them with AJAX Plugin and then inject it to your game as a string, using the provided actions.

    Pluggin supports C2 and C3 runtimes

    Here's the link, is totally free and documented.

    Download

    http://bit.ly/2LQAsVH

    Documentation

    imcsw.com/2019/07/15/handy-utilities-plugin

    Happy coding! or... no-coding in Construct 3 :D

  • Hi there,

    I've asked this question in the past and never got a satisfactory answer and wondered if things have changed since then. Seeing that this is a web based game engine it would seem like a great tool to make a good web based game, but i'm not sure if there are any ways to monetize. IAP? web ads? it would seem like this stuff would be plentiful and easy to develop with and for..

    I realize that "with enough know-how" you could probably just write script and connect C3 to various services, but I'm talking about those of us who do not have the javascript chops to script our way to a solution. I'm talking about the same kind of support we have for mobile and such for non coders.

    I remember there was some Kongregate support in C2, but it didn't appear to address a way to use Kredits.. If I wanted to make an RPG or something persistent for people, it would be great if there was some built in ways for players to watch rewarded videos on web, but gold or have banners / interstitials for a web game. All of this is well established for other web games. Support for this would open up a really vast opportunity for the Construct community so it seems like low hanging fruit for Scirra to work on.

    Thanks,

    Caleb

    Sup Caleb... we talked on the Kongregate plugin's thread... My 2 cents here, I did go through the kong documentation once and I was able to connect to their services with my Kongregate plugin and to other 3rd party services like firebase, newgrounds, php custom pages and REST services directly developing my own javascript plugins for C3.

    What you ask about kong is possible, but just don't forget that you must have your game submited and reviewd by Kong so you can use Kreds, and it will only work on Kong's portal so moving it outside of it will require a different service. I believe google play is capable of doing so, but haven't read more about it...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No plugin will give you an online save system unless it is integrated with a third party. For example, you can try to use firebase in your project but it not only requires Construct 3 knowledge, but also javascript, html and possible CSS for the login UI.

    I developed my own plugin for firebase integration and may place it on itch.io on sale... still in dev, so whenever it is ready I'll post it there. You can try to develop your own, once you get it is not too complicated but as I stated, you have to learn more than only Construct 3.

    Take a look to firebase documentation:

    firebase.google.com/docs/web/setup

  • you have to develop your own plugin with javascript for fb integration. And the last time I placed my request (abou 1 month), FB answered that they are no longer accepting publisher applications (no more people to show ads). So, you'd better not waste time on doing this now and move on to the next ad service available.

  • Would you be able to share some of your bullet code?

    I don't think I read you... what do you mean by my bullet code? If you are takling about the movements on the game, they are just basic state machines that determine their directions based on states and distance travelled. I can't share the code but I can surely discuss any doubts to help you out.

  • Hi Guys,

    I recently uploaded my game called Arcade Defender, I tried to cooperate with a local restaurant to do some marketing on the game, it is not working as expected but has been really didactical to try this approach later again.

    Achieve a good erformance was a challenge, because Cordova is not the best for old mobile phones and it turns out that in my country there are lots of outdated and old phones that I needed to consider if I wanted to reach more players.

    This game features several Custom Plugins I coded for

    • Firebase Analytics
    • Google Analytics
    • Firebase Realtime Database
    • Firebase Authentication
    • Handy Utilities (UTC Date, Base64 conversions, Time formating)

    I'm planning on releasing it in other platforms like Facebook Instant Games and possibly a fremium download in itch.io and I'm still working on it.

    Feedback is welcome, although I already release the game I need to work on more stuff for it because I think the gameplay needs to be polished more.

    Video:

    Subscribe to Construct videos now

    youtube.com/watch

    If you like to try it out here's the link

    play.google.com/store/apps/details

    And my social media:

    Facebook: facebook.com/unsupportedbrowser

    Newgrounds: tristanmx.newgrounds.com

    Twitter: twitter.com/sotano42

    WebPage: pixelperfectstudio.mx

    Also feel free to chat back to me if you want to discuss anything about coding, C3 in general or possible commisions.

  • I don't have a webpage for my game but I do have a webpage for my portfolio and I'm currently self-marketing my recet game called "Arcade Defender", are you interested? The game has just being launched on april 30th.

    Subscribe to Construct videos now
  • Hi Devs,

    I'm new to geolocation concepts and usage and I'm trying to find out how to evaluate latitude and longitude using Geolocation plugin.

    So this is what I did.

    On Start of Layout -> Watch location

    On location update -> Evaluate if Latitude and longitude are equal to X and Y (X and Y are mi fixed values)

    So the problem is the accuracy, I can't make latitude and longitude be the same number to know if I'm in the location requested, so my question is: What's is the proper way to evaluate location? If accuracy always varies how do I set a range of values to know if I'm within an area (like 50 metters around the actual position), what's the precision I should be using?

    For example, If my location is at 30.23011 -100.23023, what range of numbers should I use to give it a tolerance range to find the location (+/-0.001)?

    Thanks!

  • Hi!

    Using Enhance, you can integrate admob banners or banners from any ad networks you want and set the position of the screen.

    For more information on Enhance, just follow this link : https://goo.gl/LUc3iD

    Good Luck!

    Thanks! Then I'll look for some plugins. It seems like enhance can't be integrated to construct 3...

  • I used Ultimate Ads plugin in the Scirra store (https://www.scirra.com/store/construct2-plugins/ultimate-ads-3549) - it allows top or bottom ad placement, plus something called Custom which I've not played around with. It works seamlessly with Admob.

    Thanks so I guess there's no native way for construct to solve this... I'll try some plugins.

  • Hi Community,

    Is there a way to set up the banner location of Admob? I'm developing a mobile game and designed it thinking on the banner that should appear on top of the screen (portrait display) but it appears on the bottom. I'm using C3 and MobileAdvert plugin. Admob plugin is not available on C3 and it used to have a location field but in this case there's none for MobileAdvert.

    Thanks!

  • Same issue please fix. I delete the logo files then get some new error. What are we missing... has anyone had success?

    As scirra stated they won't fix it, we have to wait until the new version of the Arcade is live....