I'd like some help with mouse's icon...
Basically thats what I want:
If someone put the mouse at the player, an "icon" will appear at him.
Example:
It's a game based on naruto, so I put the mouse at "the player" and it will appear his village's icon.
What's the code for that?
@Thanks
ID:155363
![]() Jul 22 2011, 8:52 am
|
|
![]() Jul 22 2011, 8:57 am
|
|
MouseEntered() is the proc you are looking for. Look it up in F1.
|
You might need to take a look at the mouse_pointer_icon var. Looking at the "over" option, this should give you enough information. For what you want though, you'll also need to work with the MouseEntered() and MouseExited() procs. Let me test out a few things that I'll get back to you on an example code.
|
Okay, well...
Basically, it's a source of Naruto GOA, I'd like to post the codes here, but there's so many codes for it. I don't really want to make a rip, I'm trying to make it original, like... new codes, a new game but the icons... the graphic of Naruto GOA is the best of BYOND for me, that's the reason I wanted to make icons based on Naruto GOA's Icon/Graphic. But I've troubles trying to fix the mouse icons. Maybe some of you guys know how to fix it. Does you guys really need an example code? @Thanks. |
Satsuji wrote:
Okay, well... Well, if your already in the concept of using other code, Such as GOA, look at NNG's Source it has the exact same system your looking for. |
There are a few websites with a mass of BYOND sources. They take advantage of the desire for sources and make money by hosting them on survey sites.
|
HA :D
already shifting through them as we speak. But i have a good idea of how to design a game, just my ideas are bigger than my ability. Gotta work on that. |
I've been around for a little over a year,
What i do is get an idea, code it, and then leave it alone and move on to something else. Eventually i'm going to take all my random nonsense coding and combine it into something :D |
For cases like those I will actually have a world to store information from all the code I have learned so I don't lose it!
|