Q3D V-2.4 [3D Physics + Skeletal Animation UPDATE]

From the Asset Store
Fantasy Game includes more than 600 sound effects inspired by hit computer games like World of Warcraft and Diablo.
  • Someone have an idea why my game don't work when I export it.

    I have just a black screen ..

    I tried on the 200 , 221 and the 226

    Make sure minify is disabled, this plugin uses a lot of special global states to communicate between objects which construct 2's minifying process prevents from working because it renames everything. If you want to reduce your code size afterwards you can run the JS files through a less severe minification process that removes whitespace.

  • > Someone have an idea why my game don't work when I export it.

    > I have just a black screen ..

    > I tried on the 200 , 221 and the 226

    >

    Make sure minify is disabled, this plugin uses a lot of special global states to communicate between objects which construct 2's minifying process prevents from working because it renames everything. If you want to reduce your code size afterwards you can run the JS files through a less severe minification process that removes whitespace.

    Oh it was that >< thanks

  • Someone have a .obj converter to .js ?

    I used that for blender but this is not compatible I have an error.

  • Wish I could think of something simple and cool to do with this

  • I personally try to do a multiplayer building game but I dont find how to load the texture

    EDIT: I convert the model file to js with python but the texture don't load >< my model , mtl and js file are in the same dir with the correct name inside the js file.

    I'm really confused right now. Does i really need a .js file for the texture ???

    REEDIT: Ok i feel stupid .. I didn't add directional light.

  • Trying to do a top down shooter demo. How do I get the camera to follow the player. The scroll to behavior wont work. Can some one make a simple demo.

  • Basic way , what I did was for tracking a moving 3D object, was add the behavour add scroll to my object.

    Then under Events add a camera position and a rotation action.

    like this will point the camera at the object on every tick.

    System - every tick - q3d master - camara - look towards position

    then fill in with auto complete your object handle.

    X object name.x

    Y object name.y

    Z object name.z

    or just values if you want to point it by xyz

    X -20

    Y -100

    Z -900

    or I used + ( - OR + NUMBER) value to adjust the x,y,z camera pointing at the object position in space.

    X T34Tank1.x + -10

    Y T34Tank1.y + -300

    Z T34Tank1.y +-900

    you can use variable's instead of constants and loops in your events also etc

    hope that helps.

  • Basic way , what I did was for tracking a moving 3D object, was add the behavour add scroll to my object.

    Then under Events add a camera position and a rotation action.

    like this will point the camera at the object on every tick.

    System - every tick - q3d master - camara - look towards position

    then fill in with auto complete your object handle.

    X object name.x

    Y object name.y

    Z object name.z

    or just values if you want to point it by xyz

    X -20

    Y -100

    Z -900

    or I used + ( - OR + NUMBER) value to adjust the x,y,z camera pointing at the object position in space.

    X T34Tank1.x + -10

    Y T34Tank1.y + -300

    Z T34Tank1.y +-900

    you can use variable's instead of constants and loops in your events also etc

    hope that helps.

    I think I got it but could you upload a Capx. My example sees to rotate all over the place.

  • ok moviemake

    here is basic example .capx that shows a camera tracking a q3d obj man that you can move with physics and nomral zyx position movement that the camera will track and keep in center view.

    link https://drive.google.com/open?id=0B_-cW ... TBuWkFqcDQ

    I hope that helps you.

    Cheers techjunkie <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When render quality is set to low but the window itself is larger than the game's original resolution, q3d doesn't render at all!!!

    Please help, I want to use q3d in my game but I can't because I want to provide the option to run the game at a lower resolution. Otherwise, people with shitty computers won't be able to play it.

  • Sam mortimer

    Try playing with the properties of Q3D Master, look at the description text and see if any of those help fix the issue.

  • Sam Mortimer -> there is a set resolution action in Q3D Master.

  • QuaziGNRLnose

    any info on how to fix the offsetting bug?

    edit: actually I think I fixed it..

    added at line 765 runtime.js in q3dmodel:

    obj.position.set(0,0,0);

  • QuaziGNRLnose There seems to be a bug in the plugin, I made a game, and am using Visual Studio 2015 to export it to my dev mode Xbox. The Visual Studio 2015 UWP forces JS to run in strict mode, and it seems that your plugin doesn't work with that. I can report this error message:

    Unhandled exception at line 360, column 1 in ms-appx://bb06fd9a-9027-4b5a-bb4e-d8601897bf79/c2runtime.js 0x800a13b2 - JavaScript runtime error: Variable undefined in strict mode

    I imagine that the ms-appx://bb06fd..... bit will be specific to me, but the error is in c2runtime.js, in the segment of code for your program. If you could either try to fix this, or give me (a bit of a JS noob!) advice on how to fix it, that'd be great. I look forward to getting a Q3D game on Xbox soon!

  • if you still need it.... made a mix between the Q3D examples having the raycaster and the FPS controling code into 1 (requires tiam_mouse_lock Plugin you find it on the page 1 of this forum topic), the raycaster code is for movement... just keep mouse pressed to move the player ...the camera always sits on players position... and the mouselock plugin is for rotating it and keep the same position... can be done without it...but i dont have time for it now...

    its the same movement i used for my dusty fps engine ...

    TiAm

    Mouse_Lock Plugin has a error on line 360 after you first press it if you press ok its working perfectly just pops up a dialog there.. nothing strange.

    BasicQ3dMovement

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)