NaughtyAttributes
libtcod-vcpkg-template
Our great sponsors
NaughtyAttributes | libtcod-vcpkg-template | |
---|---|---|
36 | 15 | |
4,264 | 17 | |
- | - | |
0.0 | 4.6 | |
5 months ago | 5 months ago | |
C# | C++ | |
MIT License | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NaughtyAttributes
-
How do you implement static string, I use it like this but im not sure if it's a good way
NaughtyAttributes is a free plugin that allows you to do so. By using attributes you can make your fields a lot easier to manage. For example [Tag] is an attribute that allows your string to be directly linked to the corresponding tag.
-
How do you handle the constant null checking?
In Unity, you could use NaughtyAttributes and then use the [Required] attribute to indicate that a value is mandatory.
-
I love collecting free/MIT utility code for Unity to add to my projects. Let's share some!
NaughtyAttributes https://github.com/dbrizov/NaughtyAttributes is amazing for quickly and easily customizing script inspectors without having to resort to a full custom inspector GUI
-
how can I make this button?
Naughty Attributes is your friend
-
It's staggering how online resources don't even come close to teaching you what you learn from a production environment
It's a professional team of ~15. Being able to customize the display of data within the Inspector makes it much easier for less technical team members to tune and create.
-
What are your favorite productivity tools? Especially lesser-known or free ones?
I personally love Naughty Attributes: https://github.com/dbrizov/NaughtyAttributes which makes it easy to add inspector buttons to functions.
-
Call a Method via Button in the Inspector
I went and looked for the open source version I mentioned - https://github.com/dbrizov/NaughtyAttributes
-
Share the tools you use for game design, coding and narrative
For Unity, I strongly recommend something like NaughtyAttributes to help expose your data in the Inspector with better widgets and validation. (There are paid alternatives too. Odin might accomplish a lot of the same?)
- Is there custom editors or editor tools you can't do without?
-
Is it possible to toggle a field serialization on bool value? (true=serialize, false= deserialize)
There's also free alternatives like naughty attributes which has a HideIf attribute too
libtcod-vcpkg-template
-
Sharing Saturday #472
It doesn't teach on its own, but the libtcod-vcpkg-template can help with quickly setting up Vcpkg and libtcod in a cross-platform manner. Parts might need to be updated to work with C++20 or later. This template also creates Emscripten builds.
-
Cannot get libtcod to compile properly using vcpkg on Fedora Linux
Hello all. I'm trying to get the libtcod example project to compile, but seem to be running into errors at every step. When I compile normally and run the binary, I get the error:
-
C++ and libtcod; linker errors
I've just checked, and Visual Studio can build/run the libtcod template. So if you setup a CMakeLists.txt to use Vcpkg then your project should run even without VSCode's CMake Tools plugin.
-
Sharing Saturday #422
libtcod | GitHub | Issues | Forum | Changelog | Documentation | Template
-
RoguelikeDev Does The Complete Roguelike Tutorial - Week 1
I'm working in C++17 and doing the ancient C++ tutorial on RogueBasin. I'm starting from the libtcod C++ template and plan on using the latest libtcod features rather than the older ones taught by that tutorial. My new repository is here.
-
C++ libraries for ascii graphics?
Libtcod's Vcpkg template could work for your conditions. The tools it uses are cross-platform, using VSCode as the IDE rather than Visual Studio, but running CMake manually should work also.
-
Are there any actual full tutorials for installing libtcod with vcpkg and cmake?
I've made this template project, but I've since modified it so that I can use it to develop libtcod with, so right now it only uses Vcpkg to fetch the dependencies for libtcod and then builds libtcod from a submodule. This template is complete as-is and will compile and run if you follow the instructions.
-
Sharing Saturday #409
I've updated the C++ template project to upload build artifacts (listed as automated-builds in any passing workflow.) It also automatically publishes builds as GitHub Releases when you push an annotated tag to the repository. I added one of the libtcod fonts too so that it's clear how to handle data assets in a project.
-
Installing libtcod c++ on Linux/Ubuntu
The GitHub releases don't include a Linux binary, you'll have to compile it yourself. The easiest way is to use the template project which is cross-platform.
-
Sharing Saturday #388
libtcod | GitHub | Issues | Forum | Changelog | Documentation | Template
What are some alternatives?
UnitySerializedDictionary - Serialized and drawed in editor Dictionary
dear-imgui-unity - Unity package for Dear ImGui
python-tcod - A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
Unity-SerializeReferenceExtensions - Provide popup to specify the type of the field serialized by the [SerializeReference] attribute in the inspector.
libtcod - A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.
Markup-Attributes - A Unity Editor extension for customizing inspector layout with attributes.
RSRevived
Unity-Editor-Toolbox - Tools, custom attributes, drawers, hierarchy overlay, and other extensions for the Unity Editor.
tcod_tutorial_v2
Unity-SerializableDictionary - Serializable dictionary class for Unity
glsp - The GameLisp scripting language