Newb needs help with love 2d coding

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
this_is_VALHALLA
Prole
Posts: 1
Joined: Mon Jun 29, 2015 4:21 am

Newb needs help with love 2d coding

Post by this_is_VALHALLA »

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.
User avatar
NickRock
Citizen
Posts: 76
Joined: Thu Dec 25, 2014 9:33 pm
Location: Earth
Contact:

Re: Newb needs help with love 2d coding

Post by NickRock »

however i want to make this with images and sounds.
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.

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 :awesome:
Weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeooow!!
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests