Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hey there! I'm in love with newly updated EzConsole!!!
It feels so much smoother and nicer to use in general now. 

A special like and thanks for adding that goto command which I suggested!

Now, time for some questions and suggestions =)

1. New typeahead for assets works as a charm. My only question is about 256 typeahead limit which is mentioned in this devlog. Let's say I have 300 instances of oWall and 1 instance of oPlayer. Will I still be able to do "set oPlayer:<id> ..." if those 256 typeahead options are all occupied by walls?

2. I really appreciate you made it possible to add custom options. Anyways, there is still no way to create those options dynamically. Let's say I'm making an rpg game where I create npcs with randomly generated names. And now for debugging purposes I want to add a custom command which will find and npc by his name. For that I'd want my command to be able to look through all the npc instances and collect all their names. And show them in typeahead for me.  The easiest way of doing this (as I see it) is simply pass a callback function to EzCommand which will do the job every time I use this command

P.s. I would like to become a contributor for this project. I do believe such projects provide a great opportunity to learn skills from each other and develop this cooperative programming flexibility, setting common coding conventions... and things of that nature =) 

Also you seem to be a nice and responsive person, so it'd be cool to chat. Feel free to reach me at DC _gavrik_

(1 edit)

Hey there! Sorry for not answer before, I move out from my country and haven’t been on a PC since the day I posted this.

About the questions, I’ll try to answer as best as I can remember, but we can talk later on DC if I’m wrong about it :)

  1. The 256 should only be the limit of instances to index at the same time, so, if you have more than 256 instances of “oWall”, then looking for an specific wall would be a pain, but if you are looking for oPlayer, as soon as you write “oP” the oPlayer instance should pop in (if there’s no 256 “oP” instances before it).

  2. I have thought about it when I was developing the feature, but I’m still not sure how to implement it, I thought on some possible implementations but yours seems very reasonable, what I could think now is:

  • An extra callback parameter for ArgumentWithOptions constructor. But this would mean to create a new parameter for JSON files.
  • A new ArgumentWithDynamicOptions constructor. This may change the Argument struct.
  • A rework of the Argument constructors leaving on one “Argument” constructor, but using a enum of types (DEFAULT, WITH_OPTIONS, DYNAMIC_OPTIONS, etc) to simplify everything in one struct.

Btw, would love to have contributors to the project! Thank you for your interest, I may not be too responsive these first weeks, but I would love to have a chat with you, will add you to DC nos :)