Skip to content

Unity Videogame - Billboard Graphics based Shooter game made for Image Campus Unity course

Notifications You must be signed in to change notification settings

BravoFacundo/CherokeeNoDoom-ImageCampus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Este readme está escrito en INGLÉS. Si lo prefieres, puedes leerlo en español.

Cherokee No Doom

[Work in progress] Shooter videogame based on “Billboard” graphics or 2.5 D. Made in Unity, C#.

Technologies

Developed using:

  • C# Language
  • Unity 2022.3.7f1

You can see the code here.

Idea and development

This video game is designed to explore the development of a retro shooter as well as the implementation of billboard graphics in a precision shooting game.

Commonly billboarding is used only as an aesthetic appearance and is not related to the 3D environment, thus it does not hinder other systems (such as collisions). The challenge proposed here is to use the sprite as a pixel-perfect collision detection system with high visual precision.

Making a retro shooter allows me to limit the size of the project and different aspects that make the use of billboard graphics more complex, such as: necessary animations, viewing angles, reactions to mechanics, etc.

Implementation

To achieve the use of the sprite as a hitbox, a raycast system was implemented with impact coordinate detection on the sprite texture. Later it is checked if the pixel in that coordinate belongs to the alpha of the image.

If the RaycastHit on the texture belongs to the visible part of the image then it is considered an impact. If it belongs to the invisible part of the image (its alpha) then it is not considered an impact and is discarded.

In the same way you can check the same impact coordinate on different stored textures (which can also be animated). Allowing to determine areas that multiply the damage or trigger certain events.

See the example script here.

Image gallery

Github_CherokeeNoDoom_01 Github_CherokeeNoDoom_02 Github_CherokeeNoDoom_03

Links and credits

Animations were reused from another collaborative video game project (Cherokee No Food).

2D Artists:

3D Models:

About

Unity Videogame - Billboard Graphics based Shooter game made for Image Campus Unity course

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published