QuaziGNRLnose's Forum Posts

  • You can do split-screen for any number of players efficiently but only with the 3D content used by Q3D, it can't hijack constructs rendering system. If you meant if it was possible to layer the Q3D canvas to show construct content beneath it through transparency (for possibly a 3D gui) this is possible. You can make the background fully transparent so construct content shows beneath it.

  • > tulamide

    > if someone really needed extensive 3D level design they could make a very simple editor.

    >

    QuaziGNRLnose

    Is this something you plan on creating as an example for us in the future?

    Well it'd be game specific, but all you really need is to save position/scale/rotation stuff and make a simple loader. I might make an example but i rather keep working on extending the feature set of the plugin right now.

  • I'm currently working on collision detection and response for simple primitives, I've implemented the broad-phase using a spatial hashing scheme similar to what construct uses.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • it uses a chain of shaders, there's many limitations and you need to have very good knowledge of how pixel shaders work and how to write HLSL.

  • tulamide

    Construct is much more accessible than any of the available 3D engines out there. The editor is fine for mocking things up in a top down or sidescroller view, and if someone really needed extensive 3D level design they could make a very simple editor.

    Making something like tiny tank in vanilla three.js or even babylon would have taken longer than it took me with my plugin, and been much more annoying to prototype ideas with. Construct works really well for doing work quickly, something all other available engines do a lot worse in. Also, i made this plugin so that i could be more productive making 3D html5 content, and there's really nothing else like it around, especially not with the flexibility of constructs event system. There's a lot of engines and i don't think Q3D is trying to compete with them as it has its own specific niche. Saying that it isn't useful is the same as arguing construct isn't because you could use unity 2D. It's just so much easier to get things going than anywhere else, and i feel i can make that true for 3D aswell as i add enough features.

  • Ubivis, without even looking at the capx, you're forgetting to set the "UV repeat" values of the texture to something higher than 1, also if your texture is not power of 2 the repeating wont work (it's a webGL thing i can do nothing about)

  • anyone figured out already on how to repeat a material?

    Problem:

    For my playaround, I set up a cube that renders a material on the inside (you walk on the inside of the cube). The cube itself has a random size in width, height and length. When I do assign the material to the cube, it gets streched.

    Does anyone found out a way to repeat a material instead of stretching on the object?

    Demo Instead of that washy streched texture, it should be drawn over and over again until the whole object is covered.

    when you create a texture, you can change a few properties with some of the texture actions. one of them is "set ST wrap" which allows you to choose various texture repetition modes in the S-T directions, and another is "set UV repeat" which sets how many times the texture is repeated in a give spot where it would normally only repeat once. if you don't set ST wrap to "Repeat", UV repeat will just create an edge clamped texture.

  • Is there any way to get a list/string of all the files a user has added in the files folder (at runtime)? If not could i request something like this be added Ashley, an array of the filenames or something would make automatic loading operations easier so users didn't have to go through a big fuss of specifying files to load if a plugin requires them for whatever purpose.

  • I managed to get a simple blocky thing up and running. Finally managed to load a texture for a material without running into errors. It took a lot of trial and error, and had to go back and forth with the example capx's until it finally worked. My current opinion is that there is a bit of work to do with making the plugin more accessible, and as others have said, it would greatly benefit from some documentation to clear things up. Obviously stuff like that takes time, and I'm happy to have something to play with until then. Still trying to figure out how to load a sprite, and the particulars of creating and applying materials to objects. It isn't exactly user friendly at the moment.

    Does anyone know of any good resources for learning the basics of relevant 3D game concepts? I've googled around, and there are lots of bloated tutorials that either focus too much on a particular engine or language (which obviously doesn't help with Construct) or just assume too much understanding at the beginning. Things that should be simple seem quite a chore, like, you have to load a texture file into Construct first, and then also load in the event sheet, and then create a material and reference the loaded file, and then create a piece of geometry, and apply the material. It's like 4 or 5 steps that could (should?) be taken care of behind the scenes. It's not like you'll ever apply a material without first loading the texture, right? I mean, Construct is generally very good at hiding the unnecessary complexity from the user. It's what makes Construct so awesome. If you've imported an image file into the project, I think it should be taken as granted that you'll be wanting to load it before you use it.

    Anyway, take this as a comment rather than a complaint. It's not like I'm unhappy with the purchase. It's just that this plugin has so much potential to completely transform Construct, and I hope it gets there.

    Thank you for the kind words! I'm definitely trying to make the plugin more accessible but i didn't want to make the plugin limited so i tried to get all the important core functionality as un-user friendly as some of it is into the plugin first. As i've said, I'm working on a separate sub-plugin that already handles all the model loading, scaling, placement in the editor, etc for you without the hassle of loading stuff manually if you don't want to. Features like simple physics are probably also going to be a part of the plugin, but no promises there yet.

    The thing with the object-material-texture pipeline Q3D is set up to use, is that unlike a sprite in construct, which is a completely defined object within construct with its own construct specific rules, 3D models can come from such a great number of places with a bunch of individual needs with regards to texturing etc. It's not as simple as saying this is your texture and thats the end of it. UV settings are important, blending settings are important, sharing textures is important, sharing materials is important, a bunch of things are really really really important to get a 3D object with textures looking proper. Sometimes people don't want a texture at all for certain aspects like environment mapping or specular mapping, maybe sometimes they don't want a diffuse map, sometimes they want the diffuse map to also be the bump map. These kinds of needs were important to address so i couldn't just force people into a paradigm that doesn't work in all cases.

    I'm limited by the SDK in what i can do right now, i can't add my loading stuff to the construct loading system (which is something i wanted to do) because the SDK gives me no way of doing that easily. I can't (don't think i can) get a list of the files in the files folder, because the SDK has no documented way of doing this. There are lots of little things like this which i can't do anything about right now but i'm trying my best to make the best use of whats available.

  • Ubivis It might be a problem with the UV's of the model using texture repeat, and tif files aren't supported by browsers so try converting the textures to png. you might need to set "ST wrapping" to "repeat wrapping" on the texture you create for it to work properly i think for this model, but even then it might not look right because of the specific engine this model was made for or program this file was exported from so you may have to fix the uv's yourself somehow in blender.

  • I made something similar using shaders in construct classic, and i managed to get it to work with pixel shader 2.0, you should be able to do the same with WebGL shaders that support way more instructions way easier. This type of falling sand game requires either brute force efficient CPU work or a very cleverly designed parallel process on the GPU, both of which are difficult for a novice to pull off but entirely possible with javascript and WebGL. You probably wont get very good performance trying to make it with events.

    falling-sand-on-gpu-through-pixel-shader_t78983

    i used the technique to "simulate" seas of green vomit in my game super clean clean

    http://gamejolt.com/games/arcade/super- ... ean/19382/

    these were made using construct classic and custom shaders however, so i can't testify to how possible this is with C2

    This doesn't actually use any type of "physics" technique at all, its a cellular automaton like conways game of life, with clever rules that make it look like physics

  • Yeah some tutorials from people who have their head wrapped around it would be awesome.

    Ideally i'd love to learn more about

    how to trigger events when 2 3D objects interact with each other

    how to link 2D elements and 3D elements together

    how to use some more of the built in construct behaviors with 3D objects

    because im still adding/fixing/changing things i don't want to make too many tutorials just yet, as things can drastically change in a few updates.

  • Three.js seemed easier and more familiar to work with having been around longer and i liked how it was designed more. There wasn't a huge choice to make, both would have been good with different strong points. Babylon seemed to do TOO much which would maybe make construct integration harder.

  • Creating an object of type " Sphere" causes an error upon play

    Javascript Error!

    Uncaught TypeError: Cannot Read Property 'clone' of undefined

    Quazi3D_plugin.js line 2415 (col 41)

    It's working fine on my end, you're probably passing a bad name to the object creation function. It's case sensitive so if you're writing Geometry: "sphere" when your geometry is called "Sphere" you'd get the error message you're getting.

  • septeven, once the sub plugin is out ill make a video tutorial.