Learned a lot! Made me rethink how to view and control visible stuff on screen. I had no idea each layer can effectively have its individual camera and that they can all zoom differently - like they all exist in different dimensions and bring back what they individually see to create the final screen that the player sees. I originally believed theres is only one true camera and that everything needs to be conformed to it.
I just purchased your Silver Plan today. You all have seriously changed my life. I am making games so much faster and easier than before. Thank you so much for all your hard work!
Create a timer at the beginning of scene, and then create an event with the condition "if timer is above X time", and the actions "add 1 to health"(Or whatever variable you're using) and "reset timer". Make sure the timer is of the same type and has the same name. 👍 -Wesley
It seems like I've found the game engine I was looking for. These videos are very helpful and inspiring. I've tried countless 2D game engines, but the ease of use of this engine plus the really helpful videos have led me to switch to GDevelop. Thanks for these videos.
Dunno if this will help, but it certainly helped me: When using "Enforce Camera Boundaries", you basically need to think of the size of your MAP that you want the character to traverse, rather than the position of any said camera. While it just so happens to be that they're the same thing, that kind of thing doesn't always mesh in my head-meats... :P Ergo, 'Left' = LEFT WALL's position, 'Top' = TOP WALL, 'Right' = RIGHT WALL, 'Bottom' = BOTTOM WALL (or the floor, depending). Pretty sure it wasn't written that way in interface for redundancy reasons, but my brain is made of mush sometimes, and I'd figured I'd share the experience. Maybe it'll help. :B Thanks, have a nice day, and happy game making~
Thanks for this.. The way Gdevelop handled cameras with each layer was super confusing for me, especially coming from a Construct-2 background. Took me a while to get my head around it. This tutorial will be great help.
Can you make a Link Object Tutorial soon? The example tutorial and wiki in GDevelop are too hard for me to understand. I've met a roadblock where I have this object that is used multiple times and I want it to have different actions. Example: A Tank object equipped with a Cannon object that have limited bullets, I spawn multiple copies of that each with a corresponding Cannon Object that have limited number of bullets.
Have 2 separate events, both for moving the camera for one of the players, and have a variable as the condition. Do something to change the variable from 0 to 1 and vice versa, and use the variable being 0 as a condition for 1 camera event and the camera being 1 for the other camera event. -Wesley
I got you my man: lerp(CameraCenterX(,0),Hero.X(),0.05) (Make sure that your player1 is actually the name of your character that you are following, as you can see my main character is called "Hero". Then add Point(.) X, not a comma. Ask if you still have questions!
Every cent you earn from your game is yours. We don't take any cuts. And currently we're focusing on making GDevelop the best no code 2D engine it can be. 👍 -Wesley
It zooms in but it doesn’t move along with the character. I’ve been trying to fix this for days, and I go to programming classes where they use gdevelop as their game engine, but the game I’m making right now has nothing to do with those classes, so I can’t really ask for any help currently. I don’t know why it’s not following the character since I did everything step by step. Any idea how to fix it?
Please I've been stuck on something as a newbie to Gdevelop5 😭. Please how would you make the camera move along a path instead of following the player?
There are actions for "tweening" the camera. Those are what you're looking for. 👍 We have a video on tweening objects, and the concept is pretty similar for the camera, so maybe watching that video will help. -Wesley
How do I make the camera zoom more or less depending on the distance between 2 players in a fight scene? I think a tutorial on the channel for cameras in local multiplayer games would be good, either for cases like mine or split screens.
Ok Google, show me where i am on a map. (You can I think duplicate the objects and clamps the position of the original objects under a new origin, I think I already see a tutorial for it on YT from someone else)
Put it on a different layer and don't use a camera on that layer. It'll stay where it is relative to the black rectangle you see in the game editor then. 👍 -Wesley
Hi, I really enjoy knowing more things about this incredible platform GDevelop... Thank you a lot for posting some tutorials that can help us, just a thing... I am making a game and i would like to add an action for escape, like : press ->
You could use a boolean variable, and toggle it back and forth with the toggle boolean variable action. And then if it's true set it to trigger using the right arrow, and if its false trigger with the left arrow. And then have a second variable that gets added to each time you press the keys until it reaches a certain number, and when it reaches that number you let the player have their controls back. Or at least that's the first way of doing it that comes to my mind. 😅 -Wesley
and what kind of magic? why if I move the character and the level to another layer and this formula stops working ...? and how to do if I need to place the character and the details of the environment on different layers? apparently the formula is tied to the base layer
@@GDevelopApp I have a layer "level" on it there is a character and the environment of the level and in the formula for the tutorial, of course, I set the layer "level". and the formula doesn 't work . I move everything back to the base layer and delete the layer name in the formula and normalize everything. of course, nothing prevents everything from being placed in the base layer, but if the game involves a lot of sprites, then it's damn difficult to place and change it all.
How I make the health bar stay where I want it. It stays in the same place but relative to the camera box and not the player, it also moves position when I resize the window. How do I prevent this?
Are there other objects in scene that are moving when you try to move the object with the camera centered on them? Maybe you could get rid of your events and try the smooth camera extension instead, it's shown in the top 10 extensions video. -Wesley
Very helpful as always, but just curious what would the camera number be for? All I can think of is to use it to jump between different cameras perhaps
Camera feature is currently not working on iPad just to make gdevelop aware. Camera doesn’t follow the player And player seems to follow the camera Tried a simple thing just to test this Added a static sprite for a background Added a character sprite and simply added a force to move right. On events simply added follow character(object) on x. Then nothing happens. Camera stays where it is and character goes right off the screen This does work on phone however
It doesn't work, my camera doesn't follow the player no matter what I do :( The square stays exactly the same when I try both methods and it doesn't even more even after changing the camera to every layer in the game
I suggest you take some screenshots of your events/what's happening in your game, and share that on the GDevelop discord/reddit to see if some community members there can help you. 👍 -Wesley
You move too fast Wesley. Not all of us know GDevelop like you do. You need to explain things to cave men in your videos if you want people to understand them. If you are noticing thousands of views on your video tutorials it is because everyone is still lost and they have watched your non helpful videos a thousand times trying to understand what to do when you only describe small portions of the techniques and you go so fast nobody can follow. I need more than a speed through crash course I need to know why things work when this program is so glitchy and everything I program crashes the system. I need to know why it seems to work for you but not me.
Learned a lot! Made me rethink how to view and control visible stuff on screen.
I had no idea each layer can effectively have its individual camera and that they can all zoom differently - like they all exist in different dimensions and bring back what they individually see to create the final screen that the player sees.
I originally believed theres is only one true camera and that everything needs to be conformed to it.
I just purchased your Silver Plan today. You all have seriously changed my life. I am making games so much faster and easier than before. Thank you so much for all your hard work!
Please Help. How to make countdown timer run in background to restore heart in platformer game in gdevelop.
Create a timer at the beginning of scene, and then create an event with the condition "if timer is above X time", and the actions "add 1 to health"(Or whatever variable you're using) and "reset timer".
Make sure the timer is of the same type and has the same name. 👍
-Wesley
@@GDevelopApp Thank you. But i also want the timer to run in background when the game is closed.so is there any way of doing that for now.
It seems like I've found the game engine I was looking for. These videos are very helpful and inspiring. I've tried countless 2D game engines, but the ease of use of this engine plus the really helpful videos have led me to switch to GDevelop. Thanks for these videos.
Dunno if this will help, but it certainly helped me:
When using "Enforce Camera Boundaries", you basically need to think of the size of your MAP that you want the character to traverse, rather than the position of any said camera. While it just so happens to be that they're the same thing, that kind of thing doesn't always mesh in my head-meats... :P
Ergo, 'Left' = LEFT WALL's position, 'Top' = TOP WALL, 'Right' = RIGHT WALL, 'Bottom' = BOTTOM WALL (or the floor, depending). Pretty sure it wasn't written that way in interface for redundancy reasons, but my brain is made of mush sometimes, and I'd figured I'd share the experience. Maybe it'll help. :B
Thanks, have a nice day, and happy game making~
Thanks for this..
The way Gdevelop handled cameras with each layer was super confusing for me, especially coming from a Construct-2 background. Took me a while to get my head around it.
This tutorial will be great help.
Great tutorial! Would be amazing to have a maps tutorial or a cut-scene tutorial. Thanks! Keep the good work
Thank you so much, this helped me A LOT with a game I am currently working on.
will love to know if its possible to create a VHS or a fake 3D filter
Thanks mate, i was searching for this
Can you make a Link Object Tutorial soon?
The example tutorial and wiki in GDevelop are too hard for me to understand.
I've met a roadblock where I have this object that is used multiple times and I want it to have different actions.
Example:
A Tank object equipped with a Cannon object that have limited bullets, I spawn multiple copies of that each with a corresponding Cannon Object that have limited number of bullets.
We made an object picking tutorial, but it neglected linking objects, so that's definitely an oversight. I'll add it to the list. 👍
-Wesley
is it possible to show how to swap cameras between characters and make the camera follow player
Have 2 separate events, both for moving the camera for one of the players, and have a variable as the condition. Do something to change the variable from 0 to 1 and vice versa, and use the variable being 0 as a condition for 1 camera event and the camera being 1 for the other camera event.
-Wesley
Thanks! is there any way to center the camera in between two objects?
When I did this, the camera is off-center and it won't center on my character. It's making my character sit off to the right and I don't want that.
Try using .centerX() instead of .X(). 👍
-Wesley
@@GDevelopApp That did the trick! Thanks!
lerp(CameraCenterX(),Player1,x(),0.05) mine isn't working
Me either. They really should have updated tutorials. But ill keep trying and bring info if i figured it out.
I got you my man:
lerp(CameraCenterX(,0),Hero.X(),0.05)
(Make sure that your player1 is actually the name of your character that you are following, as you can see my main character is called "Hero". Then add Point(.) X, not a comma.
Ask if you still have questions!
No ita because u put a comma instead of a period on player1.x it's supposed to be .x not ,x
I have two questions, if I publish the game I made with gdevelop and earn money, will I give you a share and will the 3d feature come?
Every cent you earn from your game is yours. We don't take any cuts.
And currently we're focusing on making GDevelop the best no code 2D engine it can be. 👍
-Wesley
as always an useful and well explained tut, thank you.
I watched this to move my camera for the title sequence. No player input to map too. It's proving very challenging.
I have a question: How can I make multiple cameras display at the same time? Something like the split-screen multiplayer in Super Mario Kart
It zooms in but it doesn’t move along with the character. I’ve been trying to fix this for days, and I go to programming classes where they use gdevelop as their game engine, but the game I’m making right now has nothing to do with those classes, so I can’t really ask for any help currently. I don’t know why it’s not following the character since I did everything step by step. Any idea how to fix it?
Please I've been stuck on something as a newbie to Gdevelop5 😭. Please how would you make the camera move along a path instead of following the player?
There are actions for "tweening" the camera. Those are what you're looking for. 👍
We have a video on tweening objects, and the concept is pretty similar for the camera, so maybe watching that video will help.
-Wesley
Really helpful Tutorial
How do I make the camera zoom more or less depending on the distance between 2 players in a fight scene?
I think a tutorial on the channel for cameras in local multiplayer games would be good, either for cases like mine or split screens.
Just do "Distance between (player 1) (player 2) = Change camera zoom" aslong as they're seperate objects
HOW to do maps( show player location)
Ok Google, show me where i am on a map.
(You can I think duplicate the objects and clamps the position of the original objects under a new origin, I think I already see a tutorial for it on YT from someone else)
@@aurel3117 i want do a profesional map like pubg, mobile legend or any big game. Their map very professional
As always great tutorial. Thx!
G develop can you tell full method of
exporting game to the play Store from zero
I would love to see a tutorial on split screen.
how do i make the ui follow the camera?
Put it on a different layer and don't use a camera on that layer. It'll stay where it is relative to the black rectangle you see in the game editor then. 👍
-Wesley
@@GDevelopApp thanks
Really good guide, thanks a lot.
Hi, I really enjoy knowing more things about this incredible platform GDevelop... Thank you a lot for posting some tutorials that can help us, just a thing...
I am making a game and i would like to add an action for escape, like :
press ->
You could use a boolean variable, and toggle it back and forth with the toggle boolean variable action. And then if it's true set it to trigger using the right arrow, and if its false trigger with the left arrow. And then have a second variable that gets added to each time you press the keys until it reaches a certain number, and when it reaches that number you let the player have their controls back.
Or at least that's the first way of doing it that comes to my mind. 😅
-Wesley
and what kind of magic? why if I move the character and the level to another layer and this formula stops working ...? and how to do if I need to place the character and the details of the environment on different layers? apparently the formula is tied to the base layer
You can set which layer is effected in the camera action. 👍
-Wesley
@@GDevelopApp I have a layer "level" on it there is a character and the environment of the level and in the formula for the tutorial, of course, I set the layer "level". and the formula doesn 't work . I move everything back to the base layer and delete the layer name in the formula and normalize everything.
of course, nothing prevents everything from being placed in the base layer, but if the game involves a lot of sprites, then it's damn difficult to place and change it all.
@@GDevelopApp I figured out how to do it, it dawned on me)))
Why always my camera shows out of the scene? Left and bottom side, can’t find any solution for that I’m starting to giving up :(
How I make the health bar stay where I want it. It stays in the same place but relative to the camera box and not the player, it also moves position when I resize the window. How do I prevent this?
Thanks again, could you please make a video on how to avoid screen touches to be accounted for again after the scene has changed ? thanks.
Can we play online games with gdevelop?
yup. 👍
-Wesley
my object cant move when i center the camera on it
Are there other objects in scene that are moving when you try to move the object with the camera centered on them?
Maybe you could get rid of your events and try the smooth camera extension instead, it's shown in the top 10 extensions video.
-Wesley
@@GDevelopApp i deleted the event and redone it and it worked,thanks
Very helpful as always, but just curious what would the camera number be for? All I can think of is to use it to jump between different cameras perhaps
how to animate a palyer and enemyes death with timer and flashblink please 🙏🏼
i already lknow this stuff from trial and error and experimenting, but i just cant NOT watch a GDevelop video
How to make camera follow mouse slightly
nice more tutorial
can you help when putting things they get hidden
Camera feature is currently not working on iPad just to make gdevelop aware.
Camera doesn’t follow the player
And player seems to follow the camera
Tried a simple thing just to test this
Added a static sprite for a background
Added a character sprite and simply added a force to move right.
On events simply added follow character(object) on x.
Then nothing happens. Camera stays where it is and character goes right off the screen
This does work on phone however
Can You Make a Bossfight Tutorial
Can I create procedurally generated land and water
Como fazer para o controle ficar seguindo a câmera? Os controles fica para trás depois que a câmera avançar
É isso que eu queria resolver,pois estou fazendo um jogo pelo celular
How can I make different rooms?
Hi, could it be possible to make something like Questlord/Eye of the Beholder with Gdevelop? A first person Dungeon Crawler?
how about we get a full tutorial on fighting games or how to make smart IA in a game who gets harder on every new level or difficult
i hope in future they should add 3d feature🔥🔥🔥🔥🔥
There's a 3d extension
This aged well😅
😂😂
Shenron : wish granteeeed
I have some questions like
Can I make a board game 🎲 ?
Can I make a 2.5D game 🎮 ?
Can I make a RPG game ⚔ ?
Can I make an online game 🌐 ?
The answer to all those questions is... Yes, of course it is possible!
Thanks for your answers
KamiQu
Aaron Piñero
And my brain just turned melted lol, I’m going to put this on half speed.
It doesn't work, my camera doesn't follow the player no matter what I do :( The square stays exactly the same when I try both methods and it doesn't even more even after changing the camera to every layer in the game
I suggest you take some screenshots of your events/what's happening in your game, and share that on the GDevelop discord/reddit to see if some community members there can help you. 👍
-Wesley
Please do on these tutorila
Thank you :D
I don't understand the comand are hard, in especial lerp()Unknow and this
Ademas hablo español
I'm speak spanish
Need a advanced tutorial, because when we put some objects in different layers, a lot of bugs happened.
Bugs like what exactly? 🤔
-Wesley
How to do p2p games?
good tutorial, although I would like it in Spanish :D
how to make a turn based strategy game?something like chess?how to set chess pc ai?
Chess AI is way too advanced I think if you're just starting like me
how to add a boss fight tutorial
a tutorial on using java? 😁
doesnt work
чсм
You move too fast Wesley. Not all of us know GDevelop like you do. You need to explain things to cave men in your videos if you want people to understand them. If you are noticing thousands of views on your video tutorials it is because everyone is still lost and they have watched your non helpful videos a thousand times trying to understand what to do when you only describe small portions of the techniques and you go so fast nobody can follow. I need more than a speed through crash course I need to know why things work when this program is so glitchy and everything I program crashes the system. I need to know why it seems to work for you but not me.