trompetin17
WFG Programming Team-
Posts
85 -
Joined
-
Last visited
-
Days Won
12
Everything posted by trompetin17
-
Atlas in Game (Alpha)
trompetin17 replied to trompetin17's topic in Game Development & Technical Discussion
actually is https://gitea.wildfiregames.com/trompetin17/0ad-atlas-in-game/src/branch/main so if you are able to test would be great. you can read more details here: https://gitea.wildfiregames.com/0ad/0ad/pulls/7803 -
Atlas in Game (Alpha)
trompetin17 replied to trompetin17's topic in Game Development & Technical Discussion
Continuing with the initiative, I mention it so that it becomes visible. -
How do I make new typefaces and fonts?
trompetin17 replied to Perzival12's topic in Game Modification
https://gitea.wildfiregames.com/0ad/0ad/pulls/8792 =D -
How do I make new typefaces and fonts?
trompetin17 replied to Perzival12's topic in Game Modification
Sure i will provide the PR later , it is on my radar -
How do I make new typefaces and fonts?
trompetin17 replied to Perzival12's topic in Game Modification
or here https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/mod/gui/gui.rng -
How do I make new typefaces and fonts?
trompetin17 replied to Perzival12's topic in Game Modification
oh i see, i updated the wiki thx for that https://gitea.wildfiregames.com/0ad/0ad/wiki/Adding_font_support -
How do I make new typefaces and fonts?
trompetin17 replied to Perzival12's topic in Game Modification
Stan it doesnt wrok right because of this in rng file: a workaround is to copy and paste the gui.rng file inside "gui" folder and replace that line with <param name="pattern">(lithos|mono|sans)-(bold-|italic-)?(stroke-)?[0-9]{1,3}</param> while we create a PR that enable this support without this workaround -
How do I make new typefaces and fonts?
trompetin17 replied to Perzival12's topic in Game Modification
Well like stan said, we have the style.xml file concept so you can create your style file then include in your gui .xml file https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/common/styles.xml#L12 https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/common/styles.xml#L66 In 0.A.D we have the page concept where you can define what styles to use (you can examine all page_*): https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/page_pregame.xml#L4 and after that the real GUI xml https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/page_pregame.xml#L15 so when we define any element we use the xml tag "Object" + attrbiute "type" to define what object... and you can apply an style with attrbiute "style" https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/page_pregame.xml#L15 or you can explicitly use the "font" attribute if you wan it. Let me know if that help you :). PD: you can test first adding the font you wanna test and replace/add the "font" tag in a particular object to see if that work, after that you can expand the idea with styles.xml and "style" attribute -
How do I make new typefaces and fonts?
trompetin17 replied to Perzival12's topic in Game Modification
btw what font are you using? Im seeing some baseline issue (im working on it also) -
How do I make new typefaces and fonts?
trompetin17 replied to Perzival12's topic in Game Modification
Nice!!, Im working to fix blurry issue -
How do I make new typefaces and fonts?
trompetin17 replied to Perzival12's topic in Game Modification
-
How do I make new typefaces and fonts?
trompetin17 replied to Perzival12's topic in Game Modification
Current code only load the file "config/[yourmodname].cfg" -
How do I make new typefaces and fonts?
trompetin17 replied to Perzival12's topic in Game Modification
IM not sure if you already read this page https://gitea.wildfiregames.com/0ad/0ad/wiki/Adding_font_support Let us know if that help -
Actors selection in Atlas not working
trompetin17 replied to cephalotus's topic in Gameplay Discussion
i would like to ask you two additional things: 1. An screenshot that show me the whole AtlasUI when you tried to click or select an actor 2. Maybe if you can record and upload the record to see what steps are you using to being able to catch any minimal detail that drive me to found the real issue thx -
Actors selection in Atlas not working
trompetin17 replied to cephalotus's topic in Gameplay Discussion
Hello @cephalotusmind if you help with some information regarding your Linux Manjaro, im not sure what version of wxWidget you have there, can you tell me about it? why?: the Atlas Editor relay on wxWidget to capture keyboards keys, so maybe can be related to a bug or kind of wxWidget but i would like to discard if this is the issue first -
Atlas crash on vulkan when generating random map.
trompetin17 replied to blarp123's topic in General Discussion
Still in WIP -
I just make the PR https://github.com/JustusAvramenko/delenda_est/pull/70 that enable the summary work again and the game itsel work in current development phase :), let me know
-
I'd like to share some updates on the project. Here are some of the features we aim to include: Expandability through mods, without a strict dependency on the "public mod" (though compatibility with it will be maintained). Support for backend devices, both current and future. Independence from wxWidgets—no need for it to function. The project is still in its alpha stage, so a lot of code refactoring, UI polish, and additional features are still needed. Currently, I'm working on integrating the features available in AtlasUI. Some concepts REPO: https://gitea.wildfiregames.com/trompetin17/0ad-atlas-in-game/src/branch/main/source in case you wanna try the workflow
- 6 replies
-
- 11
-
-
-
GUI ScrollPanel
trompetin17 replied to trompetin17's topic in Game Development & Technical Discussion
https://gitea.wildfiregames.com/0ad/0ad/commit/8c250568e7cb9e422c7cf6799ea586dcb14b4f14 ScrollPanel get on live, If anyone found something let me know please with step to reproduce. -
GUI ScrollPanel
trompetin17 replied to trompetin17's topic in Game Development & Technical Discussion
Sctructure Tree using ScrollPanel here is the changes made in mod public https://gitea.wildfiregames.com/0ad/0ad/commit/3b4e5d98f4b63a6ad8bea258c88c463de069ce2c -
GUI ScrollPanel
trompetin17 replied to trompetin17's topic in Game Development & Technical Discussion
Hello, mind if you can help me to get all current ui that would need this component, please with images, keep in mind to use the minimal screen we supported. For now im working on Structure tech/unit tree info. Maybe summary screens?. Thx in advance -
A new ScrollPanel GUI component is going to be born with the following capabilities: Scroll Orientation Support: Allows scrolling in horizontal, vertical, or both directions, providing flexibility for different use cases. Partial Object Rendering: Supports partial rendering of objects that are only partially visible within the scroll boundaries, improving visual accuracy and performance. Boundary-Constrained Mouse Interaction: Handles mouse events strictly within the panel's visible boundaries, preventing interaction with objects outside the scrollable area. Minimum Internal Size (min_width, min_height): Introduces support for virtual space management, allowing the panel to maintain a minimum internal size independent of its actual on-screen dimensions. Even when the panel is resized, this ensures that the content respects a defined virtual space (with min_width and min_height), effectively simulating a larger internal canvas. This is particularly useful for large content or scenarios where a more extensive scrollable area is required than the current visible panel. Here is the showcase Pull request: https://gitea.wildfiregames.com/0ad/0ad/pulls/7118 Please give me feedback to keep improving GUI Components.
-
Rearrangements of some game options
trompetin17 replied to Vantha's topic in Game Development & Technical Discussion
Ok all functionality was added now Im waitintg for reviews and some more testing from different people, so if you are able to test and give me feedback would be great https://gitea.wildfiregames.com/0ad/0ad/pulls/7118 -
Rearrangements of some game options
trompetin17 replied to Vantha's topic in Game Development & Technical Discussion
WIP Progress Horizontal and Vertical Scroll enable Partially Draw Object Dropwdown work in partially draw with tooltips Both scrolls scrollpanel also support "Min Width" / "Min Height" when you need more "internal space" without taking care about the current size of the scrollpanel (sera idea) I will need more testing or more use case to validate if this is work correctly, Im still missing if im going to expose scrollpane like "scrollpanel" tag instead of "object type" thx in advance
