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
Mappers/Race fans/onArea()

 
Post new topic   Reply to topic Printable version
 View previous topic  Omega Fire Now Has SSC!!!! Post :: Post ToadBall Revived!  View next topic  

How would you like to setup a rectangle area on the map?
Using x and y coordinates for top left and bottom right
50%
 50%  [ 1 ]
Using x and y coordinates for top left and specifying the width and height
50%
 50%  [ 1 ]
Other (post on this thread but please vote)
0%
 0%  [ 0 ]
Total Votes : 2

Author Message
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Fri Apr 18, 2003 4:32 pm   Post maybe stupid    Post subject: Mappers/Race fans/onArea() Reply to topic Reply with quote

I want to know how you would like to setup areas on your maps, circles will just be x/y and radius. But I want to know how you like your rectangles, 4 coordinates, or 2 coords with a width and height (all units in tiles).
Note: the width and height actually extend to the right and downwards.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Fri Apr 18, 2003 4:56 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Why not all of the above? You'll have to have it remember what type it is (circle/rect/etc), so why not support all of the above? Some people may like a rectangle defined as all points, others may like it a starting point and the width/height, some may like it the upper left corner, and the lower right corner defined.

Plus if you support all the types, when you want to handle more complex ones (such as polygons), it will be easier to add new types.
Back to top
View users profile Send private message Add User to Ignore List Send email
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Apr 18, 2003 11:33 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Make a rectangle class that extends a shape class. This will allow flexability.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Sat Apr 19, 2003 11:02 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

what about excel style?
IE

X1= 100-110
Y1=100-110,98
_________________
Signatures just seem so quaint.
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk 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 cannot 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: 24 page(s) served in previous 5 minutes.

phpBB Created this page in 0.594396 seconds : 31 queries executed (92.9%): GZIP compression disabled