Search found 54 matches

by Varkas
Sun Mar 22, 2020 7:10 pm
Forum: Games and Creations
Topic: Tiny Places
Replies: 31
Views: 20451

Re: Tiny Places

Besides a number of bugfixes, there is now a "game mode" which allows a map to be played. At the moment there isn't much functionality there yet, but the server can broadcast move commands for player avatars and the clients can move them.

So, let's bounce!

https://youtu.be/yNOE9D9gxwk

by Varkas
Wed Mar 18, 2020 11:21 am
Forum: Support and Development
Topic: File Explorer
Replies: 3
Views: 1793

Re: File Explorer

you can use love.filesystem or hacks like this - that is calling system tools and parses the output:

http://www.wellho.net/resources/ex.php4 ... 2/dlisting

So yes it's possible, but probably not very nice to make.
by Varkas
Wed Mar 18, 2020 11:12 am
Forum: Games and Creations
Topic: Tiny Places
Replies: 31
Views: 20451

Re: Tiny Places

The "moving objects" code had to wait. I felt a need to make better trees and at least add some very generic shadows. tiny_places-002-trees_n_shadows.jpg Adding images is not really taking that much time but entering the data for the game engine to actualy use the images properly is a tedious task. ...
by Varkas
Tue Mar 17, 2020 12:23 am
Forum: Games and Creations
Topic: Tiny Places
Replies: 31
Views: 20451

Re: Tiny Places

One can now set color/tint and transparency for all map objetcs. The color selector might get border like the buttons too, but it was hard enough to make it work. tiny_places-002_colors.jpg I think the next step will be to add moving objects. Still a bit uncertain how to split the client and server ...
by Varkas
Sun Mar 15, 2020 1:55 am
Forum: Support and Development
Topic: [SOLVED] Executing Lua code from external file in LÖVE?
Replies: 8
Views: 2527

Re: Executing Lua code from external file in LÖVE?

This page shows several methods:

https://www.lua.org/pil/8.html

"dofile" will execute the file right away
"loadfile" will load it and hand you a function that you can call
"loadstring" does the trick if you have the code as text and not as file

Edit: Accessing global variables should work.
by Varkas
Sun Mar 15, 2020 12:23 am
Forum: Games and Creations
Topic: Tiny Places
Replies: 31
Views: 20451

Re: Tiny Places

I totally would if I could. I'll be happy though once there is some pathfinding and mobs can actually move over the map. I think I have an idea that doesn't need to transfer many KB path data. Must see if it work. But meanwhile I did something easier, completed the basic work for the "cloud" layer. ...
by Varkas
Fri Mar 13, 2020 12:23 am
Forum: Games and Creations
Topic: Tiny Places
Replies: 31
Views: 20451

Re: Tiny Places

Thanks! Coding is going well, the client-server connection works nicely, but it still takes time. Since the last screenshot the map has gotten several layers and the server can now save map data and send them to the clients again after a client restart. A good amount of work is also to import all th...
by Varkas
Fri Mar 13, 2020 12:19 am
Forum: General
Topic: How do I use a pathfinding system?
Replies: 3
Views: 3551

Re: How do I use a pathfinding system?

Most systems work on graph structures (nodes and links). The graph is built from the map (walkable ways) and then searched for the shortest path between two nodes.

There surely are some readymade systems, but it will depend on your map representation which of them fits.
by Varkas
Wed Mar 11, 2020 2:16 pm
Forum: General
Topic: Catching all the typos ...
Replies: 9
Views: 4008

Re: Catching all the typos ...

Thanks, ingsoc451 and pgimeno. Those two tools look quite helpful to me!
by Varkas
Wed Mar 11, 2020 12:59 pm
Forum: Games and Creations
Topic: Tiny Places
Replies: 31
Views: 20451

Tiny Places

Tiny Places is meant to become a collaborative map editor and RPG system. The client side will be implemented in Love2D and the server side will be Java. So far, there is a very primitive map editor and a minimal server to broadcast changes made to the map to other connected clients. tiny_places-001...