combining the sprite manager and a CCD
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Miko-Class Veteran
- Posts: 636
- Joined: Thu May 14, 2009 8:15 pm
- Projects: Castle of Arhannia
- Contact:
combining the sprite manager and a CCD
I'm trying to make a game with bullet hell elements in it. I would like to use the sprite manager to speed up the rendering of any bullets that don't need anything fancy done to them, but I would also like to use the canvas object to draw lasers on the fly. While I know I could just add them both to the same screen, I'm worried that it may cause weird timing issues if I separate them. Would it be inefficient or otherwise problematic to add a sprite manager to the CCD? and if so, is there some other way I could have the CCD control the sprites of the sprite manager?
-
- Eileen-Class Veteran
- Posts: 1258
- Joined: Fri Sep 21, 2007 7:13 am
- Projects: a battle engine
- Contact:
Re: combining the sprite manager and a CCD
Do you mean CDD?
Anyway, anything a sprite manager can do a CDD can also do. All a sprite manager does is render something once and then blit it a ton of times - so you can just do that in your CDD.
Can I recommend against the canvas if you can possibly avoid it? Software rendering is slooooow and I'm sure you can come up with a better way to do lasers.
Anyway, anything a sprite manager can do a CDD can also do. All a sprite manager does is render something once and then blit it a ton of times - so you can just do that in your CDD.
Can I recommend against the canvas if you can possibly avoid it? Software rendering is slooooow and I'm sure you can come up with a better way to do lasers.
Who is online
Users browsing this forum: Ahrefs [Bot], Rhapsy