Arcane Bit Vault's Forum Posts

  • Remove all "for each" conditions. They're redundant in this case.

    Also don't forget that you're running many collision checks with "is overlapping", which is very cpu intensive. Instead, create your UI hierarchies directly in the layout.

    That way, you can get rid of the entire hierarchy setup on runtime.

    And you can disable "collisions" on all sprites. All this only helps for performance issues during start of layout though.

    If you actually have performance issues when clicking the buttons, maybe try a different variant to animate your UI instead of "Tween".

    All these checks occur only once at startup and do not affect performance in any way. The performance is affected only by the opening of the high score table with the behavior of Tween. It doesn't matter how to attach objects, in code or in the editor - it's the same thing!

  • I created a leaderboard for the game, and when I open it, I get a drop of 20-30 frames per second on Iphone 12 and on Nothing Phone. Who knows what exactly the problem is? I made a copy of the table in an empty project for an example.

    link:

    dropbox.com/s/l35xwsa7s94oexa/test.c3p

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here is an update that changes the view from the camera object's position and angle and looks down a bit. Also added some controls to move rotate and strafe.

    There are many ways to set it up so I just picked one and went with it.

    https://www.dropbox.com/s/r4g7r0x6ty782zx/cube_raycast2.c3p?dl=1

    thank you so much for your help! is there any way to control the mouse instead of the keyboard?

  • it's a pity that the plugin is not developing

  • I just replicated the “look at” action. If any of the other actions that move or change the orientation of the camera are used then they would need to be replicated too.

    Currently the orientation is a 3x3 matrix stored in three sprites. It can be rotated by multiplying with a rotation matrix that rotates the amount you want to rotate. In practice we’d use some simplification of that.

    Another way that may be simpler would be to only use the “look at” action to orient the camera. Just change the look at target.

    X: camera.x+100*sin(a)

    Y: camera.y+100*cos(a)

    Z: camera.z

    can you make an example? I can't do anything :(

  • So here's an example with cubes.

    https://www.dropbox.com/s/zd3ur98uvok1523/cube_raycast.c3p?dl=1

    It calculates the orientation of a 3dcamera that was set with the "look at" action.

    It then does a raycast from the mouse into the screen.

    It then positions a new cube by rounding the 3d position on a grid.

    This stops working when I add camera control as in FPS :(

    How to fix it?

  • Ashley is already solving the problem! It should be working soon

  • Actually it looks like something else has gone wrong. I'm looking in to it now.

    Thank you for the answer, I will wait for a solution to the problem!

  • All functions related to the request to the server do not work, for example, build in apk! What is the problem and when will it be solved?

    Everything is fine with the Internet!

  • In the test mode of Playable ADS on the platform target.my.com black screen and console errors.

    How to fix it?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hey hey . Just a quick heads up. If you haven't seen the updates in the latest beta yet, construct.net/en/make-games/releases/beta/r264

    That will make what you are trying to do, much, much easier!

    Hi, thank you so much for your responsiveness! Yes, the new version of C3 is exactly what I needed.

  • The file shared looks much better to me, but not what you are looking for?

    look at my source code, I need the camera to follow the mouse horizontally and vertically, not just horizontally.