| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 7 months |
| seen | Dec 14 '12 at 5:50 | |
| stats | profile views | 7 |
|
Dec 11 |
accepted | How do I detect multiple sprite collisions when there are >10 sprites? |
|
Dec 11 |
comment |
How do I detect multiple sprite collisions when there are >10 sprites? thanks for the input. i think i'll just use the 2 loops since the number of sprites will be kept under 50 for now. |
|
Dec 11 |
asked | How do I detect multiple sprite collisions when there are >10 sprites? |
|
Oct 18 |
accepted | what is the best way to use loops to detect events while the main loop is running? |
|
Oct 18 |
awarded | Student |
|
Oct 18 |
comment |
what is the best way to use loops to detect events while the main loop is running? Ive updated with my main loop and draw functions, please have a look if you can. |
|
Oct 18 |
revised |
what is the best way to use loops to detect events while the main loop is running? added 5968 characters in body |
|
Oct 18 |
comment |
what is the best way to use loops to detect events while the main loop is running? hi, i have more question in my while loop, it checks for events first(whether or not user will start the animation). once the user selected the start and end coords, itll update the grid values, then draw the start and end points on the grid. now, while doing the animation, i still have to check if there is events(user can set up blocks, choose new end). so my question is, is it bad practice to put an event checker in the main loop, and MANY event checkers in other functions, such as the animation function? if that makes any sense!? |
|
Oct 17 |
awarded | Editor |
|
Oct 17 |
awarded | Scholar |
|
Oct 17 |
comment |
what is the best way to use loops to detect events while the main loop is running? i shoulda made my code like this loop, silly me. thanks! |
|
Oct 16 |
awarded | Supporter |
|
Oct 16 |
asked | what is the best way to use loops to detect events while the main loop is running? |