Comments (2)
Yes, I agree, PathModifiers should be able to be created relative to the sprite
with the PathModifier. In my game, I also have to constantly create new
PathModifiers. I am not sure how bad my game performance is being affected,
though.
A workaround would be to use a PhysicsHandler to set a velocity for some time,
but that's not as accurate.
Original comment by [email protected]
on 29 Jul 2011 at 7:38
from andengine.
This is still a serious gotcha--the expected behavior (and best practice) for
games is to be able to avoid heap allocation in the game loop. If I have to
constantly create new Modifiers, the garbage collector is going to be firing
when I don't want it to.
Original comment by [email protected]
on 11 Jun 2013 at 11:57
from andengine.
Related Issues (20)
- Patch for /src/org/anddev/andengine/ui/activity/BaseGameActivity.java
- [CRITICAL] Code error at BaseGameActivity:137 HOT 3
- Stack overflow in BaseGameActivity.getFontManager() HOT 1
- Patch for /src/org/anddev/andengine/ui/activity/BaseGameActivity.java HOT 1
- BitmapTextureAtlasTextureRegionFactory.createTiledFromAsset can not find bitmap files when file has underscores in the name HOT 2
- Enhancement: Circle primitive support HOT 1
- StrokeFont: Stroke Misaligned with Stroke and Fill
- fix a bug
- 1037:42ca5fbb1d68@default BaseGameActivity line 137 HOT 1
- Memory Leakage and Sprite Disappearing and Very Slow FPS
- Bad show sprite on tableb Galaxy 10.1 HOT 2
- BaseGameActivity.getFontManager() is wrong!
- GenericPool constructor issue
- MultiTouch.isSupported always return false on eclair + froyo
- Missing source file in NetBeans HOT 1
- Исправление потенциальных ошибок
- TickerText.getCharactersVisible() doesn't count spaces but TickerText.getCharactersMaximum() does HOT 3
- Text remains after reset
- AndEngineExamples: Gravity to right instead of bottom on ASUS EEEpad transformer prime
- Andengine Sprites appear as black boxes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from andengine.