The second one I just created is to show the 3d flags. I added a page displaying the flags of the last 3 registered on my website and the last visitors: https://bzhgames.xyz/stats2.php
By the way, with the library I use for flags, I can not use some objects like 3d text for example. Would someone have the same problem? and a solution?
Just a little note to inform you that I had to change a hoster for my site.
You can now test 3D games on the BZH Games website at https://bzhgames.xyz
Feel free to leave comments if you encounter problems or for any suggestion.
I am looking for a free software to model animated 3d characters to integrate them into a game with three.js.
I did not find anything in the different discussions.
Can someone advise me software to use?
I have a question about a problem with the transparency of PNG images.
On the Marvel Memory game I created, I display maps where I load the images with the following instructions:
var textureBack = new THREE.TextureLoader (). load
var material1 = new THREE.MeshPhongMaterial ({color: 0xFFFFFF, map: textureFront, shininess: 100, transparent: false});
And I do not know why, in general I have no problem, the transparent part is displayed in black and for some images, the transparent part is colored.
transparent: false is a likely cause of the problem.
I am sorry to see that your posts have been (almost) ignored for so long time. Do you have an updated link to the flag demo, that does not require registration/login?
I registered, anyway. Tried the Tetris clone. It works fine, except that the arrow keys scroll the page in addition to moving/rotating the bricks. You can avoid this by calling event.preventDefault() in the event handler (assuming the callback parameter is named event), and also I think it may be wise to make sure that the event handler is attached to the game DOM Element, to still allow scrolling when the game is not in focus.
Thank you for your message.
I just updated the link for the flags.
And I will test by modifying (transparent: false) to see if it corrects the problem.