Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - wrightmat

Pages: [1] 2 3 ... 17
1
Your projects / Re: AZ2R - Another Zelda 2 Remake
« on: February 06, 2018, 03:01:14 pm »
Agreed. I love the visual style of Ruto - I think it's perfect. Your attention to detail really brings it all together! In the second map, the bushes seem a little light - is that intentional? Also I'm not sure the tree on the bottom matches the style of the rest - maybe just adjust the colors a bit?

2
Your projects / Re: Project Z2R
« on: December 26, 2017, 03:43:10 pm »
The full AoL map consists of 169x118 tiles (of course a lot of that is ocean). Although the map from AoL contains the full map for LoZ, so the scale is obviously much larger than LttP.

3
Development / Re: Lanterne qui illumine autour de links
« on: December 18, 2017, 03:03:30 pm »
My system doesn't exactly meet your criteria, but it could be a starting point that you could customize. Of note in my system, the lantern does not need to be equipped in order to offer the glow at night/dawn/dusk and the intensity does not change based on magic level.

4
Development / Re: NPC routines
« on: December 06, 2017, 02:51:28 pm »
Thanks for the thoughts so far!

llamazing, that's one approach, but basically I'm trying to avoid outlining the per-step movement of every NPC. I'm also trying to move the bulk of the code out of the NPC script and have it handled by an outside routine. Basically as I start applying movement to ten or twenty NPCs in a town, I don't want to spend weeks outlining the movement. It also would be nice to have some randomness in their routines, which is why I'm relying on the "waypoint" approach.

Satoh, I'm certain I didn't explain myself well! I like the syntax that I presented for local routine - it's simple and is capable of outlining an NPC's entire day in one line of code - as long as it can be parsed down the line correctly. In my example, the time between 8 and 10 would be spend pathfinding (with some random movement toward the location thrown in, mostly because of Solarus's current limitations in the pathfinding movement) from the "to_shop" entity to the "to_home" entity.
My problem arises with how to translate this into something that can execute routines at a set time for potentially tens of NPCs. My initial thought was to "register" each NPC's routine when they're created on the map, then have a function that re-arranges this routine in order to place each NPC/waypoint into an hour table. Mostly I'm not sure how to define these tables without having potentially 24 of them...

5
Development / NPC routines
« on: December 06, 2017, 04:41:41 am »
Hey all,

I've been thinking recently about how to create more interesting NPC routines in Lua without it being too complicated. Right now I'm on the idea of passing routines as a table from the NPC script to another scripts that parses it and stores it to be executed on the regular. I'm a little fuzzy on the details though, so I thought I'd throw my thoughts here!

Code: Lua
  1. local routine = { [08]="to_shop", [10]="to_house", [13]="to_mill" }
  2. function entity:on_created()
  3.   self:set_routine(self, routine)
  4. end
Here is where I thought about encoding the routine as a nested table - with time (hours) in brackets and waypoint entity in quotes. Then I can parse that table out to get the individual parts of the routine.

Code: Lua
  1.   for k,v in pairs(routine) do
  2.     game:add_routine(k, npc:get_name(), v)
  3.   end

I think my next step would be to create a new table, or several tables, organized by hour so the game easily parse the correct table at the correct time (the add_routine routine I'm playing around with up there). If this table contains the entity name and waypoint entity name, then the movement should be able to be created pretty easily.

My main issue right now is the structure/format of the routine tables organized by time. I'm not an expert on Lua tables and I'm not sure how to make this without a bunch of if/then statements which would be best to avoid.

Anyway, I'd love to hear thoughts on the idea, and especially the execution thereof!

6
Bugs & Feature requests / Re: Solarus like Rpg Maker 2003
« on: November 23, 2017, 12:33:32 am »
That's a pretty awesome solution! Great work Christopho!

7
Bugs & Feature requests / Re: Solarus like Rpg Maker 2003
« on: November 22, 2017, 02:55:59 pm »
That's interesting Diarandor, I hadn't heard that. Would these be global Lua variables, or even part of the GLOBAL table? Aren't those generally frowned upon in Lua scripting except in particular cases?

8
Bugs & Feature requests / Re: Solarus like Rpg Maker 2003
« on: November 21, 2017, 08:06:41 pm »
Don't mean to pile on, but I totally agree Diarandor!

If you want to use RPG Maker, then use that solution. But Solarus is not RPG Maker and does not strive to be. In fact, I would advocate that Solarus should go the opposite direction - that too many things are hard-coded and should be developed as pure Lua solutions (which Christopho and others are already working on).

Now one solution could be to develop these scripts and then have them as templates available in the editor. Want to add a basic menu? Click a button and it adds the code in automatically, with plenty of comments so the game developer knows what to change to get the desired result. Same with basic item types, character scripts, etc. I think this could present an interesting balance and keep the power of the editor/engine while making it more user friendly.

9
General discussion / Re: PC Gamer article
« on: September 25, 2017, 09:05:03 pm »
Clearly most people didn't actually read the article, which is really frustrating, but also totally normal on the internet. No one involved in the Solarus engine is actually concerned with DMCA because of the smart way Christopho separated the engine, games, and resources. Me, on the other hand - a little worried, lol

10
General discussion / PC Gamer article
« on: September 18, 2017, 07:49:53 pm »
PC Gamer did an awesome little article on our own Christopho and his excellent engine, Solarus! If you haven't seen it, I highly recommend the read!  :D

http://www.pcgamer.com/zeldas-most-dedicated-fan-game-developers-built-an-engine-anyone-can-use/

Great to see good work recognized, and we all know that Christopho has done some great work with Solarus!

11
Your projects / Re: Zelda: Book of Mudora
« on: August 16, 2017, 03:59:49 am »
Maximini, please log any further bugs as issues on the github page at https://github.com/wrightmat/zbom/issues. Thanks!

12
Your projects / Re: Zelda: Book of Mudora
« on: August 09, 2017, 12:55:09 am »
Quote
The Gaira quest doesn't seem to be triggering.
Any more specifics? What were you doing where you expected it to trigger? Any errors?

The other error has been corrected recently, but it was done after 1.3 was released. I'll try to put up a 1.3.1 bug fix release soon.

13
Your projects / Re: Zelda: Book of Mudora
« on: August 05, 2017, 12:01:20 am »
So in other words everything works except for the actual overlay that makes it look like night? What version of BoM are you playing?

14
Your projects / Re: Zelda: Book of Mudora
« on: August 02, 2017, 04:10:34 am »
Hmm... Interesting. All of the bed use the same script to change the time of day - have you had issues at any of the other beds?

As for the error, it's actually legitimate (although unrelated to this) and I've added that dialog in :)

For dungeon 4, I'm almost certain that it's possible to push that block against a wall or other surface to re-align it so it will work for the puzzle.

15
Your projects / Re: Zelda: Book of Mudora
« on: July 28, 2017, 04:22:03 am »
Hi Maximini, I'm sorry to hear that. Do you have any more information so I can try and track down the bug? An error.txt file would be best. Also, have you tried to close the game and re-open your save?

Pages: [1] 2 3 ... 17