Chadori's Forum Posts

  • Only works if I play the game on browser but not on the phone =(

    Thank U

    It usually works. Did you export IntelXdk ? If yes, then did you add plugin InAppBrowser?

  • Construct 2 is almost perfect in 2D game making and sooner it will improve but If Construct 3 is made, I think it is better to make it 3D or at least near like 2.5D. It will be great if it has the same great event system of 2D's. Looking forward for Construct 3 XD

  • Hello everyone. I'm newbee. And I try to do simple apps. In my last 'game' I need to do a lot of similar actions. Please, help, can I somehow optimize it (i need to hold on to 64 numberMouse)?

    I think making duplicate sprites like this is very inefficient if you can just separate each one by UID's or IID's or even Instance Variables.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello

    I have made a game with a demo version and when player tap on" Buy full version" how can I navigate to the google play ?

    Browser object works with HTML but not in the phone ?

    Doesn't this work?

    1)Add a Browser plugin.

    2)Condition: A trigger

    Action: Go to url: https:\....

  • Any ideas? Please

    You can use IID to Index them.

    IID is an index identifier of a same type of sprite and it is also in chronological order. That means if I create a new sprite, the first sprite becomes IID = 0 and if I create another, the new one will have the IID = 1. IID's are zero-based, so IID's will start at 0 index.

  • how can I have enemies attacking each other and having them attacking the player when in range

    Try this:

    https://www.scirra.com/tutorials/474/pa ... e-of-sight

  • Hey guys,

    I'm having jitter in my game when testing on mobile. I figured out that the lerp in my camera object (smooth scrolling) is causing this. The movement in my game is very similar to Asteroids (Custom Movement). Here's what I'm using for the camera at the moment:

    Every tick|Camera -> Set position to lerp(Self.X, Player.X, 0.08), lerp(Self.Y, Player.Y, 0.08)

    Is there any way to get a smooth scrolling camera in mobile without jitter/lag?

    Things you should know for mobile smooth performance of lerp and camera:

    1.( Use delta-time for frame dependence like 1.0 * dt)

    2.If it isn't enough then use make it faster especially in older devices. So that the jitter won't be noticed.

  • I'm not certain what is considered low RAM usage, for now I have 27mb of RAM maximum used.

    I see. Then based on the information you gave us, I think that your game is already well optimized. About your game heating on Iphone6. It really is just how HTML5 works. It uses a lot power and gives out more heat but it is a small price to pay to enable Gaming in HTML5. But it doesn't give out that much heat, if it does then it is the fault of the developer. But since your game performance usage is good then there is nothing to worry about.

  • i have this 2 game that i work with...i want to link my project to another project so that if i play i have a choice that what game i would like to play...help me URGENT

    I think this topic should be in the "How Do I" Board Index.

  • I believe "collisions" refers to the collisions onto other sprite or objects and not touch. I THINK, I may be right though.

    Yes you might be right. But If that is the case with touch, why did they make the Collision Polygon as a base of touch. I think it would be better to make a Touch(disabled) condition & action and if there is time a Touch Polygon.

  • Actually I had 30 collision checks per second, so 3 checks per tick. This is highly reasonable amount So I won't go for further optimizations in terms of collision. Will find the culprit in another area.

    If that is the case. Check in the debugger -->> Profiler Tab for any high usage of events. You must have an event that isn't optimized yet. But that is very unlikely.

    So I think, this might be the cause of high GPU usage now. Try to see the Ram Usage during gameplay.

  • Wow, are you sure that the objects stored in a separated layout are not preloaded? I was almost sure that they are... and it would be much more organized.

    How do you know that they aren't?

    I exactly did what you did. I made a Separate layout to put all my objects and load them secretly on startup (loader layout) but when I tested it, it was very poor in performance. That was in my previous game and it became a complete fail. And I then realized my mistake when I read Ashley's optimization posts.

  • i have this 2 game that i work with...i want to link my project to another project so that if i play i have a choice that what game i would like to play...help me URGENT

    Why not make the two games inside one project?

  • I have some buttons that I change the text of and use newline as part of that.

    It was working fine last night, but this morning newline doesn't seem to be working? What happened? It kind of screws up all my buttons? I'm on chrome - did it update somehow without notifying me?

    I checked it and Newline seems to be working. Did you update in what version? Beta? or Stable? Do you have a .capx to show us?

  • Hello last weeks I am little confused in settings of loading screen / splash screen etc, on mobile export using Intel XDK.

    I want to know how can I make only 1 loading screen and that will be fully editable, is it possible?

    I read and tried many things about that and this is my problem:

    In Construct 2 you can set one type of loading screen from these pre-created (like: percentage, logo, progress bar etc...), but you cannot edit it.

    In Construct 2 you can also make loader layout where you can create any loading screen you want.

    Finally at the end when you are making build in Intel XDK you can set there some image for splash screen.

    Intel XDK is the first (during the loading) you can do not add permission for splash screen and then there will be a white screen for a while (if I am right).

    During the loading second one is the pre-created loading screen from C2, okey you can set there nothing but there will still be a little moment with black screen for this phase.

    Last thing is the loader layout you can use it or not...

    I want to achieve only one phrase of loading is it possible or how can I improve that? Now on start of game screen flashing (white, black, loading with black background and then finally game) it is not very nice . I will really glad for any help or suggestion.

    If you see it through. You will find it as an advantage actually. Imagine 3 Splascreens for your Branding, it is actually nice.

    My suggestion would be to:

    1) Choose the Progressbar & Logo option and change the icons in the (Project Bar --> Files --> Icons) into your Game App Icon. This will be the 2nd Splascreen

    2) Enable Loader Layout

    3) Make a cool Loader Layout with effects(not necessary the WebGL effects) because this will be the 3rd Splascreen of your game and this time you can already tap into the features of Construct 2.

    3) Make the 1st SplashScreen. It should be a PNG Image. And this will be shown first in your game loading.

    4) Import the 1st Splashscreen PNG Image with the required size into IntelXDK in the samefolder of the IntelXDK Project Folder and input it in the Project Build.

    Trust me if you do these procedures properly and make the splashcreen great then you will not regret it. It will make your game look professional. Look at the splashscreen of Gamevil and you will see what I mean. They have 2-3 splashcreens and it makes their game look professional.