Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Robert Walter  
#1 Posted : Wednesday, November 30, 2011 2:07:59 AM(UTC)
Robert Walter

Joined: 8/24/2011(UTC)
Posts: 68

Thanks: 4 times
Title says it. Is there a way to change the mouse cursor appearance to a custom graphic in Delta Engine?
Thanks in advance.

Wanna join the discussion?! Login to your forum accountregister a new account. Or Connect via Facebook Twitter Google

Offline Robert Walter  
#2 Posted : Wednesday, December 7, 2011 2:56:12 PM(UTC)
Robert Walter

Joined: 8/24/2011(UTC)
Posts: 68

Thanks: 4 times
Nevermind. Built my own Cursor class and just hid windows own cursor. :)
Offline Benjamin  
#3 Posted : Wednesday, December 7, 2011 3:19:57 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Good. Btw: Did you know you can hide the Windows Cursor easily with
Code:

Application.Window.HideCursor();
Offline Robert Walter  
#4 Posted : Wednesday, December 7, 2011 6:04:41 PM(UTC)
Robert Walter

Joined: 8/24/2011(UTC)
Posts: 68

Thanks: 4 times
Ok, good to know. Thank you :)

I'm using

Code:
Cursor.Hide();


So I had to include the System.Windows.Forms assembly.
Offline Benjamin  
#5 Posted : Wednesday, December 7, 2011 9:15:40 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
That is fine, but when you want to port your game on platforms where there is no System.Windows.Forms available (like iOS/Android/WP7, etc.) you need to change that or just use the engine functionality ^^
Rss Feed  Atom Feed
Users browsing this topic
OceanSpiders 2.0
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.043 seconds.