Тёмный

Make a Platformer in GameMaker! Part 3 (Smooth Camera) 

Peyton Burnham
Подписаться 21 тыс.
Просмотров 12 тыс.
50% 1

Part 3 of 9! This topic is unrelated to the core platformer mechanics so if you don't need it feel free to skip it or come back to it whenever you want! You can also download the fully finished project file for this series on my Patreon!
Patreon: / peytonburnham
Wishlist Starcross Starcade Special! store.steampow...
Rose of Starcross Trailer: https: // • Rose of Starcross Kick...
Starcross Starcade Special Trailer: • Starcross Starcade Spe...
My tweets: / peydinburnham
Rose of Starcross Demo: peytonburnham....
Discord: / discord
My twitch: / peydinburnham

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 56   
@RemainingAxis565
@RemainingAxis565 7 месяцев назад
Anyone else here watching tutorials For fun?
@Dark_Peace
@Dark_Peace 7 месяцев назад
Anyone else watching tutorials without even using this engine ?
@NanoDun
@NanoDun 6 месяцев назад
Hey man I LOVE this series so much! I can't take you enough for doing this tutorial this is by far the best one i've seen. Also I know i'm late but i've got a question: my camera doesn't want to follow my player even though go at a low Y axis. (up) so my player will just get out of the camera's range and will continue to go up without the camera following. Got any ideas of what causes that?
@o2arya104
@o2arya104 5 месяцев назад
In ur //contrain cam to room, u must have clamped it 0 for the minimum value, but if ur player goes below 0 (in this case, above 0), the camera will stop following cause its not supposed to go above 0. Try changing the second value of the _camY = (a,b,c) to what fits ur game/ ur room size
@Fire_Jacket
@Fire_Jacket 3 месяца назад
getting somewhere
@MatTheInsomniac
@MatTheInsomniac 2 месяца назад
IMPORTANT!!!: If your fullscreen thing doesn't work, make sure three things happen: 1. You went into the options, then windows, then graphics, and Allow fullscreen switching is on 2. You deleted the camera after the buffering room which already has a camera (must be a persistent object!) 3. You typed: if keyboard_check_pressed(vk_f11) { window_set_fullscreen(!window_get_fullscreen()); } (You can use any vk key, I just preffer f11)
@JoeKashuba
@JoeKashuba Месяц назад
Thank you!
@MatTheInsomniac
@MatTheInsomniac Месяц назад
@@JoeKashuba No worries :)
@CaztheAxolotl
@CaztheAxolotl 20 дней назад
Thank you so much
@MatTheInsomniac
@MatTheInsomniac 20 дней назад
@@CaztheAxolotl Happy to help!
@toyo8460
@toyo8460 17 дней назад
Thanks!
@NeonWidow
@NeonWidow 5 месяцев назад
By far the best tutorial series I've come across. Thank you!
@Cnidrion-1
@Cnidrion-1 7 месяцев назад
Its crazy how you even added a camera to this tutorial! Im so glad thought, Thanks a lot.
@peytonburnham4316
@peytonburnham4316 7 месяцев назад
I figured it would be a fun quasi-bonus video to have in here somewhere!
@raidenxmlfnf6664
@raidenxmlfnf6664 Месяц назад
The camTrailSpd is still same speed even if I lower it
@ZODDtheApostle
@ZODDtheApostle 16 дней назад
You must've forgotten to change the last line of code in //set camera coordinates It should be: camera_set_view_pos(view_camera[0], finalCamX, finalCamY); I made that mistake too lol
@peccunz
@peccunz 7 месяцев назад
and the master of GML who helped me on my coding journey is back again wahoo!!!
@bearwillow6108
@bearwillow6108 7 месяцев назад
Just joined your Patreon! Thank you so much for this amazing series!
@peytonburnham4316
@peytonburnham4316 7 месяцев назад
Thank you so much!!!
@o2arya104
@o2arya104 5 месяцев назад
geforce notification : *pops up* Peyton : You !? I HATE U!
@twsamoht3165
@twsamoht3165 23 дня назад
I did everything and this works just fine ! I just have this strange graphic bugs where the pixels of some platforms strangely zigzags when I'm on fullscreen and moving. I don't know if someone had the same problem or have the solution. I'll eventually try to deal with it later
@BoPro_
@BoPro_ 7 месяцев назад
Love the series!
@peytonburnham4316
@peytonburnham4316 7 месяцев назад
Thank you!!
@CraigHodson-e8m
@CraigHodson-e8m 19 дней назад
I cant believe how long I spent looking for one typing error! it finally works though. on to the next
@shadowSquall1
@shadowSquall1 7 месяцев назад
Great video. You've got a clear and easy to follow teaching style. While I have some version of what you've shown in the camera, the smoothing techniques and how to start the camera where the player starts was really useful! If you're taking suggestions, I'd love to see q more indepth camera tutorial for things like zooming/switching targets/panning over a scene/changing resolution etc. Either way, great job!
@theguys3722
@theguys3722 5 месяцев назад
The fullscreen isnt working for me and i dont know Why i followed the instructions
@dethtreeorigin
@dethtreeorigin 4 месяца назад
Hey don't know if you still need help but I saw that changing it to be like this allows it to work //Fullscreen toggle if keyboard_check_pressed(vk_f8) { if window_get_fullscreen() { window_set_fullscreen(false); } else { window_set_fullscreen(true); } }
@theguys3722
@theguys3722 4 месяца назад
@@dethtreeorigin thanks ill check it out in the morning
@Questionable_Insights
@Questionable_Insights 7 месяцев назад
Hey, as long as it work with pixel art :)
@AlexBarrGameDev
@AlexBarrGameDev 7 месяцев назад
This is great! I'm loving this series. It's funny but the part about choosing a full screen button got me thinking. I ALWAYS use f4 as my full screen toggle button - I started using GameMaker 4.3 and a few weeks later 5.0 was released. Back then, all the function keys were hard coded and couldn't be changed. For every game project f5 was save game, f6 was load game and f4 was full screen. I can't remember what the other function keys did, but I was so used to pressing f4 to toggle full screen that when GameMaker Studio came out and you finally had the option to make it whatever you wanted, I just kept it out of habit.
@peytonburnham4316
@peytonburnham4316 7 месяцев назад
Thats interesting because i also use f4! When i was first learning gamemaker, it was in the wake of undertale which is f4 also. And thats probably why haha! So in a roundabout way that’s most likely also the reason i do that!
@AlexBarrGameDev
@AlexBarrGameDev 7 месяцев назад
@@peytonburnham4316 that’s awesome! Yeah I think undertale was started in GameMaker 7 or 8 so that definitely makes sense
@saphi20
@saphi20 7 месяцев назад
wouldnt having the buffer room on top cause problems later on if we add the main menu and stuff? or does the exit code prevent that?
@peytonburnham4316
@peytonburnham4316 7 месяцев назад
No it should be totally fine! Again it just spits you out to the next room in your room order so it really is *just* a buffer. You can absolutely put a main menu room or even a startup splash screen right after it and itll be fine! Just make sure any persistent objects you create there check to make sure you player exists and stuff like that!
@happy_havok
@happy_havok 7 месяцев назад
Hey! Love this series so far! Just had a question that I can't seem to find an answer for, and I can't tell if it's just me missing something or not. But when I pressed the button to go fullscreen, it just says Resizing Swap Chain in the Output, and that's it. It doesn't toggle in or out of fullscreen. Do you or anyone else in the comments know what is going on?
@peytonburnham4316
@peytonburnham4316 7 месяцев назад
It sounds like you may have forgotten the ! before window_get_fullscreen()? so if you have window_set_fullscreen( window_get_fullscreen() ) instead of window_set_fullscreen( !window_get_fullscreen() ) then you would just be setting your fullscreen to be in the same state as it already is. If not you also may be accidentally using keyboard_check instead of keyboard_check_pressed? Otherwise I can't really think of anything! Sorry!
@happy_havok
@happy_havok 7 месяцев назад
@@peytonburnham4316 Thank you so much for the reply. I remembered both, but it still wasnt working. Then i literally just.... retyped it, and now it works. I... I don't know what changed, but you know what? I'll take it.
@CookiePubblePum
@CookiePubblePum 7 месяцев назад
i'm also having this problem, and i've written the code exactly as shown in the video. i've tried it with different buttons and it still hasn't worked. i've copy pasted the code into this comment // fullscreen toggle if keyboard_check_pressed(vk_f8) { window_set_fullscreen( !window_get_fullscreen() ); } i'm not sure why it doesn't work :/
@etogodoy
@etogodoy 7 месяцев назад
I'm having this problem too, just finished the video. I tryed some game optios>windows>graphics options, like checked "Allow fullscreen switching", "Start fullscreen" and others, but still doesn't work. update: just testing stuff, if I leave it like window_set_fullscreen(true); it toggle the fullscreen all right (just doesn't toggle off, obviously)
@siamemex1555
@siamemex1555 6 месяцев назад
Hi, I hope you managed to sort out the "Resizing Swap Chain" issue. I was having the same issue, it was due to me not deleting the camera from the rm_mainGame. I had one oCamera in rm_init and another oCamera in rm_gameMain. Deleting the oCamera from the rm_mainGame solved my issue.
@rekefisk4761
@rekefisk4761 Месяц назад
Thank you! You gave me the solution to all my problems.
@ClockMaster_3100
@ClockMaster_3100 7 месяцев назад
Hey is it possible you could extend the Top-Down RPG series with how to make a Party system?
@nightshock4513
@nightshock4513 2 месяца назад
Full screen did not work for me. I followed everything and when I hit f8 it says resizing swap chain… Then nothing happens.
@mutatedcode1056
@mutatedcode1056 2 месяца назад
Try setting it to a different key.
@toyo8460
@toyo8460 17 дней назад
@@mutatedcode1056 I doubt that would change anything, make sure you have allow fullscreen switching on in settings under windows and then graphics and that there isn't a camera left in your main room.
@dillondow8603
@dillondow8603 14 дней назад
@@toyo8460 This is the solution. If you're getting "resizing swap chain" it likely means you left your camera in your main room after creating the initialize room and putting a camera in there. Two camera objects will mess things up
@berserk9147
@berserk9147 4 месяца назад
Not to be that guy but, did you teach how to make the characters run through lopes in the first 2 videos? because i watched those over and over and dont remember that.
@toyo8460
@toyo8460 17 дней назад
He said that this is the fiinished project, he recorded this afterwards.
Далее
Make a Platformer in GameMaker! Part 4 (Coyote Time)
16:06
I Tried the First Ever Version of Scratch
9:27
Просмотров 815 тыс.
Новый вид животных Supertype
00:59
Просмотров 232 тыс.
Watermelon magic box! #shorts by Leisi Crazy
00:20
Просмотров 28 млн
КАК БОМЖУ ЗАРАБОТАТЬ НА ТАЧКУ
1:36:32
Why you Draw Bad Assets || 2D Game Art
13:00
Просмотров 58 тыс.
How to Make a Good 2D Camera
11:38
Просмотров 406 тыс.
I Made Super Mario Kart but it’s 3D
9:09
Просмотров 155 тыс.
7 years with the Nintendo Switch...
14:47
Просмотров 165 тыс.
How I Made a 3D Platformer in 2D Game Engine
21:23
Просмотров 500 тыс.
INSANELY Smooth pixel ATTACK Animation Tutorial
18:54
Просмотров 623 тыс.
Making a Fake Multiplayer .io Game
11:03
Просмотров 141 тыс.
Bedrock. Why?!
22:37
Просмотров 439 тыс.
Новый вид животных Supertype
00:59
Просмотров 232 тыс.