Find Jobs
Hire Freelancers

C# Coding - Game Fix

₹600-1500 INR

Zamknięte
Opublikowano prawie 10 lat temu

₹600-1500 INR

Płatne przy odbiorze
We have this code, which is code of a game. It has been written in C# using Unity 3D. Requirements: 1) Fix Code in order to run game successfully 2) Display "GAME OVER" when Ball (Game object) falls below Y-value of " -4" . 3) Show Button for Restart Game. --- Its a very basic fix, so we have a One-hour budget. using UnityEngine; using [login to view URL]; public class playerScript : MonoBehaviour { public float speed; //do I need this line? public GUIText countText; public GUIText winText; private int count; public GUIText restartText; public GUIText gameOverText; private bool gameOver; // THIS LINE OF CODE HAS BEEN RECENTLY ADD private bool restart; // THIS LINE OF CODE HAS BEEN RECENTLY ADD void Start () { gameOver = false;// THIS LINE OF CODE HAS BEEN RECENTLY ADD restart = false;// THIS LINE OF CODE HAS BEEN RECENTLY ADD [login to view URL] = "";// THIS LINE OF CODE HAS BEEN RECENTLY ADD [login to view URL] = ""; //text will not show at the beggining of the game. count = 0; setCountText (); [login to view URL] = ""; [login to view URL] = ""; } /*void Update () // This is code added. { // This is code added. if (restart) { // This is code added. // This is code added. if ([login to view URL] (KeyCode.R) // This is code added. { [login to view URL] ([login to view URL]);// This line of code restarts the game. } } } public void GameOver () // THIS LINE OF CODE HAS BEEN RECENTLY ADD { [login to view URL] = "GameOver!"; // THIS LINE OF CODE HAS BEEN RECENTLY ADD gameOver = true; // THIS LINE OF CODE HAS BEEN RECENTLY ADD }// THIS LINE OF CODE HAS BEEN RECENTLY ADD */ void FixedUpdate () { float moveHorizontal = [login to view URL]("Horizontal"); float moveVertical = [login to view URL] ("Vertical"); Vector3 movement =new Vector3(moveHorizontal, 0.0f, moveVertical); [login to view URL](movement); } void OnTriggerEnter(Collider other) { if ([login to view URL] == "pickUp") { [login to view URL] (false); count = count + 1; setCountText (); } } void setCountText () { [login to view URL] = "Count: " + [login to view URL](); if (count >= 35) [login to view URL] = "You Win!"; GameObject player = [login to view URL]("player"); if([login to view URL]>=-1) [login to view URL] = "You lose!"; } /*void update(){ float y; GameObject player = [login to view URL]("player"); if(count==1) { //[login to view URL] = "game over!"; //player.transform.position.y<-1 } }*/ }
Identyfikator projektu: 5875841

Informację o projekcie

7 ofert
Zdalny projekt
Aktywny 10 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
7 freelancerzy składają oferty o średniej wysokości ₹1 723 INR dla tej pracy
Awatar Użytkownika
let me do it tomorrow :)
₹5 263 INR w 3 dni
5,0 (21 opinii)
5,7
5,7
Awatar Użytkownika
I'm a student at a Computer Science student, terminal year and right now I'm doing an internship at a company where I'm working in Unity 3d. If you choose me I will do it good, quick and exactly what you need, but I need details on what you want to do, just add me on skyp alex.nistor9. Cheers!
₹1 300 INR w 1 dzień
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
Hello, it´s an easy task, i can start working on it just when you prefer. You´ll be sending the unity project, or i have to start one whit this code?.
₹1 250 INR w 0 dzień
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
hi, Been using Unity 3D for 3 years now and have a degree in games programming, made a number of apps and i should have no trouble fixing your script for you. ELore
₹1 050 INR w 1 dzień
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
I have been working extensively with Unity for the past 6 months on several projects, so I am very familiar with creating simple Unity projects and debugging projects others have made. I have already reviewed the code you put up, and aside from a few syntax errors it does run, so I would be glad to share those errors with you. Here is an outline of the project I have created with your code: I have a project with a player object and a pickup object on a plane. The player object is moved with the arrow keys. When the player collides with the pickup object, the object disappears and the count is incremented. If the player falls off the level, the Game Over text is displayed, and a button is shown that restarts the level when pressed. I hope this is what you had in mind, at least in terms of functionality. Have a nice day! Aaron Ballard
₹1 000 INR w 1 dzień
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
Предложение еще не подано
₹1 250 INR w 1 dzień
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
Hello, I m full time developer and i assure you that you will get the perfect product and with in short time. I will provide you complete commented code. I have kept 700 and it says 950 billed to client.. i can make it at low cost too.. Skype ID: abdulahadone Regards, AbdulSamadGroup.
₹950 INR w 1 dzień
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga INDIA
Ludhiana, India
0,0
0
Zweryfikowana metoda płatności
Członek od cze 13, 2013

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.