Тёмный

Sound Effects and Background Music in Love2D 

Challacade
Подписаться 79 тыс.
Просмотров 11 тыс.
50% 1

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

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@AlanPope
@AlanPope 2 года назад
Thanks for making the video in a decently sized font so it's completely readable on a mobile phone. 😍
@Challacade
@Challacade 2 года назад
Yes! That's my biggest complaint with coding videos, when they don't make the text big enough!
@markbacon78
@markbacon78 3 месяца назад
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 2 месяца назад
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.
@Kane-5263
@Kane-5263 Год назад
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. 4 месяца назад
just made it through the whole playlist, thank you!! there arent many tutorials for love2d so time to hop into the documentation
@calabria3477
@calabria3477 5 месяцев назад
Really great tutorials man, you made me starting programming a prototype for a future game! Thank you!
@Manny73211
@Manny73211 2 месяца назад
watched the whole playlist. thank you.
@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.
@pokeman5796
@pokeman5796 2 года назад
Thanks again for an amazing video. HAPPY THANKSGIVING ALL!
@skullzurker
@skullzurker 9 месяцев назад
When is the next one? Great series hope you keep at it when your done with Legend of Lua.
@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
@AutMouseLabs
@AutMouseLabs Год назад
This has been a great series. Thank you for doing it.
@niebl
@niebl 2 года назад
Extremely good video. Keep it up, Much love.
@j2j_official
@j2j_official Год назад
Great tutorial :)
@UnderArea51
@UnderArea51 2 года назад
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 2 года назад
I completely agree! This is a great suggestion
@xnyroah_
@xnyroah_ 8 месяцев назад
i might be a little late but i would love a tutorial that shows how to make smart monsters
@Manny73211
@Manny73211 2 месяца назад
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.)
@MrInfarct
@MrInfarct 2 года назад
It would be nice if you made a video dedicated to particles
@exotictoast9931
@exotictoast9931 2 года назад
help, when my music finishes and it loops, it pauses for like 1 second before looping, how do i fix this?
@neito7103
@neito7103 2 года назад
I need to get GME for my project but I don't know how to implement it into Love2D
@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 Год назад
Do cam:zoom(0.1)
@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
@zerxer7987
@zerxer7987 2 года назад
hey could you make a tutorial on swords and enemies
@benwoodyer8258
@benwoodyer8258 10 месяцев назад
agreed this would be ideal!!!!
@experimentsgurru5983
@experimentsgurru5983 2 года назад
sir please make new Bullet Firings video
@madeinmicrosoftpaint
@madeinmicrosoftpaint Год назад
does not work
@naelpontes8444
@naelpontes8444 Год назад
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
@LuteyBooty
@LuteyBooty 2 года назад
im having a problem it says permission denied how do i fix it?
Далее
Это было очень близко...
00:10
Просмотров 1,6 млн
How to Make A Roguelike in One Day
3:17
Просмотров 378 тыс.
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 719 тыс.
Building levels WITHOUT a built-in editor
6:40
Просмотров 23 тыс.
I Remade YouTube From Scratch Using Just Bash
17:51
Просмотров 49 тыс.
Love2D Physics (windfield) in under 10 minutes
9:59
Просмотров 25 тыс.
The Unreasonable Effectiveness Of Plain Text
14:37
Просмотров 607 тыс.