🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

Florent Poujol

6
Posts
1
Followers
A member registered 2 years ago · View creator page →

Games

Recent community posts

- what doesn't work ? what do you see in your scene instead of what you expect ?

- what errors do you get (in the script editor and/or in the console) ?

I am no THREE.js specialist at all but I see several potential source of trouble :

You do delete the WebGLRenderer Created by Superpowers ? I have no idea if you can have several of them in a single page (or on top of each other).

You actually don't attach your WebGLRenderer to the webpage, you have to do something like :

container.appendChild( renderer.domElement ); // in the demo, container is a div

You probably need to update the time uniform yourself, too ?

You don't seems to do anything with your 'mapContentTexture'. In the demo they add it to a MeshBasicMeterial then apply this material to the spheres.

You have the "Typescript global search" tool which allow to search (but not replace) for something in all the scripts at once.

Technically, if you work alone on your local server, you could edit the scripts assets with a regular text editor but I am not sure it's more practical than the in-engine editor.

D'où l'as tu téléchargé ?

Il me semble avoir eu la même chose avec la version provenant de https://github.com/superpowers-extra/lumberjack-ja...

Mais c'était avant la mise à jours d'il y a deux jours.

(Edited 3 times)

Depending on the library and how it works, I think you can just add its code to one of you Script asset.

You can also just make a link to the library hosted somewhere with a <script> tag then create the variable from your scripts :

// create the link to you lib
declare const window; const link = window.document.createElement("script"); link.src = "http://the link to your lib"; window.document.body.appendChild(link); // create the lib for you scripts to use
const theLib: any;

Until further notice, you only need a plugin to add Typescript definitions, which are not mandatory (but definitely nice to have).

Several users already provided access to "their" server, like me at some point I had one up at "superpowers.florentpoujol.fr:4237".

I guess what's needed (and what I wait for) is an authentification system more advanced than just a global server password.

It will come later and I will definitely put my server up again, but it's not necessarily a good idea to rely on other people's server because if the one you use is down you are screwed.

Pour le bouton, tu peux t'aider en plus de la vidéo de Dren :