Search found 27 matches

by CogentInvalid
Mon Jul 18, 2022 2:54 am
Forum: Support and Development
Topic: Bullets shooted doesn't appear
Replies: 1
Views: 1436

Re: Bullets shooted doesn't appear

In Bullet:draw() you're calling love.graphics.newImage. Instead you should call love.graphics.draw.
by CogentInvalid
Mon Jun 20, 2022 11:45 pm
Forum: General
Topic: So... what's this?
Replies: 1
Views: 1874

Re: So... what's this?

Write some code and run it with love.exe, see the Getting Started page on the wiki.
by CogentInvalid
Tue Apr 05, 2022 4:54 am
Forum: Support and Development
Topic: How do I change the music playing?
Replies: 2
Views: 1877

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.
by CogentInvalid
Mon Feb 08, 2021 11:04 pm
Forum: General
Topic: How to Form a Development Team
Replies: 6
Views: 5731

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 ...
by CogentInvalid
Tue Oct 06, 2020 3:52 pm
Forum: Support and Development
Topic: bad argument #1 to 'draw' (Drawable expected, got nil)
Replies: 1
Views: 3422

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().
by CogentInvalid
Sun Sep 27, 2020 8:44 pm
Forum: Support and Development
Topic: Error
Replies: 4
Views: 3770

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.
by CogentInvalid
Sat Sep 26, 2020 1:33 am
Forum: Support and Development
Topic: Scrolling Map - Feel so close but not working... ><
Replies: 2
Views: 2966

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
by CogentInvalid
Wed Sep 16, 2020 3:34 pm
Forum: General
Topic: Love 2d showing black screen
Replies: 4
Views: 6258

Re: Love 2d showing black screen

Your file should be named main.lua.
by CogentInvalid
Sat Aug 15, 2020 12:14 am
Forum: Support and Development
Topic: Error Drawing Platforms
Replies: 1
Views: 1602

Re: Error Drawing Platforms

I think in your draw call, self.platform should be self.platforms.
by CogentInvalid
Wed Aug 12, 2020 3:46 pm
Forum: Support and Development
Topic: Help retrieving Strings from Tables
Replies: 3
Views: 2483

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.