Search found 1309 matches

by ivan
Wed Aug 15, 2018 10:37 am
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 8
Views: 825

Re: 11.1 app randomly crashes when looping an OGG file

Furthermore this issue seems to be more apparent when using several streamed sources.
Would be good to add this to the Love2D issue tracker.
by ivan
Sun Aug 12, 2018 4:13 pm
Forum: Support and Development
Topic: Right-to-left languages and love.graphics.printf
Replies: 2
Views: 339

Re: Right-to-left languages and love.graphics.printf

To be honest, I just made sure that we don't have to wrap the text our games.
The "wrapping" issue mentioned above might only be a problem if you have blocks of text.
It's also possible to wrap the text using Lua as well.
by ivan
Sun Aug 12, 2018 10:46 am
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 8
Views: 825

Re: 11.1 app randomly crashes when looping an OGG file

Same problem here. Just upgraded my game to 11.1 and now there are random glitches, squeaks and an occasional crash.
The game just shuts down, no error message or console log.
Any tips, other than using static sources?
by ivan
Wed Aug 01, 2018 4:15 pm
Forum: Games and Creations
Topic: Retro Action-Adenture - Genesis Quest
Replies: 2
Views: 331

Re: Retro Action-Adenture - Genesis Quest

Hello. It looks good, but it's waaay too similar to Zelda. IMO, you need to put your own spin on the gameplay especially if you plan on selling it. People don't like "clones" but if you draw inspiration from multiple games of that genre you can make it work. A good example is River City Ransom and S...
by ivan
Sun Jul 29, 2018 4:25 pm
Forum: Support and Development
Topic: Contact:getNormal's y-coordinate is 0, vector also is not unit
Replies: 4
Views: 401

Re: Contact:getNormal's y-coordinate is 0, vector also is not unit

Yes, Pgimeno is correct.
Furthermore, you don't want to use sensors in this case.
In "beginContact" you can call contact:setEnabled(false).
by ivan
Thu Jul 19, 2018 5:15 pm
Forum: Support and Development
Topic: [SOLVED] Different approaches for saving settings and game progress
Replies: 8
Views: 539

Re: Different approaches for saving settings and game progress

Actually, I would go one step further and say that regardless of the format, safety should always be of concern.
It doesn't really matter if you use Lua, XML, JSon, SQL - all of these formats could probably be exploited in one way or another.
It's really a question of what's practical in your case.
by ivan
Thu Jul 19, 2018 1:29 am
Forum: Support and Development
Topic: [SOLVED] Different approaches for saving settings and game progress
Replies: 8
Views: 539

Re: Different approaches for saving settings and game progress

Yes, using Lua is by far the most sensible choice. I like to load the default options (read-only) file as a table from the game directory, then I look for a "custom" or saved options file in the appdata directory. Then I merge the fields from the two tables if the types match: for k, v in pairs(defa...
by ivan
Tue Jul 17, 2018 4:54 am
Forum: Support and Development
Topic: [Box2D] Polygon triangulation - area > b2_epsilon
Replies: 2
Views: 245

Re: [Box2D] Polygon triangulation - area > b2_epsilon

No, box2d polygons have several limitations. Off the top of my head: - the area of each polygon must be greater than b2_epsilon (you cannot have tiny polygons) - the angle of each vertex in the polygon cannot be too low (you cannot have near 0 or 180-degree vertex corners) - each edge of the polygon...
by ivan
Thu Jul 12, 2018 2:00 pm
Forum: Support and Development
Topic: Compound Shapes?
Replies: 7
Views: 459

Re: Compound Shapes?

I have one last question about excluding shapes from other shapes hit boxes, like a cookie cutter. No, Box2D works with convex polygons up to 8 vertices max. Box2D has several other limitations too like minimum edge length and vertex angle. In short, you want to avoid long, thin triangles which is ...
by ivan
Tue Jul 10, 2018 5:15 pm
Forum: Support and Development
Topic: Scaling without blurring
Replies: 11
Views: 1920

Re: Scaling without blurring

And here is my result. You can notice a contour as well, which I do not want either (it may be a consequence of the blurring). Sorry for necroposting but I believe there is a possible solution for the contour issue. This works with transparent PNG images (using "indexed color"). You need to set the...