Hey guys ,
I'm making a bullet hell , and I'm asking myself a question
Is it possible to spawn a sprite for each particle spawned ? It's about collision boxes ( Particles collision boxes doesn't work as intended )
Thanks for response ...
I would just create a Spawner object type, and spawn the Bullet sprite using the spawner, instead of using particles. The direction, speed, position and sizes can be set on the event of the Bullet On Created.
That's not what I want , Making a spawner object would double , even triple the work to be done , That's why they created the particles object ...
anyone ?
I need it for a competition and the competition is ending soon ...
xavy027's idea is pretty much the way to do it. Don't use particles, instead use sprites with the bullet behavior. There is no way to get the position of individual particles of the particle object.
http://www.upload.ee/files/3126803/bullet.capx.html
Here is a simple way to spawn a lot of bullets to the screen. If you want more bullets just add more image points. Though I have tested with the game that I am working on and found out that about 4000 bullets on screen is the limit, after that the FPS will go to 0. My new computer can handle it, but my old Vista just freezes.
Develop games in your browser. Powerful, performant & highly capable.
Found a way around , Thanks for all ...