This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class AudioManager : MonoBehaviour | |
| { | |
| [SerializeField] private AudioClip jumpSound; | |
| [SerializeField] private AudioClip gameOverSound; | |
| [SerializeField] private AudioSource audioSource; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build project | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [closed] | |
| jobs: | |
| buildForWebGL: [...] | |
| uploadToFTP: | |
| name: Upload to FTP | |
| runs-on: ubuntu-latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void parcial(Auto* arreglo, int longitud) { | |
| int antiguedades[longitud]; | |
| int anioActual = 2021; | |
| int promedioAntiguedades = 0; | |
| for(int i = 0; i < longitud; i++) { | |
| antiguedades[i] = anioActual - arreglo[i].anio; | |
| promedioAntiguedades = promedioAntiguedades + antiguedades[i]; | |
| } | |
| printf(promedioAntiguedades) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build project | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| buildForWebGL: | |
| name: Build for WebGL | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build project | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| buildForWebGL: | |
| name: Build for WebGL | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build project | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [closed] | |
| jobs: | |
| buildForWebGL: | |
| name: Build for WebGL | |
| runs-on: ubuntu-latest | |
| strategy: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class Tamagotchi : MonoBehaviour | |
| { | |
| // El estomago de nuestra mascota | |
| public float stomach = 100; | |
| // La vida social de nuestra mascota |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // TP 2 - MO2D | |
| // | |
| #include <iostream> // cout | |
| #include <cstdlib> // exit | |
| #include <cmath> // fabs | |
| #include <GL/glut.h> | |
| #include "Teclado.h" | |
| #include "uglyfont.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void GameManager::printHighscores() { | |
| clrscr(); | |
| gotoxy(5, 2); | |
| textcolor(10); | |
| cout << "GAME OVER!" << endl; | |
| cout << "Score is: "<< formation->getScore(); | |
| Score* highScores[5]; | |
| scoreManager->getHighScores(highScores); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Score{ | |
| public: | |
| Score() {}; | |
| char name[10]; | |
| int score; | |
| }; |
NewerOlder