| Issue 50: | Implement "dt" in each frame, a way to move object in a timeline (not based on frame) | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Simulator gets laggy at times, and usually corrects itself after a few seconds. I don't fully understand the solution proposed, but I trust tito knows: (05:11:37 PM) tito: am i alone to have "lag" between the cursor and the red circle drawing in pymt ? tiagoserra_ tito (05:11:46 PM) xelapond: I get it at times (05:11:48 PM) tito: it look like we've got like (05:11:51 PM) tito: lig (05:11:51 PM) tito: lag (05:11:59 PM) xelapond: usually if I wait a few secs its all good (05:12:04 PM) tito: it's from the beginning ? (05:12:11 PM) tito: of pymt ? (05:12:20 PM) tito: i don't remember that, just it's weird :| (05:12:39 PM) xelapond: no, I think its just all the stuff we have been adding (05:12:49 PM) tito: no way (05:12:52 PM) tito: 60 fps (05:12:53 PM) xelapond: pymt has a lot of loops, and I think collision detection could be done better (05:13:07 PM) tito: collision detection ? (05:13:08 PM) tito: about ? (05:13:10 PM) xelapond: widgets (05:13:20 PM) xelapond: brute forcing gets slow when you have a lot of widgets (05:13:24 PM) tito: they are no collisio :/ (05:13:32 PM) tito: (i don't understand you :() (05:13:33 PM) xelapond: self.collide_point (05:13:35 PM) xelapond: that I mean (05:13:50 PM) xelapond: MTWidget.collide_point* (05:14:11 PM) tito: ok, yeah it's slow if we got lot of widget in the same root widget (05:14:26 PM) xelapond: in the case of kinetic scrolling:) (05:14:32 PM) tito: but normally, event is not dispatched in children if it don't match the parent bbox (05:14:37 PM) xelapond: yeah (05:14:59 PM) tito: mmh, in case of kinetic, it's maybe my implementation of container (05:15:09 PM) tito: (because we create event each frame (on_draw)) (05:15:18 PM) tito: (instead of create in a timeline) (05:15:46 PM) xelapond: yeah (05:15:48 PM) xelapond: its not too bad (05:15:57 PM) xelapond: but sometimes(not sure when or why) it gets a bit slow (05:16:12 PM) xelapond: then you wait a sec and it gets fast (05:16:37 PM) tito: so, it's that :/ (05:16:52 PM) tito: open issue, i'll try to change for timeline (05:16:59 PM) tito: time-based (05:20:37 PM) xelapond: ok (05:20:57 PM) xelapond: im not entirely sure what you mean, ill just paste this conversation:)
Mar 23, 2009
(No comment was entered for this change.)
Labels:
Milestone-0.2
Mar 23, 2009
(No comment was entered for this change.)
Status:
Done
|
Owner: txprog
Labels: Component-Core