I got curious because I wanted to do this for a game I'm making, and now I feel stupid because I didn't see this. This is a great tutorial though, thanks. Definitely earned a subscriber today.
This was the thing I was searching BT couldn't find ...I tried many methods...neither of them worked correctly.....and knowing gdevelop had option that was actually so easy...its making me feel dumb....😂...loved ur video ✨
thanks for clarifying the behaviors, i had been wondering what was the tween and anchor behavior.. yesterday you cleared one, now the other.. thanks man..! good workaround for middle anchor!
Hey. I'm having a problem centering the object to a screen so if someone else is having the same problem then here is a fix: Condition: Always; Action: X position of an object 🡺 Modification's sign: = (set to) ; Value: SceneWindowWidth()/2-YourObjectName.Width()/2 🡺 Click OK
Thanks you :) the art you see in this tutorial is just some old art i made for a project i have never started, so this is not in development. I do have another game i am working on, but that one will go first on Windows, Mac and Linux.
@@cltr_shft Hi! I used your tutorial and helped me a lot with my touch buttons and life counter. When I was about to put my scoreboard in the middle of the screen after the level is completed I came up with a problem, when I added the Always_SceneWindowWidth()/2 my object aligned to the left on the center of the screen instead of been aligned center on the center of the screen. If this happens the fix I found was to set the origin point of the object = to the Center point and then is going to align perfectly to the screen width. Once Again thank you for your tutorials!🤘
hey man I have a question. I want at the beginning of the game, the player to be in the left side of the screen, and after he run in the right like every platformer game, the camera to start follow the player. so I don't want the player to be in the center of the screen, but in the left corner of the screen and from there camera to follow him. How can I do that?
Hey, so i never done this, but i guess you could: 1. create an invisible object that always follows your players (or hitbox) Y position. 2 center your camera on that object 3. when you touch that object, switch the camera to follow your player sprite (or hitbox). I hope that makes sense :)
It depends from the size of your assets and target device , in a few words: think what are the main aspects ratio screens you are building your game for,l? are your assets too small or to big on these screens? and then adopt proper resolution based on that :)
Hey, yes i am planning to do that, but for now you can take a look at this video: ua-cam.com/video/ZMhXqmVtVLo/v-deo.html i've implemented smooth camera in my game following that video, hope this helps
For this one in particular it was something random, like 240x170 or something, because that was the whole point of the tutorial, doesn't matter what resolution is, you will still stick your ui in the right places
I got curious because I wanted to do this for a game I'm making, and now I feel stupid because I didn't see this.
This is a great tutorial though, thanks. Definitely earned a subscriber today.
Thanks fro watching and for subscribing :) glad that i was able to help
I was out from youtube for only 3 days and when I'm back, you have 3 new AWESOME tutorials! Loved that!
=
Eheh thanks :) I was feeling productive in the past couple of days :)
I'm pretty sure God created you to answer all of my GDevelop questions. Thank you so much!
This was the thing I was searching BT couldn't find ...I tried many methods...neither of them worked correctly.....and knowing gdevelop had option that was actually so easy...its making me feel dumb....😂...loved ur video ✨
Me: *casually makes an error*
My brain: "And where did that bring you... right back to Wishforge Games"
thanks for clarifying the behaviors, i had been wondering what was the tween and anchor behavior.. yesterday you cleared one, now the other.. thanks man..!
good workaround for middle anchor!
Thanks for watching :) i am glad that i've been able to help you
Man i just
I love your tutorials
Thank you :)
Thank you! I had not found information about this topic, excellent tutorial.❤️
Thank for watching :) and I am very glad this helped
Hey. I'm having a problem centering the object to a screen so if someone else is having the same problem then here is a fix:
Condition: Always;
Action: X position of an object 🡺 Modification's sign: = (set to) ; Value: SceneWindowWidth()/2-YourObjectName.Width()/2 🡺 Click OK
I had this same problem. Thanks for the solution
Thanks you so much sir,
Im so glad I helped !
This is what I've been trying to do.
Thanks, man!
Thanks :) glad I have helped
Your channel is awesome and very helpful. The content is very easy to understand. I'm a Big Fan!
Thanks you for such great feedback :) I am glad that I have been able to help . More videos are coming up, so stay tuned
Nice tutorial, Thanks
this helped me a lot, thanks! awesome channel!
Thanks for watching :) I am glad I could help
I wish I'd known about this back when I used gdevelop. I used to just constantly set objects' positions to a fraction of the screen width lmfao
Kudos on this tutorial!
I just ran into a glitch where objects containing tweening events don't seem to anchor properly😕
These tutorials are so helpful, thanks
And is this game coming to mobile?
Thanks you :) the art you see in this tutorial is just some old art i made for a project i have never started, so this is not in development. I do have another game i am working on, but that one will go first on Windows, Mac and Linux.
Can u tell me where do u get those pixel art ui and characters and tilesets
great man
Nice tutorial
Thank you :)
Wooh nice tutorial brother, you're the best,👍👍👍
Thank you ! :) thanks for watching and support
when I tried to have the button anchored, the image distorted and stretched to offscreen area
Amazing tutorial! thanks🤘
Thanks :)
@@cltr_shft Hi! I used your tutorial and helped me a lot with my touch buttons and life counter.
When I was about to put my scoreboard in the middle of the screen after the level is completed I came up with a problem, when I added the Always_SceneWindowWidth()/2 my object aligned to the left on the center of the screen instead of been aligned center on the center of the screen.
If this happens the fix I found was to set the origin point of the object = to the Center point and then is going to align perfectly to the screen width.
Once Again thank you for your tutorials!🤘
hey man I have a question.
I want at the beginning of the game, the player to be in the left side of the screen, and after he run in the right like every platformer game, the camera to start follow the player.
so I don't want the player to be in the center of the screen, but in the left corner of the screen and from there camera to follow him. How can I do that?
Hey, so i never done this, but i guess you could: 1. create an invisible object that always follows your players (or hitbox) Y position. 2 center your camera on that object 3. when you touch that object, switch the camera to follow your player sprite (or hitbox). I hope that makes sense :)
@@cltr_shft Thank you! I appreciate your help!
Amazing simple tutorial 👍👍👍👍
damn nice video bro
btw i subbed
Thanks for watching and subscribing :) i really appreciate it
This helped me on my project
I am very glad I could help :)
Man only now i came to know that ancor is used for that thankyou:)
Gokul dev yeah , anchors are very useful :) np
@@cltr_shft i will use that for the ui thanks for that vedio. Or els i wont know that it is used for that thankyou:)
Thanks a lot sir😊😊
what is the best resolution for pixel games?
It depends from the size of your assets and target device , in a few words: think what are the main aspects ratio screens you are building your game for,l? are your assets too small or to big on these screens? and then adopt proper resolution based on that :)
This is great tutorial....really easy and helpful
So when I did this, then tried it on my mobile device, even after I released the button, it wouldn’t stop. I haven’t figured it out yet. Any help?
At the beginning of the scene add event: De/activate moving the mouse cursor with touches, and set it to NO
You the best!
:D Thanks, just trying to make some useful content
Can I have this asset pack
please, make video about smooth camera movenent!
like👍🏻
Hey, yes i am planning to do that, but for now you can take a look at this video: ua-cam.com/video/ZMhXqmVtVLo/v-deo.html i've implemented smooth camera in my game following that video, hope this helps
@@cltr_shft thanks :-)
Make a video on saving levels
Yes, I am definitely doing that :)
Yo found you from you subbing to me and your channel is awesome keep it up 👍
Thanks ! :) glad you like it
the mustache is a lie
What this project resolution?
For this one in particular it was something random, like 240x170 or something, because that was the whole point of the tutorial, doesn't matter what resolution is, you will still stick your ui in the right places
@@cltr_shft Thank you so much
@@cltr_shft How does it look good when the resolution of your game is so low?