Find Jobs
Hire Freelancers

C# Coding - Game Fix

₹600-1500 INR

Ditutup
Dibuat hampir 10 tahun yang lalu

₹600-1500 INR

Dibayar ketika dikirim
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 } }*/ }
ID Proyek: 5875841

Tentang proyek

7 proposal
Proyek remot
Aktif 10 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
7 freelancer menawar dengan rata-rata ₹1.723 INR untuk pekerjaan ini
Avatar Pengguna
let me do it tomorrow :)
₹5.263 INR dalam 3 hari
5,0 (21 ulasan)
5,7
5,7
Avatar Pengguna
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 dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
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 dalam 0 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
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 dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
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 dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Предложение еще не подано
₹1.250 INR dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
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 dalam 1 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera INDIA
Ludhiana, India
0,0
0
Memverifikasi Metode pembayaran
Anggota sejak Jun 13, 2013

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.