Search found 5 matches
- 16 Apr 2012, 21:08
- Forum: General Discussion
- Replies: 1
- Views: 4723
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 ...
- 24 Feb 2012, 09:59
- Forum: General Discussion
- Replies: 1
- Views: 5385
Re: UserControl DependencyProperty
Fixed with:
data->RegisterProperty<NsInt32>(ItemAskedProperty, "ItemAsked",
FrameworkPropertyMetaData::Create(NsInt32(50), FrameworkOptions_None));
data->RegisterProperty<NsInt32>(ItemAskedProperty, "ItemAsked",
FrameworkPropertyMetaData::Create(NsInt32(50), FrameworkOptions_None));
- 24 Feb 2012, 09:46
- Forum: General Discussion
- Replies: 1
- Views: 5385
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...
- 23 Feb 2012, 15:42
- Forum: General Discussion
- Replies: 3
- Views: 6762
Re: Animation problem with binding a resource
Hi,
Thanks!
Thanks!
- 23 Feb 2012, 09:13
- Forum: General Discussion
- Replies: 3
- Views: 6762
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"/> </Discre...