Sound Effects and Background Music in Love2D

  Рет қаралды 11,824

Challacade

Challacade

Күн бұрын

Пікірлер: 38
@AlanPope
@AlanPope 3 жыл бұрын
Thanks for making the video in a decently sized font so it's completely readable on a mobile phone. 😍
@Challacade
@Challacade 3 жыл бұрын
Yes! That's my biggest complaint with coding videos, when they don't make the text big enough!
@stoobidthing
@stoobidthing Ай бұрын
Helps so much on low-res monitors too, I can finally watch it on the shitty work computers!
@heehee69-s5m
@heehee69-s5m 26 күн бұрын
Please continue tutorials like this, you are one of the best coding teachers ive seen on yt in a hot min. Bite-sized, to the point, but still giving enough info for me to add comments so i understand what my code is actually doing.
@markbacon78
@markbacon78 5 ай бұрын
Speedran the tutorial to get my head around the basics; super easy to follow and light enough that I didn't feel like I had to skip a bunch of stuff as an experienced software dev. Truly well-focused course. Cheers!
@SamSkull
@SamSkull 5 ай бұрын
I loved the whole playlist it was very simple and easy to understand please continue these series
@taunhawk9888
@taunhawk9888 Жыл бұрын
Added this to the top down game you had us build and wow, music and sound really adds so much to the game! Love it! I mean it would seem obvious, but during the build process I wasn't expecting such a noticeable impact so early in the game development of this little top down game.
@halasentissi
@halasentissi 14 күн бұрын
idk what words can describe my gratitude to you thank you you're a life saver ! and i learned a lot from your playlisy
@Kane-5263
@Kane-5263 2 жыл бұрын
Thank you! Your serie is almost a year old now but I hope you will add some more content with time, that was really well made and educative!
@Furiac.
@Furiac. 6 ай бұрын
just made it through the whole playlist, thank you!! there arent many tutorials for love2d so time to hop into the documentation
@7projected
@7projected Жыл бұрын
Thanks for making this whole series thingy, i just watched the whole playlist, and its already better (performance and readability imo) than the "engine" i was using before, called pygame lol.
@Manny73211
@Manny73211 5 ай бұрын
watched the whole playlist. thank you.
@dan_studio13
@dan_studio13 8 ай бұрын
Really great tutorials man, you made me starting programming a prototype for a future game! Thank you!
@pokeman5796
@pokeman5796 3 жыл бұрын
Thanks again for an amazing video. HAPPY THANKSGIVING ALL!
@skullzurker
@skullzurker 11 ай бұрын
When is the next one? Great series hope you keep at it when your done with Legend of Lua.
@AutMouseLabs
@AutMouseLabs Жыл бұрын
This has been a great series. Thank you for doing it.
@niebl
@niebl 2 жыл бұрын
Extremely good video. Keep it up, Much love.
@Archmage-uq5tn
@Archmage-uq5tn 2 жыл бұрын
are you gonna make more tutorials like adding items and monsters? i know you are working on your zelda like game but when you get done with that i would love to see more tutorials on how to implement more things
@exotictoast9931
@exotictoast9931 2 жыл бұрын
help, when my music finishes and it loops, it pauses for like 1 second before looping, how do i fix this?
@j2j_official
@j2j_official Жыл бұрын
Great tutorial :)
@JPAProtoArchives
@JPAProtoArchives 24 күн бұрын
I have one question, you might not see this but does love2d have some sort of extension to support video game music (vgm) the music I make loop at a point and I want it to keep looping at that point without having to take up so much space, if there is I’ll be glad to know
@UnderArea51
@UnderArea51 3 жыл бұрын
Also - The bird's eyes are begging to have random blinks, squints when attacking bad guys, and blinking while talking to other birds when text box.
@Challacade
@Challacade 3 жыл бұрын
I completely agree! This is a great suggestion
@Manny73211
@Manny73211 5 ай бұрын
im gonna make a mobile game where you spam click to launch a rocket and dodge obstacles. are there any other resources you think would help? (im doing it as a challenge to see if unity 2d or love2d are better for mobile games.)
@neito7103
@neito7103 2 жыл бұрын
I need to get GME for my project but I don't know how to implement it into Love2D
@lewis6462
@lewis6462 2 жыл бұрын
hey man I'm i'm trying to add a main menu and i'm wondering how to do that if you could make a tutorial on it i'd really appreciate it
@xnyroah_
@xnyroah_ 11 ай бұрын
i might be a little late but i would love a tutorial that shows how to make smart monsters
@MrInfarct
@MrInfarct 2 жыл бұрын
It would be nice if you made a video dedicated to particles
@stevenhenning9833
@stevenhenning9833 2 жыл бұрын
Thanks for the great tutorials. I added some coins for my kid to collect. At the end of the game I want to zoom out and display the whole map. I cant find anyway of doing this ... can you help?
@codexed-i
@codexed-i 2 жыл бұрын
Do cam:zoom(0.1)
@zerxer7987
@zerxer7987 2 жыл бұрын
hey could you make a tutorial on swords and enemies
@benwoodyer8258
@benwoodyer8258 Жыл бұрын
agreed this would be ideal!!!!
@experimentsgurru5983
@experimentsgurru5983 2 жыл бұрын
sir please make new Bullet Firings video
@madeinmicrosoftpaint
@madeinmicrosoftpaint 2 жыл бұрын
does not work
@naelpontes8444
@naelpontes8444 2 жыл бұрын
it does work perfectly to me
@hussein0762
@hussein0762 2 жыл бұрын
Thanks very much for this tutorial it have benefited me so much. I try to put this game with button so that when start game is clicked the game will run but a problem face me is that the collider is the only thing is running in screen without graphics(trees, ground, sprite). if you can just help me Code: function newButton(text,fn) return {text=text,fn=fn,now=false,last=false} end local buttons={} local font=nil function love.load() wf=require 'libraries/windfield' world=wf.newWorld(0, 0) camera=require 'libraries/camera' cam=camera() anim8 = require 'libraries/anim8' love.graphics.setDefaultFilter('nearest','nearest') sti=require 'libraries/sti' gameMap=sti('maps/testMap.lua') sounds={} sounds.blip=love.audio.newSource('sounds/blip.wav','static') sounds.music=love.audio.newSource('sounds/music.mp3','stream') sounds.music:setLooping(true) sounds.music:setVolume(100) sounds.music:play() player={} player.collider=world:newBSGRectangleCollider(400, 250, 50, 100, 10) player.collider:setFixedRotation(true) player.x=400 player.y=200 player.speed=300 player.sprite = love.graphics.newImage('sprites/parrot.png') player.spriteSheet=love.graphics.newImage('sprites/player-sheet.png') player.grid=anim8.newGrid(12,18,player.spriteSheet:getWidth(),player.spriteSheet:getHeight()) player.animations= {} player.animations.down=anim8.newAnimation(player.grid('1-4',1),0.2) player.animations.left=anim8.newAnimation(player.grid('1-4',2),0.2) player.animations.right=anim8.newAnimation(player.grid('1-4',3),0.2) player.animations.up=anim8.newAnimation(player.grid('1-4',4),0.2) player.anim=player.animations.right background=love.graphics.newImage('sprites/background.png') walls={} if gameMap.layers['Walls'] then for i,obj in pairs(gameMap.layers['Walls'].objects) do local wall=world:newRectangleCollider(obj.x,obj.y,obj.width,obj.height) wall:setType('static') table.insert(walls,wall) end end font=love.graphics.newFont(16) table.insert(buttons,newButton('Start Game', function() function love.update(dt) local isMove=false local vx=0 local vy=0 if love.keyboard.isDown('right') then vx=player.speed player.anim=player.animations.right sounds.blip:play() isMove=true end if love.keyboard.isDown('left') then vx=player.speed * -1 player.anim=player.animations.left sounds.blip:play() isMove=true end if love.keyboard.isDown('down') then vy=player.speed player.anim=player.animations.down sounds.blip:play() isMove=true end if love.keyboard.isDown('up') then vy=player.speed * -1 player.anim=player.animations.up sounds.blip:play() isMove=true end player.collider:setLinearVelocity(vx,vy) if isMove==false then player.anim:gotoFrame(2) end world:update(dt) player.x=player.collider:getX() player.y=player.collider:getY() player.anim:update(dt) cam:lookAt(player.x,player.y) local w=love.graphics.getWidth() local h=love.graphics.getHeight() if cam.x < w/2 then cam.x = w/2 end if cam.y < h/2 then cam.y = h/2 end local mapW=gameMap.width * gameMap.tilewidth local mapH=gameMap.height * gameMap.tileheight if cam.x >(mapW - w/2) then cam.x = (mapW-w/2) end if cam.y >(mapH - h/2) then cam.y = (mapH-h/2) end end function love.draw() cam:attach() gameMap:drawLayer(gameMap.layers['Ground']) gameMap:drawLayer(gameMap.layers['Trees']) player.anim:draw(player.spriteSheet,player.x,player.y,nil,6,nil,6,9) world:draw() cam:detach() end end)) table.insert(buttons,newButton('Load Game', function() print('Loading Game') end)) table.insert(buttons,newButton('Settings', function() print('go to Settings menu') end)) table.insert(buttons,newButton('Exit', function() love.event.quit(0) end)) end function love.draw() local ww=love.graphics.getWidth() local wh=love.graphics.getHeight() local button_width=ww*(1/3) local BUTTON_HEIGHT=wh*(1/14) local margin=16 local total_height=(BUTTON_HEIGHT + margin) * #buttons local cursor_y=0 for i,button in ipairs(buttons) do button.last=button.now local bx=(ww *0.5)-(button_width * 0.5) local by=(wh *0.5) - (total_height * 0.5) + cursor_y local color={0.4,0.4,0.5,1.0} local mx,my=love.mouse.getPosition() local hot=mx>bx and mxby and my
Making a Game in Lua with No Experience
5:52
Goodgis
Рет қаралды 362 М.
Adding Collisions and Walls (from Tiled) to your Love2D Game
13:54
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 397 М.
How to (easily) add Animations to a Character | Love2D Basics
14:58
Make games quickly with LÖVE
1:12:58
Hackers at Cambridge
Рет қаралды 45 М.
2024's Biggest Indie Hit Was Made With... Love!   LÖVE 2D that is.
9:50
Player Movement Controls in under 9 minutes | Love2D Basics
8:53
I Scraped the Entire Steam Catalog, Here’s the Data
11:29
Newbie Indie Game Dev
Рет қаралды 620 М.
Animating Link's Walk | Recreating Zelda
7:10
Challacade
Рет қаралды 15 М.
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 759 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН