Пікірлер
@Stygymolic
@Stygymolic 22 сағат бұрын
Unless pycharm is causing this issue which is highly unlikely. It seems like a new version of pyton or pycharm broke the code. Even when directly copy pasted you can't jump up to the first platform like if there's an invisible wall in the way. It is also laggy and very slow
@Jeremy_Munchkins
@Jeremy_Munchkins Күн бұрын
Would it be possible to make the mask invisible but still keep the collision?
@sav3316
@sav3316 Күн бұрын
omg ily bcs everyone is telling me i cant code let stand pygame. you really helped me sir thanks alot
@DanielAlvarado-yl3gb
@DanielAlvarado-yl3gb Күн бұрын
how can i download the assets?
@rmpplays554
@rmpplays554 2 күн бұрын
Hello I have a problem it seems that my player can't jump to the platform right next to the wall it is like he is blocked by something
@Stygymolic
@Stygymolic Күн бұрын
Did you figure it out, and is your character also moving very slowly
@Khyn.syloph
@Khyn.syloph 2 күн бұрын
Hello good day!, Permission to use for my game template thank you!
@Khyn.syloph
@Khyn.syloph 2 күн бұрын
my plan is to make this a template for my future game and my game will be so beautiful because i understand it now!
@nikivxz
@nikivxz 2 күн бұрын
It’s so helpful! 👾 thanks!
@jerryhuang7194
@jerryhuang7194 3 күн бұрын
When the soldiers in the field try to rotate their artillery pieces...
@Funny.vids_Beast.hindi_ur
@Funny.vids_Beast.hindi_ur 3 күн бұрын
you are best problem solver bro
@brookiepo0kie
@brookiepo0kie 3 күн бұрын
owh, my bullet is too high up for my character :( i can adjust the width but not the height
@koupelnovy_vysavac
@koupelnovy_vysavac 3 күн бұрын
This is the best tutorial I found so far but I still don't understand all these things. I understand perfectly what you are doing and what you want to do but... The codes you are typing there are like different language for me. I really don't know what to do, I want to learn it so much but I don't understand all the codes. I have been coding for 1.5 years in scratch and I'm pretty good at it, but scratch is just coding with blocks and this is completely different for me. I'm having really hard times I'm thinking about just giving up. This is just my second day learning python so I can't expect miracles but I'm still pretty bad...
@kayag8
@kayag8 3 күн бұрын
I like seeing you build this game, the problems you run into and how you solved them. Keep making them. I want to see what the final thing will be like.
@elijahdoolittle8067
@elijahdoolittle8067 3 күн бұрын
This is awesome! I will raise my kid to go here one day!
@BrightGamerz-j4z
@BrightGamerz-j4z 4 күн бұрын
Well Done
@anajamx
@anajamx 4 күн бұрын
congratulations man , im happy for you 🤭♥
@AYoshiGamer36
@AYoshiGamer36 4 күн бұрын
Thank you for making such a high quality tutorial for free - you are the best pygame teacher I have seen
@aspcubing1
@aspcubing1 4 күн бұрын
fucking pygame
@DajjalSlayers
@DajjalSlayers 6 күн бұрын
believe me i never learn or understand programming language. but thanks to you i understand😊 thank you very much😊
@yahyayousef7566
@yahyayousef7566 6 күн бұрын
7 49 my code works it shows the background
@randomnumbers84269
@randomnumbers84269 7 күн бұрын
I tried to rotate the image in my game loop to make it spin but it looked funky. Probably because it's coordinates are at the top left corner of the image. How do I set the coordinates to the middle?
@randomnumbers84269
@randomnumbers84269 7 күн бұрын
I guess the pygame method of scale_by was later removed since it doesn't work any more.
@sandhyar3356
@sandhyar3356 7 күн бұрын
Hey, coding with russ I was just a beginner before seeing your tutorial. But now I learned python more. But I need a small help from you. You made a shooter game 3 years ago. Can you make a video to make that game into a mobile applicable one. Please. Or just upload a video of how to make a python game to mobile applicable. Please
@dwinabila3573
@dwinabila3573 7 күн бұрын
How to run the game?
@flipa62
@flipa62 7 күн бұрын
This is a good tutorial 👌 but way to fast.
@thepro3k_watches656
@thepro3k_watches656 7 күн бұрын
Thank you for the tutorial this is the first game I coded and it will be helpful for my school project but I do have to mention you do go over certain things way too quickly
@plixplop
@plixplop 8 күн бұрын
Just what I needed, thanks! I was stuck on the "jittering" glitch until I found this tutorial.
@lyricalvolt7340
@lyricalvolt7340 8 күн бұрын
hey I have a question, how do you directly pull each little enemy out of the file that we download?
@YoshimitsuATX
@YoshimitsuATX 8 күн бұрын
it doesn't spawn obstacle extends Node2D var stump = preload("res://other/stump.tscn") var rock = preload("res://other/rock.tscn") var barrel = preload("res://other/berrel.tscn") var bird = preload("res://other/bird.tscn") var obstacles : Array var obstacle_types := [stump, rock, barrel] var bird_hights := [200,390] const DINO_START_POS := Vector2i(150,485) const CAM_START_POS := Vector2i(576,324) var score : int const SCORE_MOD : int = 10 const SPEED_MOD : int = 5000 var speed : float const START_SPEED : float = 10.0 const MAX_SPEED : int = 25 var screen_size : Vector2i var ground_height: int var game_running : bool var last_obs # Called when the node enters the scene tree for the first time. func _ready(): screen_size = get_window().size ground_height = $ground.get_node("sprite").texture.get_height() newgame() func newgame(): show_score() score = 0 game_running = false $dino.position = DINO_START_POS $dino.velocity = Vector2i(0,0) $Camera2D.position = CAM_START_POS $ground.position = Vector2i(0,0) $HUD.get_node("START").show() # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta): if game_running: speed = START_SPEED + score / SPEED_MOD if speed > MAX_SPEED: speed = MAX_SPEED generate_obs() $dino.position.x += speed $Camera2D.position.x += speed $HUD.get_node("START").hide() score += speed show_score() if $Camera2D.position.x - $ground.position.x > screen_size.x * 1.5: $ground.position.x += screen_size.x else: if Input.is_action_pressed("jump"): game_running = true func generate_obs(): if obstacles.is_empty(): var obs_type = obstacle_types[randi() % obstacle_types.size()] var obs obs = obs_type.instantiate() var obs_height = obs.get_node("Sprite2D").texture.get_height() var obs_scale = obs.get_node("Sprite2D").scale var obs_x : int = screen_size.x + score + 100 var obs_y : int = screen_size.y - ground_height - (obs_height * obs_scale.y / 2) + 5 last_obs = obs add_obs(obs, obs_x, obs_y) func add_obs(obs,x,y): obs.position = Vector2i(x, y) add_child(obs) obstacles.append(obs) func show_score(): $HUD.get_node("ScoreLabel").text = "score: " + str(score / SCORE_MOD)
@deysimartinez-h1l
@deysimartinez-h1l 9 күн бұрын
I am getting an error saying Button() takes no arguments Im not sure if it is my python version since i use python 3.8.5
@francois7410
@francois7410 9 күн бұрын
Too all the people where there Character moves like flash when the start speed is only on 10.0, go to project settings, run, and set the max fps to 60 or lower :)
@Wingateschan
@Wingateschan 11 күн бұрын
That's great thanks!
@windowdonkey
@windowdonkey 12 күн бұрын
What happens if when I try to install pygame it says “‘install’ is not recognized as an internal or external command, operable program or batch file”
@windowdonkey
@windowdonkey 12 күн бұрын
Nvm I just forgot to put “pip” before it
@danilodimitrijevic1778
@danilodimitrijevic1778 12 күн бұрын
I have a question when you were loading the warrior sprites were they all in one picture or were they all in one folder becouse if they were all in one picture you wouldn't be able to go thru them,am I wrong?
@randomnumbers84269
@randomnumbers84269 12 күн бұрын
Turns out I needed to install the pygame using sudo command. (I'm using linux) The instruction is on the pygame getting started official site. After that, it worked.
@Flyingkittoh
@Flyingkittoh 12 күн бұрын
This is amazing man , thanks for sharing !!
@vapor_rains
@vapor_rains 12 күн бұрын
what a waste of time
@Toan2k9
@Toan2k9 12 күн бұрын
cho tôi xin mã code
@sksahil4374
@sksahil4374 12 күн бұрын
Use Godot
@WilliamWick-p8q
@WilliamWick-p8q 12 күн бұрын
bro you have done the thing that i been trying to do for 3 days broooooo frfr i love you frfr i was trying to import the google.generative ai module and it was having the issues brotha you saved me love you brotha😘😘🤍🖤🤎💚💙💜💓🧡❤💕❣❤‍🔥💘😻💝💖💗💓💞
@pavelyankouski4913
@pavelyankouski4913 13 күн бұрын
I've spent about 6-7 years on my own gaming platform, I am going to need 3-4 years more, but my first game will came out in 2 years (Unreal Engine 45). Current tools is just unbelievable, like Metahuman, meshy, Blender, Maya, 3ds Max, VS code, vim, lots of quality tools and ai generators, pinterest, googlesearch, unreal marketplace is just amazing.
@kauefoes8095
@kauefoes8095 14 күн бұрын
i can't install the library "button", maybe the version of it doesn't have support. How can I continue??
@Yuai7
@Yuai7 15 күн бұрын
i love how you explain everything, sadly i forget fast but its working with a little problems on the positioning of the osbtacles, thank you for the tutorial
@Yuai7
@Yuai7 13 күн бұрын
var obs_y : int = screen_size.y - ground_height - (obs_height + obs_scale.y / 2) + 38 var obs_y : int = screen_size.y - ground_height - (obs_height + obs_scale.y / 2) - 104 var obs_y : int = screen_size.y - ground_height - (obs_height + obs_scale.y / 2) + 220 if i put those values at the end only one of the obstacles appear, someone can help me fix this
@xoxo.lxly.26
@xoxo.lxly.26 15 күн бұрын
hey can u tell me that how did you save that images? i am on IDLE on MacBook so please explain me how!
@Ranamo_
@Ranamo_ 15 күн бұрын
I cant understand whats hes doing even at .25 speed wtf
@gauravkumargaurav3487
@gauravkumargaurav3487 16 күн бұрын
How to download the spritesheets and sprite animation?
@danilodimitrijevic1778
@danilodimitrijevic1778 11 күн бұрын
Theres a link in the description
@xoxo.lxly.26
@xoxo.lxly.26 16 күн бұрын
i am using Mac and it says that no found 'pygame' Please tell me what to do?
@zouhairtaiba3381
@zouhairtaiba3381 16 күн бұрын
the last solution Works for me , thank you from Morocco .
@ScoutOW2
@ScoutOW2 16 күн бұрын
A playlist woulda been nice for this series
@Pyromane_v1.0
@Pyromane_v1.0 18 күн бұрын
Mine keeps running <Rect((300, 250, 50, 50)) endlessly on python
@ihuluuj
@ihuluuj 19 күн бұрын
thanks so much u where the only person who had a fix for the editor pycharm