Aaiko

Joined: Mar 24 2003

Home page

Shoutbox

Aaiko
Mar 4, 5:30 pm
Jaysburn wrote:
Alright I'm mostly sure I get it. What you're saying is essentially I've got to winget the position of the window the maps in and accommodate where in the window the map is, break that down from a string to x and y variables using findtext() and textnum(), figure out the x and y of where on the screen the object the mouse is over is and place the prompt accordingly?

I'll fiddle around but thanks for the help!

What you could do is stick the map inside a child and keep it as a static size so that you know the exact size of the map and the position would be 0,0 in the child. The tooltip window would be in the same child over the map.

But again, using the new 494 onscreen text is a much better option.
Jaysburn
Mar 4, 2:36 pm
Alright I'm mostly sure I get it. What you're saying is essentially I've got to winget the position of the window the maps in and accommodate where in the window the map is, break that down from a string to x and y variables using findtext() and textnum(), figure out the x and y of where on the screen the object the mouse is over is and place the prompt accordingly?

I'll fiddle around but thanks for the help!
Aaiko
Mar 2, 4:26 pm
Jaysburn wrote:
Could you give me an example? I understand not wanting to post it here so if you could, you can email me it at jay_l12@hotmail.com

As for the onscreen text, I would but it's not just a simple tooltip I'm having come up it's going to be a small window with a bit of information and the requirements to craft the item.

Thank you!

I don't have an example for you, sadly. I use like 100 lines of code for mine (which I'd rather not give out) because of a ton of exceptions like whether to put the tooltip to the top, bottom, left, right depending on if it would get cut off otherwise and the width and height of it depending on the text inside and so on.

I'm sure there are plenty of developers in the developer help section that would be glad to help you out, though.
Jaysburn
Mar 2, 3:55 pm
Could you give me an example? I understand not wanting to post it here so if you could, you can email me it at jay_l12@hotmail.com

As for the onscreen text, I would but it's not just a simple tooltip I'm having come up it's going to be a small window with a bit of information and the requirements to craft the item.

Thank you!
Aaiko
Mar 2, 2:13 pm
Jaysburn wrote:
Hey Aaiko, I was wondering if you could give me some advice. In Teridal you have description windows come up when you hold the mouse over an object in your inventory or on the map. Now that's no problem to do, but how is it that you make them appear right next to the mouse?

It's a little complicated the way I do it, but basically mousing over something returns a "screen-loc" parameter. Just take the x*32 and the y*32 (with some other adjustments where needed) and you have a window.pos value where the object is. This is assuming the map takes up the entire screen. If you have other things around the top or left of the map, you have to calculate it in also.

The new BYOND update has onscreen text. I'd suggest just making onscreen tooltips with it rather than the Windows-based interface tooltips you're asking about.

[See all] [Login to shout]

Subject
Replies
Date
Location
 
Iccusion Entertainment is proud to announce its newest department known as Iccusion Mods. This department, led by Jack, …
15
 
Iccusion Entertainment is proud to announce the launch of two new Iccusion Seika servers. Seika now has three 24/7 …
0
 
Iccusion Entertainment is proud to present the Seika v22.8 preview! Many features are being remade and new features are …
1
 
Version 22.8 is not yet released! Added - Improved caves and dungeons with new art. (Aaiko, Jack) - Improved world …
13
 
Iccusion Entertainment is proud to announce that it will be giving away four BYOND Memberships to BYOND users just for …
1
 
Iccusion Entertainment is proud to announce Iccusion Comics. Iccusion Comics will be released for public viewing once …
1
 
Iccusion Entertainment is proud to announce the release of Hindrance v1.2. Version 1.2 is a small update that has many …
0
 
Iccusion Entertainment has started work on Fray once again. For those who do not know, Fray is a futuristic/space type …
10
 
Iccusion Entertainment is proud to announce the release of the newest version of Seika, version 22.7. Over two years …
1
 
Added - Added a new system known as the Animal Gem System. (Aaiko) - Added a new looting system. (Aaiko, Jack) - …
4
 
Iccusion Entertainment is proud to announce the release of Globule. Globule is a small arcade game where players …
1
 
Iccusion Entertainment is proud to present its newest product known as Plight. Plight is a word game where you have to …
8
 
Iccusion Entertainment is proud to present the final patch for Seika version 22.6. This new patch includes two more …
2
 
Iccusion Entertainment is proud to announce the release of Seika Version 22.6! This update has many bug fixes, changes, …
1
 
Iccusion Entertainment is proud to announce the release of Hindrance v1.1. For those who do not know, Hindrance is an …
5
 
We have been working on Seika 22.6 for some time now and have redone pretty much everything. So, we've come to …
Page: 1 2
32
 
Alpha Transparency - Ability to give icons different transparency colors. This alone would vastly improve the way …
Page: 1 2
37
 
Many people have left Seika after hearing about the new Version 22.6 (dubbed: The New Seika) player wipe (three months …
2
 
Iccusion Entertainment's newest project is called Hindrance. Already accepted into the Arcade channel, Hindrance is an …
4
 
Some of you may already know that Iccusion Entertainment has quite a few new projects due to be released this year. One …
8
 
Pretty interesting stuff. The Sun looks a lot smaller from there. Heh.
3
Page: 1 2 3 4