rufson's Recent Forum Activity

  • You do not have permission to view this post

  • LukeWDid a tut about interpreting JSON file from Dialogue Designer https://www.construct.net/en/tutorials/dialogue-designer-construct-2624

    Or wait for mine "Node Dialogue Editor" made in Construct 3

    I have build in dialogue player so you can simulate interaction without importing all files to the game while designing dialogue only. I still working on it, addind new features and nodes. Next month, I will release a public small free beta.

    Stay tuned

  • Sure

    Layout view:

    Origin: Top-left for: DrawingCanvas and ScreenshotSprite

    then when you resize DrawingCanvas and ScreenshotSprite you will get the desired resolution snapshot - but this work only with Fullscreen quality Low

  • q3olegka

    Remove 1.333 from scale abs(180/(3Dbill.d+distance(camH,0,3Dbill.ZElevation,0))) for 45fov and should be fine, maybe not perfect but much better.

    Then you need also to adjust the 3Dshape sky height and camera H on mouse wheel.

    Optimization in this case depends on many factors, I made simple self picking distance variable without for each loop beacuse self is faster(and actualy is a loop too). When the distance is bigger than 0 then objects are at front of the camera then do tranformations etc But this is not the best solution when you have a lot of objects because engine must calculate every tick the distance for each sprite to compare them.

    If you want to have a lot of objects then you should consider to lock camera angle to avoid visible horizon (like in Don't Starve game) and then sort and transform only visible objects after picking them. You can pick those instances on 3D layer using square invisible sprite which follows camera but can't rotate with it(rotation will impact collision performance). 3D sprite that is in 3D layer and have 2D sprite in container should also have square collision shape like 4 corner only and can't rotate(this is the fastest picking on overlap event) Check out that post from page 1 to 2 that is exacly about this method: https://www.construct.net/en/forum/construct-3/general-discussion-7/picking-performance-132709

    Another method is to store objects in a Array and create them when camera or player is around and unload objects that are far away(many games do this). Then you can create very big worlds but this is more complex to achieve.

    You should then consider things like:

    - Storing static objects and its state variables for animation frame, life etc

    - to not create all of them from a array when needed in one tick(creating and destroing a lot of objects at once have performance impact)

    - Storing moving objects with variables and behaviours

    - And many more things that depend on the game design

    You can even instead of Array handle map cluster checking on which tilemap the player is and spawn objects designed for this biome and unload those far away.

    Good Luck!

  • Ups the events order is wrong, move "CAMERA" event group above "3Dto2D" group:

    like this:

  • Hey

    Maybe my example will be helpful. No mesh needed! Rocket&pilot included :O

    https://rufson.itch.io/3d-to-2d-sprites

    I didn't know there was a function like: 3DCamera.CanvasToLayer...

    and I had to test it asap:) Thanks Colonel Justice

    For the costly square root I used fast(I think so) perpendicular distance math instead - I'dont remember where I found this formula but it works:

    set billboardSprite "A" variable to: (angle(CameraSprite.X,CameraSprite.Y,self.X,self.Y))-CameraSprite.angle

    then billboardSprite "B" variable to:

    distance(CameraSprite.X,CameraSprite.Y,self.X,self.Y)*cos(self.A)

    then set billboardSprite scale:

    abs(scale variable/(self.D+distance(CameraZ,0,self.ZElevation,0)^1.333))

  • Thanks for the clarification. I had a little fun with your project and while seeing math behind "Cross Product of 3D Vectors, polygon normal..." my brain melted. Then I added magnitude to obj z variable and regained consciousness.

    I like how it deforms.

    Going back to your 3d raycasting math, I thought it would be fun to deform(push) polygons in the oposite normal direction in the array by clicking it(some kind of object destruction on time)...I will back to this someday :)

    Best

  • I was thinking some time ago about loading the obj file into the mesh distort. Thank you for this example file.

  • toasted_water

    Yes, you have to pay but you can also use up to 25 events in free version and maybe more if you register(I don't remember)

    Here is 3D project from the build-in template: https://editor.construct.net/#open=first-person-platformer

  • I had a little fun with Rojo3d and I'm impressed. I will definitely do something in my spare time, maybe some kind of ps1 demake horror.

    I have not tested this idea yet but for example: rigged obj are not suported but I can swap obj frame seq files and sync them to the animated sprite frame for easier control?

    like: if sprite(walk animation) is frame 1 then show walk_frame1.obj ...

  • > > Very good tarek2 !!!

    > > A group of person asked me for my main Capx to Export my game either to Switch or PS4 or 5 and Xbox , Its that normal !!??? giving away the Master Capx to make any export to any consoles !!??

    >

    >

    > If the reason is just for exporting the Game from C3 then you have an easy choice there I guess, as exporting from C3 is very easy is like a few clicks depending on the platform, anyone could do it so why they don't tell you which Platforms they need and you export it for them? that should be the best possible solution and safe for both. I guess there is a lot of context missing so I'm judging for what you revealed so far.

    A group of person asked me for my main Capx to Export my game either to Switch or PS4 or 5 and Xbox , Its that normal !!??? giving away the Master Capx to make any export to any consoles !!??

    gametime777

    Sign NDA with them and you will be fine.

  • gametime777 Are you the same person as MasterQuest

    Are you asking about sharing your mode7 racing game? I'm curious, I know how much time you spend on it. Sometimes decisions like this can be liberating, for example take a look for a open source projects, people colaboration and what that movement do to the software tools and community focued on it. 3D Blender history is interesting! DOOM source code and what amazing things people do with it to this day! and this is just a drop in the ocean.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
rufson's avatar

rufson

Member since 13 Mar, 2013

Twitter
rufson has 14 followers

Connect with rufson

Trophy Case

  • 11-Year Club
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Quick Draw First 5 people to up-vote a new Construct 3 release
  • Email Verified

Progress

17/44
How to earn trophies