Search found 231 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 24
by ai_enabled
27 Mar 2019, 20:29
Forum: General Discussion
Replies: 6
Views: 1731

Setting the text hinting

Hi guys, I'm curious if there is a way to apply something like WPF TextOptions.TextHintingMode="Animated" to the textblock? The use case is the credits menu in the game - it's scrolled every frame on some small distance. The text produces some flickering while scrolling - I suppose this is...
by ai_enabled
08 Mar 2019, 12:20
Forum: General Discussion
Replies: 6
Views: 3351

Re: Localization / Translation approaches

So, at the end you are not following the approach #4 right? Because you remove all x:Static entries at runtime. That's correct. In the runtime they're replaced with the actual string (a const value acquired via Reflection) but this is a hack until you implement an x:Static support for const/static ...
by ai_enabled
06 Mar 2019, 01:26
Forum: General Discussion
Replies: 6
Views: 3351

Re: Localization / Translation approaches

Thank you, guys, for your replies! I've thought a lot on the best approach and settled with the approach #4 ("x:Static approach to reference C# const string") from my first post. We also need to localize strings in C# code and I really dislike .NET resources files (I mean *.resx; if we hav...
by ai_enabled
27 Jan 2019, 00:35
Forum: General Discussion
Replies: 5
Views: 1013

Re: Several Horizontal.Aligments do not cooperate

Yes, you can use a variable:
var button1 = new Button(...);
DockPanel.SetDock(button1, Dock.Left))
_panel.Children.Add(button1);
And with Grid - you can add more column definitions at any time. It's often the way to go - a simple yet powerful layout.

Regards!
by ai_enabled
26 Jan 2019, 13:10
Forum: General Discussion
Replies: 5
Views: 1013

Re: Several Horizontal.Aligments do not cooperate

First, you're incorrectly using DockPanel. If you want elements to properly align ("dock") in it you need to assign DockPanel.Dock attached property (from C# it's set as DockPanel.SetDock(control, Dock.Left)). For example see https://docs.microsoft.com/en-us/dotnet/api/system.windows.contr...
by ai_enabled
25 Jan 2019, 23:11
Forum: Showcase Gallery
Replies: 1
Views: 20474

Re: Domino Run 2

Looks great! The description reminds me a lot of the challenges I had myself with NoesisGUI and overall game architecture... Over time we developed various re-useable components, such as a navigation service, a dialog service, localization service (...) If you have some time please check out my new ...
by ai_enabled
25 Jan 2019, 22:46
Forum: General Discussion
Replies: 6
Views: 3351

Localization / Translation approaches

Hi guys, I'm starting my work on CryoFall localization soon and researching the localization approaches. I've checked the forums ( outdated topic ) and NoesisGUI localization sample on Github and here are my thoughts on each approach I've thought about: 1. NoesisGUI approach from the sample which is...
by ai_enabled
08 Jan 2019, 11:09
Forum: Official Announcements
Replies: 63
Views: 77219

Re: [BETA] NoesisGUI v2.2.0b5

I'm glad to see so many enhancements and fixes!
Perhaps it's time to release C# SDK public beta? :-)
by ai_enabled
08 Jun 2018, 10:23
Forum: General Discussion
Replies: 19
Views: 10331

Re: MonoGame Integration

MonoGame wrapper updated https://github.com/aienabled/NoesisGUI.MonoGameWrapper Fixed some issues with the input handling and generally improved it to almost perfect state (though to make it really perfect we're still waiting for https://www.noesisengine.com/bugs/view.php?id=1222 ). Fixed the double...
by ai_enabled
21 May 2018, 20:37
Forum: Showcase Gallery
Replies: 7
Views: 20594

Re: Heads up - our game ships with the completely open source UI code (XAML/NoesisGUI) and available for free during alp

For your buttons did you basically take your images from your artist, subclass Button, and create your own 9-sliced button component? With NoesisGUI it's too complicated and inefficient to use 9-sliced image approach (especially if you want to have multiple states and/or animation). All buttons (an...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 24