Search the Community
Showing results for tags 'rectangles'.
-
Hi everybody, I'm new on this library and I landed here for the offered support on Pixi library. I'm trying to migrate a .net 2D engine to Angular project. This homemade engine only handles rectangles and allows developers to manage simply the model and return the rectangle to draw, after applying zoom and pan. You can zoom in one or two directions and drag&drop. Obviously we do not only draw rectangles, but by approximating the geometry to a rectangle we can draw any path. Up to now I have tried the viewport and cull library, to manage zoom and cull (I have a model with 200k-300k rectangles) I'm studying / experimenting with Pixi, and I'm worried about the zoom. Do you have any general suggestion? Not only for the zoom, but, for example, is it better to use graphics or sprites?
-
I have an issue where I've got a row of rectangular sprites, drawn with phaser graphics, sitting in a seamless row. I then have some circle sprites set to move with set velocity in any of four directions (200x200, 200x-200, -200x200 or -200x-200) and bounce off this row of rectangular sprites. However, and this is behavior I've noticed before in a similar situation, whenever a circle sprite hits a rectangular one directly on the corner, the velocity drops drastically and it's direction changes substantially. Any clue on why this particular behavior occurs and any steps I can take in fixing it?
- 2 replies
-
- sprites
- rectangles
-
(and 2 more)
Tagged with: