Search found 60 matches

by milon
Sat Mar 17, 2018 4:43 pm
Forum: Support and Development
Topic: [SOLVED] Game hangs - A* pathing related?
Replies: 2
Views: 745

Re: [SOLVED] Game hangs - A* pathing related?

Thanks for the suggestion. I did look at a number of them. I ultimately decided against jumper since it's mostly for straight - line stuff and didn't allow for varying "costs" in the terrain (IIRC - I looked at a lot of them). I want more curvy & natural paths, so it wasn't the best fit. But I've go...
by milon
Thu Mar 15, 2018 2:13 pm
Forum: Support and Development
Topic: [SOLVED] Game hangs - A* pathing related?
Replies: 2
Views: 745

[SOLVED] Game hangs - A* pathing related?

Hello, lovely community! It's that time again where I stumble across strange bugs and ask for your help. :awesome: I've been slowly making progress with my RPG, and I'm currently working on creating roads between towns. Ultimately, I want roads built between some - but not all - towns. I've biased m...
by milon
Thu Mar 08, 2018 3:35 pm
Forum: Games and Creations
Topic: Procedural JRPG - preAlpha 2
Replies: 5
Views: 2008

Procedural JRPG - preAlpha 2

Updated! Scroll down for the latest release. ========================= Here's a thing I've been working on! https://www.dropbox.com/s/j39ngbm8ek3zu3s/prealpha-1.png?raw=1 The long-term goal of this project is a procedural (J)RPG heavily inspired by Castle of the Winds. The aim is to be light-weight,...
by milon
Thu Mar 08, 2018 8:11 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1704
Views: 523655

Re: What's everyone working on? (tigsource inspired)

I'm working on an old school 2d procedural rpg. It's been hanging around in the back of my mind for years, but I only just found Love a couple months ago.

EDIT - I decided to release what I'd "accomplished" so far. viewtopic.php?f=14&t=84984
by milon
Wed Mar 07, 2018 7:02 pm
Forum: Support and Development
Topic: Best way to index out-of-bounds?
Replies: 8
Views: 1563

Re: Best way to index out-of-bounds?

It's not a bug, it's a feature! :) (Really!) I'm working on a 2D RPG as a side hobby. Currently, I'm always drawing the player in the center of the screen and that means when I'm near the edge of a map, the graphics routine will try to look up an out-of-bounds region. Each map has a defined "default...
by milon
Wed Feb 28, 2018 12:59 pm
Forum: Support and Development
Topic: Best way to index out-of-bounds?
Replies: 8
Views: 1563

Re: Best way to index out-of-bounds?

Thanks, ivan. That's a pretty nice solution for wrapping. It's not what I want in this case, but I'll log it away for the future. :)
by milon
Wed Feb 28, 2018 3:13 am
Forum: Support and Development
Topic: Best way to index out-of-bounds?
Replies: 8
Views: 1563

Re: Best way to index out-of-bounds?

Good answers, thank you both! I'll probably use an accessor function then, but thank you for the metatable info too. They're still strange and magical to me and this helps to demystify them a bit.
by milon
Wed Feb 28, 2018 12:24 am
Forum: Support and Development
Topic: Best way to index out-of-bounds?
Replies: 8
Views: 1563

Best way to index out-of-bounds?

I'm still pretty new to Lua, and I'm trying to wrap my head around best practices. I have a chunk of code that will occasionally index a 2D table with out-of-bounds values. If the 1st index is invalid, it crashes (fair enough since nil can't do anything with the 2nd index). I want the code to find t...
by milon
Fri Jan 19, 2018 3:38 pm
Forum: Support and Development
Topic: Help calling Love functions from a module
Replies: 3
Views: 920

Re: Help calling Love functions from a module

Thanks so much!! I put some local declarations ahead of the module(...) bit and it works! Zorg, thanks for the tip. Is there a preferred keyword over module()? I tried commenting out the module line, and it seems that it fails to import the module (even with the require line). Error: main.lua:19: at...
by milon
Thu Jan 18, 2018 10:14 pm
Forum: Support and Development
Topic: Help calling Love functions from a module
Replies: 3
Views: 920

Help calling Love functions from a module

EDIT - Mods, thanks for not posting both threads. I didn't catch the message the first time around that it needed manual verification first. Hi all, I'm a super new to Love (and to Lua in general). This is probably a super-simple issue and I'm just missing something obvious, but I can't figure it ou...