Search found 24 matches

by CogentInvalid
Mon Feb 08, 2021 11:04 pm
Forum: General
Topic: How to Form a Development Team
Replies: 6
Views: 2577

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: 1688

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: 1674

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: 1621

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: 3877

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: 765

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: 912

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.
by CogentInvalid
Thu Jul 02, 2020 3:07 pm
Forum: Support and Development
Topic: Rectangle/Character Movement: How it works under the hood?
Replies: 7
Views: 1766

Re: Rectangle/Character Movement: How it works under the hood?

You can put it in love.keypressed if you want it to only move when the player first presses the key, not while the key is held down.
by CogentInvalid
Thu Jul 02, 2020 12:30 am
Forum: Support and Development
Topic: Rectangle/Character Movement: How it works under the hood?
Replies: 7
Views: 1766

Re: Rectangle/Character Movement: How it works under the hood?

After each call to love.update, the game calls love.draw. So if the game is running at 60 FPS, the rectangle will move 60 times, but each time it moves the screen will redraw and the box will be in a slightly different place. That's why you can see it move gradually - the game doesn't draw the box o...
by CogentInvalid
Thu Jun 18, 2020 8:14 am
Forum: General
Topic: please i need help
Replies: 3
Views: 2170

Re: please i need help

The format of a Love game is a folder with a file called main.lua in it (and optionally other files and folders too). The program love.exe can run these games in various ways. One way is to drag the folder onto the icon for love.exe. Another way is to package the contents of the folder into a .zip f...