Coder Social home page Coder Social logo

seblague / create-a-game-source Goto Github PK

View Code? Open in Web Editor NEW
264.0 264.0 174.0 4.45 MB

Source code from my Create a Game tutorial series.

Home Page: https://www.youtube.com/playlist?list=PLFt_AvWsXl0ctd4dgE1F8g3uec4zKNRV0

License: MIT License

C# 100.00%

create-a-game-source's People

Contributors

seblague avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

create-a-game-source's Issues

Music cross fade bug

Music cross fade bug has this little bug.
How to reproduce:

  1. Play level from Menu scene and return back to menu.
  2. Change master volume from options menu.

As both resources are playing a clip and in cross fading coroutine, only volume is set to 0. Changing the volume would change it for both of sources and you can hear both of musics playing at same time.

How to Fix :
Adding the following line at the end of "AnimateMusicCrossFade" method should fix it.
musicSources [1 - activeMusicSourceIndex].Stop();

Music is not looping

Music resources are not playing on loop.

How to Fix :
Update the code to set both music resources to loop. Add the following line inside for loop in "Awake" method
musicSources [i].loop = true;

couple of bugs/glitches

Can shoot through obstacles,
Wave sometimes advances even if all the enemies aren't dead,
Infinite wave isn't actually infinite usually around 6000-8000 points of kills they stop spawning.

sometimes get an error Failed to create agent because it is not close enought to the NavMesh leaving the enemies infinitely falling through the map making the level unwinnable,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.