Hey Pandako, i have been asked by multiple people how to make an FPS style mouse movement , and then i saw that you are showing videos on this page, so i thought i would make a video and hopefully you can show it on your page
I hope it will help people with making their 3d games
It shows how to make a first person and third person game with mouse movement from scratch
Pandako hello, can you PLEASE EXPLAIN how to make a collision on an example box? Well, or the wall. I just don't understand at all :( Or send me a link to a video tutorial.
Again, it is difficult to explain everything about collisions here. The game you can play on this page is the "Dungeon Example" included in the examples. Or I suggest you wait for someone to make a tutorial video.
It’s just that I have a difficult project there, and there must be. If anything, if there is an error in the text, then know that I speak English poorly, I use a translator in the keyboard.
Panda hello, sorry to ask again, but can you please explain how to make a collision. So that the player does not pass through the object, in messages, because I can’t find it on YouTube. Thank you!
the reason we (or at least i) want this extention is because we (i) don't want to have to code so much junk. gdevelop offers an easy no-code interface, unlike godot.
Yes, I know. The examples give you plenty of help to get it working. There is no need to keep badgering Pandako to answer questions when there are already extensive examples which can be modified for your own projects. Also see above for video guides as well.
I want to add lighting myself via javascript (code within the event sheet, not like making another extension), but idk what the hell am i doing and looking up online doesnt seem to help. any ideas?
also any way to contact on discord or something?, just in case i want to ask some question in the future
I started thinking about this a few weeks ago. Your best bet is to read the threejs documentation/tutorials/books available and hack something in for now.
Hello again pandako. I have a new request, make a separate video on how to make controls for a 3d game with turns. In the video about how to translate from 2d to 3d, the control does not work there. Thank you in advance!
The extension in the video is an older version, but the camera behavior hasn't changed much since then, so the current version doesn't change how you use it.
I recommend that you check the video carefully once again.
What OS are you using? I'm on macOS, and I've copied the file path from resources in Gdevelop, but still, the sky is pink. Would you happen to have any advice?
This extension has been a lot of fun to use. I can't figure out how to rotate the camera object up and down like you can do with the rotate 3d camera action though, or how to move the camera with the mouse like in fps games.
Previously in my game i had the player as a platformer character with everything set to 0 and everything he collided with was a platform, this made the player shake when going diagonally into an object. A better ad much easier solution (which i am using now) is to just have an event like this
In which "Platforms" is a group of all the objects you want your player to collide with
For the controls use the mouse pointer lock extension and have some events like this
In which the variable sensitivity is set to the sensitivity of the mouse
Then you are going to move the player according to it's angle like this
Let me know if you want help with anything else or didn't understand something
I am trying to change the opacity (or any effect) on a tiled object over time, but when I try to the object keeps disappearing. Is this currently supported?
I understand that it is possible to change opacity of loaded 3d objects, but what about 2d ones that the behavior makes 3d?
'Change Tiled Sprite opacity' hasn't done anything, even if I set it to zero or one hundred. The alpha channel test makes the block vanish entirely if set to 0.5, and the block stays fully visible if set to 0. Thanks for your help!
This might be worded wrongly, but if you hide the mouse and use the Mouse Pointer Lock extension, you can rotate the camera on the X and Y using MouseMovementX() and MouseMovementY() (or something like that.) If you want it so he doesnt just walk straight into where you are looking (aka if you want a minecraft like game) you would make a cube, and set the cameras position to that cube at every frame, then position the cube for moving and rotate the camera for the head looking around. Sorry. That's a lot. Hopefully that helped!
ayo what up, this is like the best extension in gdevelop 5 but there is a slight problem, it doesn't appear to work on android, could ya try look into it or respond if not possible? anyways really appreciate the extension 👍
i released a game not so long ago and noticed the android build is stuck on black screen when rendering 3d objects.
I have created a box by giving a sprite projection behavior to a sprite, then I want to rotate that box but I don't have its ID, I tried its name, the file name of its image, and the ones given by the "Output all IDs to console" event. None of them worked. Am I missing something?
It would be useful to be able to choose an ID when assigning a 3D behavior.
And thank you for the cool extension, it's awesome.
is there a possibility of releasing a few free examples, that show really basic function? The videos are kind hard to follow, cuz there is no speech, and i have NO IDEA what some of the values youre changing do.
I like your extension, but it look like the player just stay in ground. Is it possible make the player to jump and go up/ go down to multiple floor?? thank you very much
Hi! i loved your extension im even making a game on it! can i make videos on my channel about my games using your extension and putting your name in the video?
Thank you for creating this, really amazing job... I have just little suggestion - it would be great to have possibility to change sprites animation according to their direction towards camera/player - like characters in old-school fps-games... I have tried to do it myself, it seems my coding skills are to weak for this...
Hi, thank you for this amazing extension that you are sharing with us! I was wondering if there was any ways to animate the texture of a 3D plane? I tried with Replace 3D Texture and a timer, but it's limiting itself to only one instance of the 3D plane.
← Return to project
Comments
Log in with itch.io to leave a comment.
hello, pandako
is it possible to make a 3d camera behavior look up and down? if so, how do i make the camera look up and down?
Make sure to disable link angle in the linked camera options
Check out my tutorial video above for help on making an FPS style game with mouse movement
Hey, is there any way I can animate OBJ?
Hey Pandako, i have been asked by multiple people how to make an FPS style mouse movement , and then i saw that you are showing videos on this page, so i thought i would make a video and hopefully you can show it on your page
I hope it will help people with making their 3d games
It shows how to make a first person and third person game with mouse movement from scratch
Video link :
Thanks for the great work. 👍
Pandako hello, can you PLEASE EXPLAIN how to make a collision on an example box? Well, or the wall. I just don't understand at all :( Or send me a link to a video tutorial.
Just buy the examples, it is $5 and supports the developer.
Hi GosSammer,
Sorry, it's difficult to explain how to do that here. See the example provided for that.
Note that 3D collision is not yet implemented.
How did you do it in the web example then? Or how does a person from above write, only for money?
Again, it is difficult to explain everything about collisions here. The game you can play on this page is the "Dungeon Example" included in the examples.
Or I suggest you wait for someone to make a tutorial video.
It’s just that I have a difficult project there, and there must be. If anything, if there is an error in the text, then know that I speak English poorly, I use a translator in the keyboard.
How do you make the camera always face a sprite in all directions?
Wouldn't you just do this
That's great for rotating the camera left and right but it doesn't work for following a sprite up and down.
Panda hello, sorry to ask again, but can you please explain how to make a collision. So that the player does not pass through the object, in messages, because I can’t find it on YouTube. Thank you!
Standard Gdevelop collision works fine.
I know, but in 3d it apparently cannot be done (
Yes it can, and it works. If you are so keen on working with 3D immediately, get Godot. It supports 3d and the tutorials are extensive.
the reason we (or at least i) want this extention is because we (i) don't want to have to code so much junk. gdevelop offers an easy no-code interface, unlike godot.
Yes, I know. The examples give you plenty of help to get it working. There is no need to keep badgering Pandako to answer questions when there are already extensive examples which can be modified for your own projects. Also see above for video guides as well.
I want to add lighting myself via javascript (code within the event sheet, not like making another extension), but idk what the hell am i doing and looking up online doesnt seem to help. any ideas?
also any way to contact on discord or something?, just in case i want to ask some question in the future
I started thinking about this a few weeks ago. Your best bet is to read the threejs documentation/tutorials/books available and hack something in for now.
How to make collision, Such a collision as you have in the webgame from above?
Please refer to the video or example. "Dungeon Example" and others may be useful to you.
Hello again pandako. I have a new request, make a separate video on how to make controls for a 3d game with turns. In the video about how to translate from 2d to 3d, the control does not work there. Thank you in advance!
Hi GosSammer,
The extension in the video is an older version, but the camera behavior hasn't changed much since then, so the current version doesn't change how you use it.
I recommend that you check the video carefully once again.
Pandako hello, I have a request. Make at least a small video on how to make a 3d model in 3d games. Thank you!
Hi GosSammer,
Thank you for your request.
3D modeling (creating 3D models in 3D games) is not possible with this extension.
Please use 3D modeling software (e.g. Blender) to create 3D models.
I will soon be making a video on how to import OBJ files generated by 3D software.
Okay, thank you
“Your scientists were so preoccupied with whether they could, they didn’t stop to think if they should.”
JK this is sick.
how to make collision like in the demo project?
Please refer to the video or example. "Dungeon Example" and others may be useful to you.
Is there any way to add gravity or jumping?
I have yet to create a full 3D platformer. With "Move 3D Object" and "Raycast" it might be possible.
There are people who have already achieved those things.
This is absolutely amazing, but I can't for the life of me figure out how to make an object face the camera.
If you're talking about directional/rotational sprites or whatever they're called, there's an example and also a youtube video.
The dungeon example on this game looks good, but the controls are frustrating. I suggest this:
Move forward/backward: Up/Down arrows or W/S keys
Move sideways: Left/Right arrows or A/D keys
Look around: Mouse
I can make this.
how did you do ? can t success to move in the good direction while free mouse look active
Do you have discord? I cant send it here bc of errors
of Course, ChoKo#0841
Thanks a lot :)
ok i sent reques
I don't understand how to add a skybox, every time i add it the sky just turns pink
I got the skybox to work by putting in the resource name of an image into the create 3D scene action
What OS are you using? I'm on macOS, and I've copied the file path from resources in Gdevelop, but still, the sky is pink. Would you happen to have any advice?
This extension has been a lot of fun to use. I can't figure out how to rotate the camera object up and down like you can do with the rotate 3d camera action though, or how to move the camera with the mouse like in fps games.
try turning off link angle in the linked camera behaviour
i made the camera work with the mouse like this and it works fine
this is my game so far : https://liluo.io/instant-builds/23f55b0d-0259-45a3-9ff5-984af52236f2
you can't actually do anything yet but the camera works
as you can see the sky is pink as i am trying to add a skybox
the variable sensitivity is just the sensitivity, try setting it to 10
thats so sick but the image u uploaded isn't showing
figured it out I used the mouse lock extension
For me it says this is invalid
You need to use the mouse pointer lock extension
hey there! can you tell me how to prevent the player from shaking when we hi a box or wall and how o make walls?
Thanks
i ve got the camera work with the mouse but can t get movement working well, any idea ? when pushing key, not going in the camera direction
also change the angle of the camera object using mouse pointer lock
hey there! can you tell me how to prevent the player from shaking when we hit a box or wall and how to make walls?
and i have setup camera but how to setup controls with it?
Previously in my game i had the player as a platformer character with everything set to 0 and everything he collided with was a platform, this made the player shake when going diagonally into an object. A better ad much easier solution (which i am using now) is to just have an event like this
In which "Platforms" is a group of all the objects you want your player to collide with
For the controls use the mouse pointer lock extension and have some events like this
In which the variable sensitivity is set to the sensitivity of the mouse
Then you are going to move the player according to it's angle like this
Let me know if you want help with anything else or didn't understand something
I also have setup the camera but can you tell me how to setup the controls because camera angle is off
Hey, do you know how to make the camera move in the direction your looking in? Thanks.
I think you should look at this
https://itch.io/post/7089159
Hey Abdullah! Can you share your event sheet with me if you dont wanna share it publicly tell me on which Platform can you send it privately
How would i share the event sheet? Just pasting images or what?
The control to move from the video does not work. And how do you make a coli?
coli? collision?
Please refer to the video or example.
Sorry, yes colision.
By the way, smooth control does not work for me, like you do in this video
For some reason, it always spins for me, and goes along the same line. So I like everything, but not all of the videos and tutorials work :(
By the way, I have a question, but in order to make 3D models in the game, you need to write a huge code?
No, you can use OBJ format files. Please read the description above for details.
Nothing is clear with OBJ :(
How do I add 3D models??
Please refer to the video or example.
"Viewer Example" and "Load OBJ format example" may be useful to you.
I followed the Getting Started tutorial, but it was such a disappointment. 😟
No matter what I do, it only renders a plain-coloured background, nothing else is rendered.
What might I be doing wrong?
I’m running WithThreeJS 0.6.2 on GDevelop 5.1.151, over Debian GNU/Linux
bookworm/sid
.Check the following points
Hey PANDAKO! Thanks for your reply.
I’ll try again, paying attention to the opacity next time.
Thanks!!
Yeah, it seems to be the cause indeed.
The result wasn’t the same as the tutorial (only a plain-green cube is shown), but at least something is rendered now.
Thank you very much for the tip!
I am trying to change the opacity (or any effect) on a tiled object over time, but when I try to the object keeps disappearing. Is this currently supported?
I understand that it is possible to change opacity of loaded 3d objects, but what about 2d ones that the behavior makes 3d?
Check the following points.
'Change Tiled Sprite opacity' hasn't done anything, even if I set it to zero or one hundred. The alpha channel test makes the block vanish entirely if set to 0.5, and the block stays fully visible if set to 0.
Thanks for your help!
Show post...
I have problem with 3D models. I can remove 3D Boxs or 3D Planes but not 3D models.
Anyone have solution ?
PS : I use 0.6.2 version.
Thanks for letting me know.
I have confirmed that deleting 3D objects fails. I am currently working on this issue.Completed!Version 0.6.3 has been released.
Fixed a bug in "Remove 3D Object".
Question how do you exactly make collisions i saw a comment but it was 50 days old so I wanna know what is the best way to make collisions?
There's a collision example. Also, if you're using sprites, you do collision the same was as in 2D Gdev: Separate Objects.
hello again 👋
i wanna ask if its possible to assign an id to a sprite with one of the behaviors like SpriteProjection
Hi 👋
You can't set the 3D Object ID, but you can get it with the behavior's string expression "3D Object ID".
i didn't know the extension had a behaviour string 😅
thx though 👌
I’m using the extension and for some reason, the animations won’t work, it’s just static pls help.
and add 3D models
Go into "Edit Object" on the sprite, click advanced options, and uncheck the "Don't play the Animation etc. etc" box
I'd like to know too!
This might be worded wrongly, but if you hide the mouse and use the Mouse Pointer Lock extension, you can rotate the camera on the X and Y using MouseMovementX() and MouseMovementY() (or something like that.)
If you want it so he doesnt just walk straight into where you are looking (aka if you want a minecraft like game) you would make a cube, and set the cameras position to that cube at every frame, then position the cube for moving and rotate the camera for the head looking around. Sorry. That's a lot. Hopefully that helped!
So if I just want to make a doom clone (only look left and right, not up and down), what do I do then? I have the extension.
EDIT: Nevermind, it's in the "Sprite Projection" example! Cool!
ayo what up, this is like the best extension in gdevelop 5 but there is a slight problem, it doesn't appear to work on android, could ya try look into it or respond if not possible? anyways really appreciate the extension 👍
i released a game not so long ago and noticed the android build is stuck on black screen when rendering 3d objects.
Works fine for me
did u try apk or web build? web builds work fine on android
ok, I was just testing web
Hi dar-kice,
Thanks for letting me know.
I have confirmed the issue on Android (apk). I am currently working on this issue.Completed!alright
also does the extension have a wiki somewhere or are the examples the only way to understand the full extension?
No documentation for now. I would suggest referring to the example.
ok
Version 0.6.2 has been released.
Fixed an issue where 3D scenes were not displayed in the Android app.
thx
Hello
I have created a box by giving a sprite projection behavior to a sprite, then I want to rotate that box but I don't have its ID, I tried its name, the file name of its image, and the ones given by the "Output all IDs to console" event. None of them worked. Am I missing something?
It would be useful to be able to choose an ID when assigning a 3D behavior.
And thank you for the cool extension, it's awesome.
Hi Lounes99,
Have you tried the behavior string expression "3D Object ID"?
Also, some 3D actions have no effect on objects using behaviors. Because the 2D object values take precedence.
e.g. position, rotation etc.
It doesn't work
As explained earlier, that will not work. If you want to rotate freely, create and control 3D objects using only 3D actions, not behaviors.
Okay then, sorry.
Thanks for the answers.
Also, Im making a really cool maze game with this extention, its not finished, but you can still try it out. click here to play
is there a possibility of releasing a few free examples, that show really basic function? The videos are kind hard to follow, cuz there is no speech, and i have NO IDEA what some of the values youre changing do.
I'm sorry. I do not offer examples for free.
Can you point me specifically to that video and its time?
Its okay, the videos dont go over the concept im trying to figure out anyway.
I like your extension, but it look like the player just stay in ground. Is it possible make the player to jump and go up/ go down to multiple floor?? thank you very much
Yeah, change the z order of an object, its basically the y in top down movement.
Thank you very much
I liked your extension, but i have a question. How to make a camera not to permeate with box or with wall?
Hi Xgames studios,
Please refer to the video or example.
"Dungeon Example" and others may be useful to you.
is there even a kit? its not working these days...
What exactly is a kit?🤔
example of a game, sorry if you don't understand😅
Buy the examples download.
Hi! i loved your extension im even making a game on it! can i make videos on my channel about my games using your extension and putting your name in the video?
Hi think3,
Yes, you can do them.
Ty, it means a lot to me as a dev.
can you give the link to your game?(if its published on itch.io or liluo, if not, thats ok)
sure BurgerHead | Play on Liluo.io
Thanks!! Ill try it out as soon as I have some time.
Hi, friend! I liked your extension! Could I use it in commercial products? I'll be very happy! maxSkg
Hi maxSkg,
This extension is MIT License so you can use it in commercial projects.
Thank you for creating this, really amazing job... I have just little suggestion - it would be great to have possibility to change sprites animation according to their direction towards camera/player - like characters in old-school fps-games... I have tried to do it myself, it seems my coding skills are to weak for this...
Hi maeli,
Please see this video.
Thank you! I followed this tutorial, it works great!
Hi, thank you for this amazing extension that you are sharing with us! I was wondering if there was any ways to animate the texture of a 3D plane? I tried with Replace 3D Texture and a timer, but it's limiting itself to only one instance of the 3D plane.
Hi yakisoba88,
Use the "For each object" event.
I created platformer 3D with this extension !
https://antoine-sertling.itch.io/test-platformer-3d-gdevelop-5
I hope GDevelop's team buys this and turn it into an official feature :)