Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Okay, last question for a few days

Author
Message
Soroki
19
Years of Service
User Offline
Joined: 26th Jan 2006
Location: United States
Posted: 30th Aug 2006 21:18
I bet you guys are getting tired of me taking up all the forum space with questions I could probably figure out after a few days worth of coding and testing and re-coding and testing again, but I figured someone else would know. Is it posssible to change the mouse pointer to something else, like a sword or whatever?

If we're here to help others, what exactly are the others here for?
Richard Davey
Retired Moderator
23
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 30th Aug 2006 21:21
Hide the pointer, use a sprite (or image) and paste it at the mouse x/y coords.

"Bite my shiny metal ass" - Bender, Futurama
No pixels were harmed in the making of this post
"Don't ping my cheese with your bandwidth"
Soroki
19
Years of Service
User Offline
Joined: 26th Jan 2006
Location: United States
Posted: 30th Aug 2006 21:27 Edited at: 30th Aug 2006 21:28
Cool.Thanks. I think there is an example that did that, right? Mouselook or something.

If we're here to help others, what exactly are the others here for?
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 30th Aug 2006 21:31 Edited at: 30th Aug 2006 21:33
well, as richard said, just hide the mouse pointer, and if you want swords or something like and you just load the sword model and position it in the right corner of the screen, and then lock the object to the camera...



here's something i made, i can give you the sword code if you want? it's real simple... btw, this is my first game and i know it's noobish

Tíhí..
Soroki
19
Years of Service
User Offline
Joined: 26th Jan 2006
Location: United States
Posted: 30th Aug 2006 21:51
Image isn't showing up. But, if you have the code, post it as a snippet. I can't download it if that's what I have to do, because I'm at school.

If we're here to help others, what exactly are the others here for?
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 30th Aug 2006 21:53


there you go

Tíhí..
Soroki
19
Years of Service
User Offline
Joined: 26th Jan 2006
Location: United States
Posted: 30th Aug 2006 21:58
Thanks! If I get the chance to download the sword, I will. I'll just email you if you want me to. Then you can send it. Sound okay?

If we're here to help others, what exactly are the others here for?
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 30th Aug 2006 22:05
i didnt 100% understand you but i think you ment you wanted the sword?, that's ok here it is, it's only the static version though...

Tíhí..

Attachments

Login to view attachments
Soroki
19
Years of Service
User Offline
Joined: 26th Jan 2006
Location: United States
Posted: 31st Aug 2006 20:26
Well, thanks for the file, but I meant that if I ever got the chance to download it I would tell you via email so you could give me the file.

If we're here to help others, what exactly are the others here for?
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 31st Aug 2006 20:46
If you wanted the mouse to be something else you could use a sprite like this. (Already mentioned, but here's a code snippet)



Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 1st Sep 2006 01:25
at the start of my game i was going to use sprites as weapons, i found out they are really hard to controll properly so i switched to models..

Tíhí..
Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 1st Sep 2006 03:53
Lucifer, that screen looks nice for a first game (unlike mine). I was just thinking it would be better if the tree weren't see-through.

Uncle Sam
Nvidia Geforce 7600 GS 256MB PCIEx, 2.66 GHZ Pentium 4 proccessor, 768MB RAM
Need particles? Click here!
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 1st Sep 2006 07:30
You can also use the command "change mouse", that changes the mouses cursor, and is a one thing command.

Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 1st Sep 2006 15:51
@DB user 2006+ Umm... this is the DBC board, and that's a DBPro command.

Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 1st Sep 2006 18:06
Quote: "Lucifer, that screen looks nice for a first game"


ty this screen isnt very good i think, i'm currently modeling some ghosts for the graveyard. i'll change the tree's so they arent see through anymore

Tíhí..
Soroki
19
Years of Service
User Offline
Joined: 26th Jan 2006
Location: United States
Posted: 1st Sep 2006 20:30
The pic isn't showing up. I'm using IE, but I don't know if it has anything to do with it. I bet it's a good pic though. That code worked perfectly for me. TY again.

If we're here to help others, what exactly are the others here for?
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 1st Sep 2006 22:59
Quote: "hat code worked perfectly for me. TY again."


glad to be at your service

Tíhí..

Login to post a reply

Server time is: 2025-05-25 21:55:47
Your offset time is: 2025-05-25 21:55:47