Search found 27 matches
- Mon Jul 18, 2022 2:54 am
- Forum: Support and Development
- Topic: Bullets shooted doesn't appear
- Replies: 1
- Views: 1602
Re: Bullets shooted doesn't appear
In Bullet:draw() you're calling love.graphics.newImage. Instead you should call love.graphics.draw.
- Mon Jun 20, 2022 11:45 pm
- Forum: General
- Topic: So... what's this?
- Replies: 1
- Views: 1973
Re: So... what's this?
Write some code and run it with love.exe, see the Getting Started page on the wiki.
- Tue Apr 05, 2022 4:54 am
- Forum: Support and Development
- Topic: How do I change the music playing?
- Replies: 2
- Views: 1984
Re: How do I change the music playing?
You would load both audio files with love.audio.newSource, play the menu music with love.audio.play, and, when going to gameplay, stopping the menu music with love.audio.stop and using love.audio.play to play the gameplay music.
- Mon Feb 08, 2021 11:04 pm
- Forum: General
- Topic: How to Form a Development Team
- Replies: 6
- Views: 6029
Re: How to Form a Development Team
I would look into game jams; there are billions listed on itch.io, as well as Ludum Dare and some other ones. You might be able to find some people interested in collaborating there. Generally the smaller the game, the more likely your team will be successful; you need really good incentives to get ...
- Tue Oct 06, 2020 3:52 pm
- Forum: Support and Development
- Topic: bad argument #1 to 'draw' (Drawable expected, got nil)
- Replies: 1
- Views: 3707
Re: bad argument #1 to 'draw' (Drawable expected, got nil)
The error is in main.lua; you're calling Arrow:render() instead of arrow:render().
- Sun Sep 27, 2020 8:44 pm
- Forum: Support and Development
- Topic: Error
- Replies: 4
- Views: 3988
Re: Error
Looks like it's the run command for this VSCode extension: https://marketplace.visualstudio.com/it ... yte-love2d
You could try checking the settings for that extension to make sure that it has the correct path to love.exe.
You could try checking the settings for that extension to make sure that it has the correct path to love.exe.
- Sat Sep 26, 2020 1:33 am
- Forum: Support and Development
- Topic: Scrolling Map - Feel so close but not working... ><
- Replies: 2
- Views: 3119
Re: Scrolling Map - Feel so close but not working... ><
For an object in a scrolling world, you should draw it at:
* the object's position within the map
* minus the position of the camera (in this case, the player's position)
* plus half the width/height of the window, to center the camera
* the object's position within the map
* minus the position of the camera (in this case, the player's position)
* plus half the width/height of the window, to center the camera
- Wed Sep 16, 2020 3:34 pm
- Forum: General
- Topic: Love 2d showing black screen
- Replies: 4
- Views: 6471
Re: Love 2d showing black screen
Your file should be named main.lua.
- Sat Aug 15, 2020 12:14 am
- Forum: Support and Development
- Topic: Error Drawing Platforms
- Replies: 1
- Views: 1702
Re: Error Drawing Platforms
I think in your draw call, self.platform should be self.platforms.
- Wed Aug 12, 2020 3:46 pm
- Forum: Support and Development
- Topic: Help retrieving Strings from Tables
- Replies: 3
- Views: 2708
Re: Help retrieving Strings from Tables
The code you posted works fine when I run it in Love2D. My only guess is that there's something elsewhere in your code that's messing with table indexing.