I trying to make a game. but there are things that need coding, some bugs that need to be fixed, and suggestions. With your work, I will be able to complete this game. Thanks!
Here is the game:
I trying to make a game. but there are things that need coding, some bugs that need to be fixed, and suggestions. With your work, I will be able to complete this game. Thanks!
Here is the game:
Is there a problem, or do you just need someone to finish the code?
Just need help with these factors:
Enemy that throws projectiles
Hitboxes (if possible)
Thatâs pretty much it
I can handle the coding, I just need help
Well one thing you can do for enemy projectile throwing is by getting an extension called âSprite Utility Extensionâ This can be used to build a pixel radius around any enemy so that they can run a certain action if your play is within a certain radius,. Iâll provide a link right here: https://github.com/jwunderl/arcade-sprite-util
Thanks for the help. I will use this.
As for the hitboxes, is there a way to do something about that?
Well yes there is. What you can do is assign new sprites for all the pre-made sprites, with different shapes, being hit-boxes. You can turn these invisible using blocks in the Sprites Tab. I wouldnât recommend doing this, considering how unbearably laggy your game currently is. Speaking of which, you might want to consider working on that as well.
Yeah, about thatâŚ
For some reason, the game works smooth as intended on some devices, but not on others.
I know because I have experienced it.
Unfortunately, I donât think there is any other way to prevent this from happening.
Also, there may be more bugs I need to fix, so thanks for the support!
Also, how do you assign new sprites to the pre-made sprites, and could you explain it better?
Just asking.
For every sprite, create another sprite that follows itsâ exact movements. You can change the picture of the now pre-image to a hitbox, and turn it invisible, which will act as the interactive part of the enemy or object.