Gmoney's Recent Forum Activity

  • I would like to have the background layer scaled, so there is no letterboxing on different aspect ratios.

    However, the UI layer (which in my case consists of a progress bar and button at the bottom) should always be visible and stay anchored to the bottom of the browser window.

    Reading examples and tutorials I thought that adding an Anchor to the progress bar should suffice but unfortunately it does not. For portrait orientation the progress bar is anchored at the bottom and visible, but for landscape it disappears.

    https://www.dropbox.com/s/8s5ccrpd06txr ... .capx?dl=0

    Could anyone tell me which steps to take in the above Capx to achieve the desired outcome?

    Have you tried Global Layout found under Layer Option's Editor Properties?

    https://www.scirra.com/tutorials/4850/g ... -global-ui

  • I've have imported the arraytext.json file into Projects/Files/icons but the array still shows only 0,0,0. Not real clear on what is meant by '1. Saved array.json file to same folder'.

    That's just one of the steps I took. I copied the json file to the same folder that contained .capx, but I don't think that's necessary.

    Could you post your capx, please?

  • Gmoney and Aphrodite , thanks for the help so far!

    I have a theory, but I need to test it: could you try running/testing the game as normal 4 times, and check if each of them is laggy or not, and at what instances do they become laggy (being spotted, moving, opening/closing door, etc). Then, run/test the game again but with every/most program(s) closed. Then, revert the program to any previous version (ie r227) and redo the two tests again. Please do post the results when you have done so, and any other users can help out too!

    Thanks in advance!

    You're welcome, JDebstup.

    Here are my test results.

    Normal - R233

    First play - No lag

    Second play - No lag

    Third play - Laggy after encountering an emeny shotgunner. The lag didn't go away after the initial encounter.

    Fourth play - No lag

    Lite - R233

    First play - Game became laggy after I put shotgunner at the first door and moved up and down to dodge bullets.

    Second play - No lag

    Third play - No lag

    Fourth play - No lag

    Tried it on R277, but the file won't open, because it was made for R233.

  • Thank you koorbach. When I run debug mode, I can see the data from the file when i click on 'ajax', but when i click 'array' the 3 array values are empty.

    That sounds like the array.json file was not added to the capx file.

    Here's an example.

    https://www.dropbox.com/s/j730z3m05rjnw ... .capx?dl=0

    Explained

    1. Saved array.json file to the same folder.

    2. Right clicked [Files] under Projects Property and selected [Import Files].

  • Please post the game URL again without The URL got cut off.

    thank you friends

    finaly i make it

    thanks a lot is very helpful

    thanks a Gmoney

    99Instances2Go

    You're always welcome, ProvaAyoub.

  • Gmoney , thanks for the reply! No, the 0.25 timescale is meant to give the player a slo-mo effect and some time to react when it is first spotted by an enemy (in similar manner to Metal Gear Solid V, Arkham Knight & GTA 5). The slo-mo effect is intended for both enemy types, but that's definitely not where the lag comes from.

    You're welcome, JDebstup. Oh, ok. I played again, but the game wasn't laggy. I'm on Intel i7 system with Windows 7 64 bit R233 with Nwjs for C2 v0.17.0.

    Could anyone else try as well?

  • Try Construct 3

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

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

    > > I'm currently away from my computer so I'll have to post them tomorrow - it was just a basic movement script with some animation so I can't see what the problem would be!

    > >

    >

    > Oh, ok. I'll wait for the update.

    >

    Wow. I realized in the middle of the night that I had the wrong code in the set animation section. It works fine now - thanks for your response anyway!

    You're welcome, Dangerbreaks.

    Please take a look at Line 8 and 9 in the event sheet of my example.

    https://www.dropbox.com/s/05a37jtz4o4vg ... .capx?dl=0

  • Really, really thank you so much

    You're most welcome, Nestorj66. Oh, no problem at all. I enjoy spending time with C2, and I always learn while looking into everyone's help requests as well.

    Please ask me any time. I'll solve the problems for you as soon as possible.

    Check out these threads.

    How do I - Select Scroll Menu

    How do I make a scrolling menu?

    sliding menu

  • How do I make 3d game in construct? Where i find some toturial or exaple file capx?

    The plugin is called Q3D. Check out its demos. Just amazing.

Gmoney's avatar

Gmoney

Member since 7 Nov, 2015

Twitter
Gmoney has 1 followers

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies