Newb needs help with love 2d coding
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 1
- Joined: Mon Jun 29, 2015 4:21 am
Newb needs help with love 2d coding
So i am new to coding, i know enough about lua to have already made a text based adventure, however i want to make this with images and sounds. I however know next to nothing about the love 2d engine functions and how to incorporate them into my game. I just need a quick run through, or maybe a new friend who will be my tutor over skype. Any help is greatly appreciated, thank you.
Re: Newb needs help with love 2d coding
If you want to have images in your game you can use the love.graphics.newImage() function to load the image and inside love.draw you can use love.graphics.draw(image, x, y) to draw it.however i want to make this with images and sounds.
For sounds there's love.audio.newSource() for loading sounds and for playing it there's love.audio.play()
Sonic2kk made some nice tutorials about loading/drawing images and sound effects
This is for graphics
[youtube]https://www.youtube.com/watch?v=lWmwL2hpTuM&list[/youtube]
This one is for audio
[youtube]https://www.youtube.com/watch?v=Iscrs9D7VYc&list6[/youtube]
And this is the whole playlist https://www.youtube.com/playlist?list=P ... kIVIxkPXM6
I hope I helped ya
Weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeooow!!
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests