Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
A jam submission

StarShooting AllianceView game page

A shooter Game made for the Brackeys Game Jam 2022.2 in one week!
Submitted by PadroxDev — 1 minute, 52 seconds before the deadline
Add to collection

Play game

StarShooting Alliance's itch.io page

Results

CriteriaRankScore*Raw Score
Theme#6982.4003.143
Fun#7272.1822.857
Graphics#7312.2913.000
Innovation#8061.9642.571
Overall#8072.0372.667
Game Design#8331.9642.571
Audio#9571.4181.857

Ranked from 7 ratings. Score is adjusted from raw score by the median number of ratings per game in the jam.

How does you game fit the theme?
You have to summon allies to overcome powerful enemies.
When we cannot overcome difficulties alone, together we can!

Did you write all the code and made all the assets from scratch?
Everything except the 2D assets where made by me.
2D assets come from @finalbossblues and @HumblePixelShop

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted(+1)

The level design is unique and attractive! I too created a space shooting game, but it lacked sound. Was this because of my computer or because you were too busy to turn it on?  Would you be intrested in rating or playing my game? It would really help me out, but dont worry if you dont want to, its completely up to you :)

Developer

hey thank you very much ! 

I lack of time :_(

I'll rate your game, thanks for your coment !

Submitted(+1)

WOOO!

Submitted(+1)

The game looks and feels very good. If this had audio, it would be great but it is understandable to leave audio out due to time constraints.

Submitted(+1)

The level design is original and nice! I developed a space shooter game too :)

But I didn't have any sound, is it from my computer or you didn't have the time to put it on?

Developer (1 edit)

Yeah I ran out of time, I had to concede some ideas, including sound ;(

Thanks for the reply!

Submitted(+1)

I really like the AI, how did you get it to detect line of sight?

Developer

Hey!

Thank you very much for the reply!

I have two constants: TargetDistance and RetreatDistance.

Then I calculate the direction from the AI to the Target (so the player). I also takes the magnitude of this vector to get the distance between them.

Then if the distance is greater than the TargetDistance I move the AI to the Direction * MoveSpeed, in the other case where the distance is lower than the RetreatDistance, I move the AI in the opposite direction (-direction * MoveSpeed).

Feel free to normalize the direction before moving, but I decided to keep its magnitude as it is to give it this high mobility and unpredictability.

In the final case where ( RetreatDistance < Distance < TargetDistance) I multiplied the Direction with a SinWave effect using (current Time *  SinWaysSpeed) * SideWaysAmplitude) and moved the ai in the new direction.

After this piece of code, I added a Raycast from the AI to it's normalized Direction with a parameter "RaycastRange" to detect the border.

If it hit the border I moved the AI to the Border's normal direction * MoveSpeed

Finally in my shoot method, I just added a Raycast shooting from the Ai to the target with the both Border and Player layer masks.

For this raycast I added a parameter to describe the range of the AI.

If it doesn't hit anything or the first hit element's tag is "Border", I return out of the function to prevent the AI to shoot.


I think that's it!

Don't hesitate if you have any questions, I'll be pleased to answer.

Have a nice day!