Search found 721 matches
- Tue Aug 23, 2016 9:49 pm
- Forum: General
- Topic: Loading external data into a function locally.
- Replies: 3
- Views: 2714
Re: Loading external data into a function locally.
Yeah. The first time you declare variables that are local to the file you have created. The second time you create variables that are local to the new function, which point to the same stuff. It's kinda the same as doing this, where you'd also need to make them local twice: function pretend_this_is_...
- Mon Aug 22, 2016 9:22 am
- Forum: Libraries and Tools
- Topic: Feedback request: working on a rendering library
- Replies: 3
- Views: 2179
Re: Feedback request: working on a rendering library
Hm. Am I using the wrong word? It's not really meant as a traditional GUI system, although maybe that would still be a better term for it. I'm just building it to draw stuff on the screen. The core isn't going to include traditional GUI elements like input fields and sliders, nor will it have things...
- Sun Aug 21, 2016 9:44 pm
- Forum: Support and Development
- Topic: Bullet's speed mysteriously dependant on amount of bullets?
- Replies: 2
- Views: 1796
Re: Bullet's speed mysteriously dependant on amount of bullets?
What's that "wait(0.2)" function?
And can you include a full .love? That's a lot easier to debug.
And can you include a full .love? That's a lot easier to debug.
- Thu Aug 18, 2016 10:11 am
- Forum: Support and Development
- Topic: Best practice for destroying enemies in array
- Replies: 10
- Views: 8452
Re: Best practice for destroying enemies in array
Note that if you want to remove items in a loop, you have to loop backwards , because table.remove will update the indexes and mess everything up. A common example of removing entities is to flag entities that need to be cleaned/removed from whatever code you have, and then run over all entities in ...
- Tue Aug 16, 2016 1:05 pm
- Forum: Games and Creations
- Topic: Ultra Rainbow Bake Sale: singleplayer, deck-building, baking
- Replies: 4
- Views: 3242
Re: Ultra Rainbow Bake Sale: singleplayer, deck-building, baking
Finally managed to bake both batches :D The tips help, but I think you could do with a few more. Primarily, it wasn't until very late that I figured out that Morgan and Alex's secret abilities can be played for bonuses, and I still don't understand what the numbers behind their names are for or how ...
- Tue Aug 16, 2016 12:43 pm
- Forum: Games and Creations
- Topic: Corbeaux - a puzzle game about music transcription & crows
- Replies: 4
- Views: 4004
Re: Corbeaux - a puzzle game about music transcription & crows
I agree with zorg that it's hard to move the crows properly, but I love the idea. Really nice little game
- Tue Aug 16, 2016 10:03 am
- Forum: Support and Development
- Topic: [Networking] Server Connecting
- Replies: 7
- Views: 4528
Re: [Networking] Server Connecting
"localhost" just means "connect over the network to this same machine". The only thing you need to change to make it connect to some other machine, is replacing the "localhost" with the IP address of whatever other machine you're connecting to. The reason tutorials use ...
- Tue Aug 16, 2016 7:32 am
- Forum: Support and Development
- Topic: How do I make the background always be in front of the player?
- Replies: 4
- Views: 2838
Re: How do I make the background always be in front of the player?
Two very straight-forward solutions seem to be:So I'm making a top down game with a background that scrolls when the player is moving but usuallly the player goes to fast and he goes off screen. How do I stop this? This is my code:
A) make the player slower
B) make the background faster
- Mon Aug 15, 2016 5:39 am
- Forum: Support and Development
- Topic: Love2D Game Menu
- Replies: 5
- Views: 7256
Re: Love2D Game Menu
Can you post your current code? It might help in figuring out what's going wrong.
- Thu Aug 11, 2016 11:37 am
- Forum: Libraries and Tools
- Topic: Feedback request: working on a rendering library
- Replies: 3
- Views: 2179
Feedback request: working on a rendering library
Hi guys. I'm working on a library for rendering stuff to the screen. It's still in development and I wouldn't say it's usable yet. There are still some errors and quirks I need to fix and some behavior I need to implement. However, it's far enough done that I can use it to make some samples, so I ma...