Delphawi's Forum Posts

  • move-to can be moved along paths made with the timeline and these timeline path can have bezier curves.

    https://editor.construct.net/#open=move-along-curved-path official example project

    Ah, right! Thank you!

  • Here's a few ideas:

    An idea to make up track of modular pieces. Straight and perfect arcs.

    https://www.dropbox.com/s/quzp15smcjkljd4/train_wip2.capx?dl=1

    An idea to move along a Bezier curve. The curve is converted to a polyline to ensure constant speed along the curve.

    https://www.dropbox.com/s/m0pk8zvqoj08kr7/move_on_dashed_curve.capx?dl=1

    A slightly different way. It skips the polyline conversion step and still gives relatively constant speed even when nodes aren't evenly spaced. For a curve loop.

    https://www.dropbox.com/s/6mu2yolmavp5ap9/followSpline.capx?dl=1

    Thank you very much :)

  • Hello,

    I am trying to make a car move on a preset path, like a trail, with turns and the ability to accelerate/decelerate. What is the best to do it, please?

    - Tried the Car behavior, it worked with some speed values, but when trying to accelerate, the new speed cause the car to leave the trail.

    - Tried the MoveTo behavior, making the car move from one section to the other, but it looked clunky and not smooth like the Car behavior (but it has more control over the car).

    - Tried using EveryTick to move the car based on math calculations. The straight lines were easy to do, but the curves were tricky.

    What is the best to do it, please?

    Thank you.

  • > I am wondering, if consoles already have browsers, why not HTML5 games?

    xbox

    You can, play them, but people don't want that... isn't about being able to play it in browser, we can do that already for a while... is about being able to native export to said consoles... sales... since those consoles don't work with in-game advertising.

    ud be limiting ur game to just browser users... but the sales... are in hardcopy/digital sales... so if u want a sustainable return on ur work and investment u want a native exporter. not sure if there are many console/browser games that are "pay to own" like on steam and other platforms... would defeat the purpose of having a price for a browser game which u can access for free no download... well.. u could start ur own store with membership monthly for ur games... but then again plenty of other stores/websites doing that already. not sure really im thinking at this now and im confused hahaha.

    one game that does well as a html5 game is cut the rope... but even that one the html5 version is limited. where the paid version aka "full" is sold digitally through their own website or other 3rd party stores... otherwise would take very shortly to ride the "viral wave" and cash on it....if it comes...

    I meant that if they already have the tech to run an HTML5 game in browser, they should(?) be able to run it native?

  • Ashley I am wondering, if consoles already have browsers, why not HTML5 games?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • I would like to translate the engine to Arabic, but it is not in the language list. Are there any plans to support this? This is a large Arabic community looking for simple and powerful tools like Construct.

  • You can only rotate the 3d shape by the z axis. Another option is buying the third party 3dobject which lets you rotate any way you like.

    The third option it to use distort meshes to make the 3d object, then you can rotate it any way you like with various amounts of math. Here are all the examples I've made to date. Some are much simpler than others.

    If you like math here is the gist of what's going on with vector math:

    rotatedVector = (positionVector-centerVector)*orientationMatrix3x3+centerVector

    Rectangles

    https://www.dropbox.com/s/9uko7hxjyp9z1uu/xyRotate.c3p?dl=1

    https://www.dropbox.com/s/6qs81zmktsd3so8/yaxis_rotate.c3p?dl=1

    Cubes

    https://www.dropbox.com/s/unnqd7exmaca6lk/mesh_cube.c3p?dl=1

    https://www.dropbox.com/s/5n5umhdkfhr0qhg/cube_roll.c3p?dl=1

    https://www.dropbox.com/s/zis7zp6rggxpdny/dice.c3p?dl=1

    https://www.dropbox.com/s/hvrhxk4bsslm8f3/3d_dice_v2.c3p?dl=1

    Spheres

    https://www.dropbox.com/s/lucl1153bmmr3qo/mesh_sphere.c3p?dl=1

    https://www.dropbox.com/s/2l2dtel4t0zf9jw/mesh_sphere_roll.c3p?dl=1

    https://www.dropbox.com/s/rkomtba52rlqw3t/mesh_sphere_roll_terrain.c3p?dl=1

    Model

    https://www.dropbox.com/s/uy6yfhpag7d1t2p/obj_loader_and_raycast.c3p?dl=1

    Amazing! Thank you very much :)

  • When you go to the local server do you use http and ws instead of https and wss?

    "ws"

    Turns out (after testing Cors, ws vs wss...etc) the issue was the barebones colyseus sample uses a different room name (in arena.config.ts) than the one in construct sample.

    Thank you for your time :)

    By any chance, do you have experience in scaling colyseus based on number of players? Our team is looking for someone to help with that, if you are interested.

  • Yes, I run a server locally along side the client in preview, we use ws: and http: instead of wss and https locally.

    I tried it but the preview couldn't connect to the server, unless I used an online SSL server like Glitch. So I thought my issue was because C3 only uses secure context?

  • If you find you need an authoritative server, I recommend Colyseus. We use it using C3 JS scripting on the client (typescript and node.js on the server), there is also a C3 plug-in, but I don't know how to up to date it is.

    https://www.colyseus.io/

    Hello Mikal,

    I have tried Colyseus after your suggestion. It is really great! But I couldn't get it to work locally with C3 because Construct needs a secure connection. I can only use it on the Glitch server for now, which makes iteration super slow.

    Do you think there is a way to use Colyseus locally and still work with C3 local debugger?

    Thanks a lot!

  • Hello!

    I can rotate a 3D object around the Z axis, but is there a way to rotate around X or Y too?

    Thank you :)

  • Try Construct 3

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

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

    I got this message from Google Play:

    Play Billing Library Version Deprecation

    We've detected that this app is using an old version of Google Play Billing. From November 1, 2022, all app updates must use Billing Library version 4 or newer.

    Action required: Please verify your publicly available APKs are updated to the latest version of the Play Billing Library. This includes any APK or App Bundle rolled out in production.

    What is the current version used by C3, please? When can we expect an update (if not already updated)?

    Thank you!

    Tagged: