• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

"Dynamic Rect"

Status
Not open for further replies.

Kazeon

Hosted Project: EC
Level 33
Joined
Oct 12, 2011
Messages
3,449
I'm in a need of something called "Dynamic Rect". But I'm busy in working on something else so I can't make it by myself atm.

Unlike normal rect, dynamic rect should be able to be modified, rotated, resized, re-shaped, etc. at any point and any time. However, it doesn't have an actual rect instance (but perhaps DynRect instead, which represent a "dynamic rect" instance, but the name is absolutely optional for you). But still, it should be able to enumerate/collect all units/widgets within the "dynamic rect" area ( PickUnitsWithinDynamicRectArea() => enumerate, GroupEnumUnitsInDynamicRectArea() => collect), as well as check whether a unit/widget is inside the "dynamic rect" area (IsUnitInDynamicRectArea()).

Here is your reference: link

If no one picks this idea, at certain point I will work on this by myself after I'm done with my current works. But it would be cool if someone can help me :grin:

EDIT:

Probably the given reference is good enough, but the user API doesn't look convincing :( Somebody should improve it. And I need a confirmation that it is indeed good enough.
 
Last edited:
Status
Not open for further replies.
Top