Sorry that I constantly turn to you guys for help, but I am in a bit of a situation right now.
I am currently attempting to make multiple of the same child but each clone is somewhere near or around the original. Almost like tessellated hexagons, except instead of drawing primitive, I’m using bitmaps based on sprites.
I could use help on cleaning up my code. Pun sort of intended (this is a fossil fighters style game, after all).
Plus I’m trying to repurpose the Dragon Bones demo (with the inclusion of a dig site to explore) to serve as an entry for RPG Mania game jam over at itch.io. I’m desperately trying to get my game concept to be a working, playable demo.
Private message me if you would like to help out.
Anyways, let me include some code to show you how exactly I’m pulling this off.
For every sprite featured in the excavating system, I am formatting it as follows:
I fear that if I create more of the same child, it will much lead to performance issues, I do not plan to deal with. Especially when trying to hit the ground with a hammer in the game to break most of the surface level off.
If anyone can help me, please do so.
I am currently attempting to make multiple of the same child but each clone is somewhere near or around the original. Almost like tessellated hexagons, except instead of drawing primitive, I’m using bitmaps based on sprites.
I could use help on cleaning up my code. Pun sort of intended (this is a fossil fighters style game, after all).
Plus I’m trying to repurpose the Dragon Bones demo (with the inclusion of a dig site to explore) to serve as an entry for RPG Mania game jam over at itch.io. I’m desperately trying to get my game concept to be a working, playable demo.
Private message me if you would like to help out.
Anyways, let me include some code to show you how exactly I’m pulling this off.
For every sprite featured in the excavating system, I am formatting it as follows:
JavaScript:
this._customSprite = new Sprite();
this._customSprite.bitmap = ImageManager.loadCustomBitmap("customImage");
this._customSprite.move(x, y, width, height);
this._baseSprite.addChild(this._customSprite);
I fear that if I create more of the same child, it will much lead to performance issues, I do not plan to deal with. Especially when trying to hit the ground with a hammer in the game to break most of the surface level off.
If anyone can help me, please do so.