Timeline for How can I maintain a rectangular formation when units are added or removed?
Current License: CC BY-SA 3.0
34 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 9, 2017 at 3:32 | history | edited | user64742 | removing a banned tag. If you see this, please start editing the tag out from lowest voted posts to get this done tonight. | |
| Jul 31, 2013 at 0:34 | history | edited | Tiby312 | CC BY-SA 3.0 | added 196 characters in body |
| Jul 26, 2013 at 15:27 | history | edited | Tiby312 | CC BY-SA 3.0 | added 151 characters in body |
| Jul 26, 2013 at 15:21 | history | edited | Tiby312 | CC BY-SA 3.0 | added 151 characters in body; Post Made Community Wiki |
| Jul 26, 2013 at 14:41 | history | edited | Tiby312 | CC BY-SA 3.0 | deleted 235 characters in body |
| Jul 26, 2013 at 14:35 | history | edited | Tiby312 | CC BY-SA 3.0 | added 305 characters in body |
| Jul 26, 2013 at 13:45 | history | edited | Tiby312 | CC BY-SA 3.0 | added 28 characters in body |
| Jul 26, 2013 at 13:39 | history | edited | Tiby312 | CC BY-SA 3.0 | added 1165 characters in body |
| Jul 26, 2013 at 13:33 | history | edited | Tiby312 | CC BY-SA 3.0 | added 1165 characters in body |
| Jul 26, 2013 at 13:06 | vote | accept | Tiby312 | ||
| Jul 25, 2013 at 23:34 | vote | accept | Tiby312 | ||
| Jul 26, 2013 at 13:06 | |||||
| Jul 25, 2013 at 16:20 | history | edited | Tiby312 | CC BY-SA 3.0 | deleted 24 characters in body |
| Jul 25, 2013 at 16:13 | history | edited | Tiby312 | CC BY-SA 3.0 | deleted 141 characters in body |
| Jul 24, 2013 at 13:50 | vote | accept | Tiby312 | ||
| Jul 25, 2013 at 23:34 | |||||
| Jul 24, 2013 at 13:41 | history | edited | Tiby312 | CC BY-SA 3.0 | added 460 characters in body |
| Jul 24, 2013 at 4:00 | answer | added | Pieter Geerkens | timeline score: 16 | |
| Jul 23, 2013 at 20:59 | vote | accept | Tiby312 | ||
| Jul 24, 2013 at 13:50 | |||||
| Jul 23, 2013 at 19:32 | comment | added | Nathan Reed | @Tiby312 Yeah, I think limiting the aspect ratio is a good idea. | |
| Jul 23, 2013 at 18:52 | comment | added | Tiby312 | How about only allow the aspect ratio of the new formation to be within a certain bound, after which result to 'cheating' with not completely full rows, but still quite full rows. | |
| Jul 23, 2013 at 18:39 | comment | added | Nathan Reed | Prime numbers aren't the only ones that will cause trouble - choosing formation size by factoring could give you unreasonably long and skinny formations. E.g. if you have 14 bots, the only perfect rectangular formation is 7x2, while it might look better to have a 3x4 formation with an extra row of 2 bots. | |
| Jul 23, 2013 at 18:10 | vote | accept | Tiby312 | ||
| Jul 23, 2013 at 19:06 | |||||
| Jul 23, 2013 at 17:36 | history | edited | user1430 | CC BY-SA 3.0 | deleted 15 characters in body; edited title |
| Jul 23, 2013 at 17:36 | history | tweeted | twitter.com/#!/StackGameDev/status/359728674318196736 | ||
| Jul 23, 2013 at 17:33 | answer | added | Exilyth | timeline score: 7 | |
| Jul 23, 2013 at 17:05 | comment | added | Tiby312 | Well this is embarrassing. I completely forgot about prime numbers. Then maybe the next best thing would be to only allow rows and columns that are ALMOST filled. One Bot on a row doesn't look right, but one less Bot on a row wouldn't look bad. | |
| Jul 23, 2013 at 17:02 | comment | added | Exilyth | You do realise that this won't work for prime numbers? e.g. with 7 bots, you'd have to make a 3x2 unit with a single bot in the back. | |
| Jul 23, 2013 at 17:01 | comment | added | Tiby312 | Yeah my idea was that incomplete rows/columns would not be allowed. The formation would always just be a rectangle, but its number of rows and columns would change. The hard part is how to assign the new spots in the new calculated ractangle to the nearest bots from the old rectangle? | |
| Jul 23, 2013 at 16:59 | comment | added | House | Can you maybe post an image of formations that are valid vs invalid? I'm having a little trouble understanding what you're after. Are incomplete rows/columns allowed? | |
| Jul 23, 2013 at 16:24 | answer | added | ClassicThunder | timeline score: 2 | |
| Jul 23, 2013 at 16:24 | comment | added | Tiby312 | Sorry wasn't clear, I can already figure out the correct width and height given total number and aspect ratio . you just solve this simulatiouus equation for width or height: width/height=aspect ratio; width + height = total number. I'm just not sure what to do then. How should I assign the new spots? | |
| Jul 23, 2013 at 16:22 | comment | added | Exilyth | What is the maximum number of bots in a unit? If it's relatively small, you could hardcode how many rows and columns a formation has for a certain number of bots. | |
| Jul 23, 2013 at 16:06 | review | First posts | |||
| Jul 23, 2013 at 16:44 | |||||
| Jul 23, 2013 at 15:54 | history | edited | Tiby312 | CC BY-SA 3.0 | added 153 characters in body |
| Jul 23, 2013 at 15:48 | history | asked | Tiby312 | CC BY-SA 3.0 |