Search found 42 matches

by peterrust
Tue Mar 28, 2017 4:21 pm
Forum: General
Topic: Sharing lua library have resources (image)
Replies: 4
Views: 3067

Re: Sharing lua library have resources (image)

zaher: Often, when developing a shared library like this, versioning becomes important. Imagine, for example, that you develop two projects simultaneously that both depend on the same shared library. You lose interested in one of the projects and focus exclusively on the other -- pretty soon you're ...
by peterrust
Sat Mar 25, 2017 10:11 pm
Forum: Support and Development
Topic: New to Love, Lua. love.graphics.rectangle performance question
Replies: 2
Views: 2632

Re: New to Love, Lua. love.graphics.rectangle performance question

sludgefrog, Is the entire grid visible? If not, you could make things faster by only drawing the ones that are visible. I don't know much about performance tuning in Love, I came here to see if anyone else had answered your question & was bummed that no one had yet. I do know that the STI librar...
by peterrust
Sat Feb 25, 2017 3:15 pm
Forum: General
Topic: Is Love a Suitable Engine for my Project?
Replies: 9
Views: 10260

Re: Is Love a Suitable Engine for my Project?

I want there to be a character walking around a series of 2d maps (leg animation optional) Check out ROTLove library for randomization, and STI for drawing the map. If you're just doing static maps (like those created in Tiled), then you can use STI by itself, but if you want to get into random map...
by peterrust
Thu Feb 09, 2017 1:39 am
Forum: Support and Development
Topic: How do you code game states?
Replies: 11
Views: 14853

Re: How do you code game states?

bgordebak, A lot of people use this gamestate library: https://github.com/vrld/hump/blob/master/docs/gamestate.rst Even if you don't use the library, you may find the concept useful -- to group together gamestate data that has the same lifetime. In other words, all the data points that relate to the...
by peterrust
Wed Feb 08, 2017 4:29 pm
Forum: General
Topic: Want to make a 2d top-down or angled RPG. Starting out, could use some advice.
Replies: 15
Views: 13750

Re: Want to make a 2d top-down or angled RPG. Starting out, could use some advice.

yougetagoldstar, I don't think LÖVE is the easiest on-ramp to programming, though I *think* it would work provided you have a personality that works well with lots of freedom and you're willing to jump in the deep end and ask lots of questions and try stuff before you fully understand them, but if I...
by peterrust
Wed Feb 08, 2017 7:23 am
Forum: Support and Development
Topic: Is it possible to tile a triangle like you can with quads?
Replies: 17
Views: 7505

Re: Is it possible to tile a triangle like you can with quads?

how would I make half of it transparent? You edit it with a software like GIMP, Photoshop or other image editor Right... gimp and Photoshop are so powerful, they can be hard to figure out. There are plenty of smaller image editors out there, I really like aseprite, which is designed for pixel art, ...
by peterrust
Tue Feb 07, 2017 4:23 pm
Forum: Support and Development
Topic: Is it possible to tile a triangle like you can with quads?
Replies: 17
Views: 7505

Re: Is it possible to tile a triangle like you can with quads?

Dialglex, I haven't done it myself, but my impression is that people typically create a rectangular tile image, where half of the image is transparent and the other half is "painted" with the triangle image. But an actual triangle is input into the physics system (I don't think the bump co...
by peterrust
Tue Feb 07, 2017 4:09 pm
Forum: Libraries and Tools
Topic: New Tutorial: Procedural Map Generation with the STI Library
Replies: 2
Views: 4819

Re: New Tutorial: Procedural Map Generation with the STI Library

it's more a programmatic map generation tutorial Yes, great point. I knew it didn't get into true procedural stuff, but didn't know what to call it. I'll change it to "programmatic" and mention that it's a starting point for people wanting to connect STI with procedural algorithms. At som...
by peterrust
Tue Feb 07, 2017 2:51 am
Forum: Support and Development
Topic: slide effect
Replies: 2
Views: 2699

Re: slide effect

thewifitree, If you want to go really advanced/realistic, you can use acceleration (as evgiz points out, you're doing this already with gravity on the y axis), combined with friction. The friction will essentially put a cap on the velocity while the horizontal acceleration is still on, and it will d...
by peterrust
Tue Feb 07, 2017 2:39 am
Forum: Libraries and Tools
Topic: New Tutorial: Procedural Map Generation with the STI Library
Replies: 2
Views: 4819

New Tutorial: Procedural Map Generation with the STI Library

The popular Simple Tiled Implementation library (https://github.com/karai17/Simple-Tiled-Implementation) recently added support for passing in a map table directly (as of v0.16.0.4). This means that STI can be more easily used with procedural map generation (for instance for roguelikes or sandbox ga...