I have been trying to make a space shooter game, but I have to use a large amount of sprites for the guns, balls, and enemies, but I do not think it will run well with them all, is it possible to make sprites then delate them
How many distinct sprites will you have visible on the canvas at any one time ?
Whatever that number, this is the number of sprites you need, the rest is code/blocks.
It is possible to make Sprites, then hide or show them. You might benefit from this discussion
Thanks to the update by @Kevinkun to his CompCreator extension (V7.1), it is now possible to create and remove ImageSprites on a canvas.
makeNewSprites.aia (21.8 KB)
There is an inbuild Children block in the extension, no need to maintain an extra list by user.
Maybe there is one issue: when you have several type of children component...
Yes, Children. I was concerned it might also return any non dynamic sprites or balls, but experimenting shows it only returns the dynamic ones. Clever stuff
how do i get compcreator to be a supported file
- Download the extension (version 7.1), from the link, to your computer
(it downloads in a zip file so you need to extract the aix file from within) - Start a new aia project. ( Do not connect to the companion app)
- At the bottom of the palette on the left of the screen, select
Extension
, the last entry - Click on the
Import extension
link - Select the extension from your computer in order to import it
- Drag the extension from the
Extension
area to theDesigner
area (the phone image) - The extension should appear in the
Components
palette on the right - The extension is now ready to use, and its blocks will be available in the
Blocks editor
.
Actually, you don't need to start a new project.
You can import an extension to any project of yours.
I think I was doing the wrong link, but the down load link dose not work for me, it is possible that since this is a school computer it is blocked as it is one of the two screens that pop up when it is blocked. is their a different way to get it.
Try directly going to the website link :
https://kevinkun.cn/compcreator
Use the translate feature if you need it.
Scroll down the the Downloads sections.
Download the last file and then extract it.
You'll find the .aix file in the extracted folder.