Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
center coords for screenobjects

 
Post new topic   Reply to topic Printable version
 View previous topic  can't see splash screen but only half ... Post :: Post Map images  View next topic  
Author Message
Lumenesc
Novice


Age:36
Gender:Gender:Male
Joined: Jun 19 2003
Posts: 58
Location: Texas
Offline

PostPosted: Thu Jun 19, 2003 6:05 am    Post subject: center coords for screenobjects Reply to topic Reply with quote

im trying to find the coords that would center on the screen(centered on all screen sizes) so that it looks like something is happening to ship.

I've tried c-0,0(just gives me mid-top)
and since someone told me to, c,c though that didnt even build icon_confused.gif

thx if you can help
_________________
Are you sure this questoin involved an answer?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Doggeti
Server Help Squatter


Age:39
Gender:Gender:Male
Joined: Jan 12 2003
Posts: 297
Location: Germany
Offline

PostPosted: Thu Jun 19, 2003 6:19 am    Post subject: Reply to topic Reply with quote

Well, in c-0 you dont need to use - I think.
If you want to have middle of screen c0,c0 should do it, not only c,c.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Thu Jun 19, 2003 6:33 am    Post subject: Reply to topic Reply with quote

c-1/2width,c-1/2height

so, if you had an image 300 pixels wide and 700 pixels high, you'd use...

c-150,c-350

since 1/2 of 300 is 150 & 1/2 of 700 is 350
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Lumenesc
Novice


Age:36
Gender:Gender:Male
Joined: Jun 19 2003
Posts: 58
Location: Texas
Offline

PostPosted: Thu Jun 19, 2003 4:45 pm    Post subject: Reply to topic Reply with quote

ohhhh thanks tongue.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Thu Jun 19, 2003 6:14 pm    Post subject: Reply to topic Reply with quote

btw if you want it to be perfectly centered, the image needs to have an even number as its width & heigth - odd number width/height and it will be a pixel off sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> LVZ/LVL Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 657 page(s) served in previous 5 minutes.

phpBB Created this page in 0.433917 seconds : 30 queries executed (94.6%): GZIP compression disabled