Search found 118 matches

by erasio
Sat Dec 09, 2017 9:26 am
Forum: Support and Development
Topic: Clean way to destroy a body will all its shapes
Replies: 6
Views: 4398

Re: Clean way to destroy a body will all its shapes

It's noteworthy that this has been solved in a slightly different way in love than it is in box2d itself. If you look at the documentation for newFixture: Note that the Shape object is copied rather than kept as a reference when the Fixture is created. To get the Shape object that the Fixture owns, ...
by erasio
Fri Dec 08, 2017 11:56 pm
Forum: Support and Development
Topic: Problem with GetColor...
Replies: 6
Views: 5385

Re: Problem with GetColor...

Very fair points. I got ahead of myself.

We would need a more specific use case and the reason for not wanting another way of doing this to properly suggest a good solution.
by erasio
Thu Dec 07, 2017 7:57 pm
Forum: Support and Development
Topic: Problem with GetColor...
Replies: 6
Views: 5385

Re: Problem with GetColor...

I absolutely have to agree with zorg here. The only con is that you have to take care of the data yourself. But that's not hard at all! Here's a short version how you could get exactly the behavior you want with just three small helper functions: map = {} function addObject(x, y, r, g, b) if not map...
by erasio
Sat Dec 02, 2017 7:50 am
Forum: Libraries and Tools
Topic: Yet another path finding module
Replies: 7
Views: 6525

Re: Yet another path finding module

Hey there!

Just a few questions. Which algorithm is used?

And is there a way to disable diagonal movement or introduce path cost?
by erasio
Sat Dec 02, 2017 7:45 am
Forum: Support and Development
Topic: Wireframe 1st-person render of a maze
Replies: 6
Views: 5062

Re: Wireframe 1st-person render of a maze

If you have never done anything like this before and wonder how to do it (the logic behind 3d rendering). I can recommend catlike coding. The tutorials are for unity but it will bring you up to speed and give you the knowledge necessary to implement 3d rendering. http://catlikecoding.com/unity/tutor...
by erasio
Tue Nov 28, 2017 7:50 am
Forum: Support and Development
Topic: Problems with the escape
Replies: 6
Views: 4041

Re: Problems with the escape

Yeah that works fine. Though do keep in mind that creating a canvas per frame is not great for performance and drawing onto the canvas outside of draw means the game state (where everything is, how much hp you have, etc) might change before you end up drawing that (now) out of date information. This...
by erasio
Mon Nov 27, 2017 7:37 pm
Forum: Support and Development
Topic: Problems with the escape
Replies: 6
Views: 4041

Re: Problems with the escape

One thing I can imagine going wrong is the printing itself. Have you tried using print instead of love.graphics.print? Because the way you are currently printing is not quite compliant with how you ought to draw content and I can imagine weird behavior arising from there. Try printing key and scanco...
by erasio
Mon Nov 27, 2017 5:37 pm
Forum: Support and Development
Topic: Problems with the escape
Replies: 6
Views: 4041

Re: Problems with the escape

Just to make sure, what platform are you using? Also if you have too much trouble translating what you mean, feel free to just post it on English as best you can, add your German version below and either hope that someone translates it or pm me. This post is fine. But if you have issues in the futur...
by erasio
Mon Nov 27, 2017 5:15 pm
Forum: Libraries and Tools
Topic: Particle system playground
Replies: 4
Views: 8754

Re: Particle system playground

Awesome!

I thought for quite a while about creating something similar because a tool like this is just fantastic to have!

So glad you created this. Looks quite convenient indeed!

I'll have to test it properly sometime. Huge thanks for sharing!
by erasio
Sat Nov 25, 2017 6:45 am
Forum: Support and Development
Topic: [SOLVED] How do you distribute your game for Linux?
Replies: 4
Views: 3671

Re: How do you distribute your game for Linux?

Yeah. There's currently no direct way to package a bundle or some such.

The usual way to distribute for Linux (currently) is to share the .love file and make the user do "apt-get install love" at which point they can open the game via "love mygame.love"