Uploads from Gumbino

Watch and track your favorite playlist.

Curated by: Gumbino (982 videos)


Currently Playing: How to create a Pokemon game for BEGINNERS (NO CODING)

How to create a Pokemon game in Godot for BEGINNERS no coding knowledge needed. Download Godot: https://godotengine.org/download/windows/ Download Paint.net https://paint.net/download.html Find Sprites(Use at your own risk): https://www.spriters-resource.com Project settings: advanced settings = on (blue) default clear color = black viewport width = 1920 viewport height = 1080 window width override = 942 window height override = 535 use nearest mipmap filter = on default texture filter = nearest default texture repeat = disabled stretch (mode)= canvas_items aspect = keep project settings - input map = (create upkey, downkey, leftkey, rightkey) Root code: extends Node var gamepaused = true var currentmenu = "root" func _ready(): startthegame() func startthegame(): gamepaused = false currentmenu = "game" update_menu_visibility() func update_menu_visibility(): for child in get_children(): var is_current_menu = child.name == currentmenu var is_immune = child.rootvisibilityimmune if "rootvisibilityimmune" in child else false child.visible = is_current_menu or is_immune Player code: extends CharacterBody2D @onready var currentmenu: Node2D = $".." @onready var root: Node2D = $"../.." @onready var animation_player: AnimationPlayer = $AnimationPlayer var speed = 500 var last_direction = "down" var current_direction = "" func _ready(): animation_player.play("down") animation_player.pause() animation_player.seek(0.001) func _process(_delta): if root.gamepaused or not currentmenu.visible: return if Input.is_action_pressed("upkey"): current_direction = "up" elif Input.is_action_pressed("leftkey"): current_direction = "left" elif Input.is_action_pressed("rightkey"): current_direction = "right" elif Input.is_action_pressed("downkey"): current_direction = "down" else: current_direction = "" if current_direction != "": last_direction = current_direction move_in_direction(current_direction, _delta) play_animation(current_direction) else: velocity = Vector2.ZERO pause_animation_at_idle(last_direction) func move_in_direction(direction: String, delta: float): match direction: "up": velocity = Vector2(0, -speed) "down": velocity = Vector2(0, speed) "left": velocity = Vector2(-speed, 0) "right": velocity = Vector2(speed, 0) var collision = move_and_collide(velocity * delta) if collision: velocity = Vector2.ZERO func play_animation(direction: String): if animation_player.current_animation != direction or animation_player.is_playing() == false: animation_player.play(direction) func pause_animation_at_idle(direction: String): if animation_player.current_animation != direction: animation_player.play(direction) animation_player.seek(0.001) animation_player.pause()


Tracks in this Playlist