i put the word rendering in quotation marks because, as you’ll soon see, i probably don’t know what the hell i’m talking about… after having browsed these forums for a bit, i’ve seen people say things like “changing _x/_y values mid-code is bad, have your velocity code do that”, and i’ve seen people mention things about the way flash draws objects (or “renders” them… am i using that word right?), and i was just wondering: when you change the _x or _y values for a movieclip, does flash IMEDIATELY execute the code to redraw the screen to reflect those changes, and that’s why it’s better to have all location changes made at one single point along the main game/movie loop? if so, is it good practice to have “soft coordinates” declared for each MC, which can be altered mid-loop, and then have the real coordinates set to the soft coordinates at the end of each loop?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
Coordinates in flash question?
|
0 | 49 | January 6, 2006 | |
| .x,.y and .X,.Y of a Movieclip | 0 | 113 | January 29, 2011 | |
| On press, make this MC go x/y coordinate and move there with ease..? how do i do that | 0 | 93 | February 28, 2005 | |
| [MX PRO AS2.0] position of movie clips change without user input | 0 | 85 | March 28, 2007 | |
| Why do movieclips inside movieclips have different _x and _y than the timeline? | 0 | 84 | October 30, 2007 |