Search found 5 matches

by OverMalo
16 Apr 2012, 21:08
Forum: General Discussion
Replies: 1
Views: 1968

Animation Sprites with NoesisGUI

Hello, I am developing a 2D game with NoesisGUI and the system that I have choosen for animated sprites is as follows: - I have a file by every frame and then a ImageBrush each. - I animate the Fill property of a Rectangle. I have no problem with this. But after seeing the tutorial about animations ...
by OverMalo
24 Feb 2012, 09:59
Forum: General Discussion
Replies: 1
Views: 1811

Re: UserControl DependencyProperty

Fixed with:
data->RegisterProperty<NsInt32>(ItemAskedProperty, "ItemAsked",
FrameworkPropertyMetaData::Create(NsInt32(50), FrameworkOptions_None));
by OverMalo
24 Feb 2012, 09:46
Forum: General Discussion
Replies: 1
Views: 1811

UserControl DependencyProperty

Hi, I define a DependencyProperty in UserControl like this: (Simplify class) class WorkerOffice : public UserControl { public: NsInt32 GetItemAsked() const { return DependencyObject::GetValue<NsInt32>(ItemAskedProperty); } void SetItemAsked(NsInt32 value) { DependencyObject::SetValue<NsInt32>(ItemAs...
by OverMalo
23 Feb 2012, 15:42
Forum: General Discussion
Replies: 3
Views: 2804

Re: Animation problem with binding a resource

Hi,

Thanks!
by OverMalo
23 Feb 2012, 09:13
Forum: General Discussion
Replies: 3
Views: 2804

Animation problem with binding a resource

Hi, I am using NoesisGUI to develop 2D game and i have problem with binding a resource in DiscreteObjectKeyFrame. This code works: <DiscreteObjectKeyFrame KeyTime="0:0:0.08"> <DiscreteObjectKeyFrame.Value> <ImageBrush ImageSource="images/chew_man_chew/rompetejas02.png"/> </DiscreteObjectKeyFrame.Val...