| Microbe prototype under Unity | |
|
+6untrustedlife ~sciocont NickTheNick Seregon Tarpy RodGame 10 posters |
|
Author | Message |
---|
~sciocont Overall Team Lead
Posts : 3406 Reputation : 138 Join date : 2010-07-06
| Subject: Re: Microbe prototype under Unity Sat Mar 30, 2013 12:41 pm | |
| - RodGame wrote:
- @~sciocont
This is a clear explanation. It helped me understand a couple of concepts. IMO, things like Lysosomes shouldn't be implemented at all. They are hidden process. We should concentrate on having a small list of organelle/process that have actual gameplay/utilities to limit the knowledge barrier to the average player.
I agree completely- I want to keep this fairly simple for you guys to program and easy for players to understand- That's why so many organelles are initial. | |
|
| |
penumbra espinosa Learner
Posts : 139 Reputation : 5 Join date : 2010-09-10 Age : 32
| Subject: Re: Microbe prototype under Unity Sun Mar 31, 2013 11:10 am | |
| - ~sciocont wrote:
- RodGame wrote:
- @~sciocont
This is a clear explanation. It helped me understand a couple of concepts. IMO, things like Lysosomes shouldn't be implemented at all. They are hidden process. We should concentrate on having a small list of organelle/process that have actual gameplay/utilities to limit the knowledge barrier to the average player.
I agree completely- I want to keep this fairly simple for you guys to program and easy for players to understand- That's why so many organelles are initial. as long as cells dont become kawaii blobs with kiddy features *cough* SPORE's cell stage *cough* | |
|
| |
Daniferrito Experienced
Posts : 726 Reputation : 70 Join date : 2012-10-10 Age : 30 Location : Spain
| Subject: Re: Microbe prototype under Unity Tue Apr 02, 2013 8:41 am | |
| I downloaded the code and messed with it a bit. Sorry i don't have a github for the code. You can find the compiled program here: link Things i did: Decreased the movement cost from 1 to 0.2 Doubled the updates per tick. Moved the background back so it has the same effect than in the current release. Made it so sugar spawns around the player, but not too close. Sugar too far away from the player gets deleted, and then instantly repositioned. That means that wherever you go, there will be sugar, but it never has more than 50 sugar created. Code for the sugar deletion and addition: (inside ResManagement) - Code:
-
// Update is called once per frame void Update () { GameObject[]sugars = GameObject.FindGameObjectsWithTag("Glucose"); for (int i = 0;i<sugars.Length;i++){ GameObject sugar = sugars[i]; if ((GameObject.FindGameObjectWithTag("Player").transform.position-sugar.transform.position).magnitude>radiusSpawnRes){ Destroy(sugar); nbrSugarInSoup--; } } while(nbrSugarInSoup < nbrSugarToCreate) { CreateRes("Sugar"); } } // Instantiate a glucose prefab on the map void CreateRes(string _resType) { GameObject _curGameObject; Vector3 _resPos = Vector3.zero; Vector3 _playerPos = GameObject.FindGameObjectWithTag("Player").transform.position; while(_resPos==Vector3.zero||Mathf.Sqrt((_resPos.x-_playerPos.x)*(_resPos.x-_playerPos.x)+(_resPos.z-_playerPos.z)*(_resPos.z-_playerPos.z))<radiusNoSpawnRes){ _resPos = (Random.insideUnitSphere)*radiusSpawnRes; _resPos.x+= _playerPos.x; _resPos.z+= _playerPos.z; _resPos.y = resGlucose.transform.localScale.y/2; } _curGameObject = Instantiate(resGlucose, _resPos, Quaternion.identity) as GameObject; _curGameObject.tag="Glucose"; nbrSugarInSoup++; } } | |
|
| |
untrustedlife Regular
Posts : 252 Reputation : 19 Join date : 2013-03-26 Location : [Classified]
| Subject: Re: Microbe prototype under Unity Tue Apr 02, 2013 9:11 am | |
| Looks good Daniferrito, I kind of want to try out unity now | |
|
| |
Doggit Regular
Posts : 444 Reputation : 36 Join date : 2012-04-28
| Subject: Re: Microbe prototype under Unity Tue Apr 02, 2013 10:08 am | |
| | |
|
| |
Doggit Regular
Posts : 444 Reputation : 36 Join date : 2012-04-28
| Subject: Re: Microbe prototype under Unity Tue Apr 02, 2013 10:33 am | |
| | |
|
| |
untrustedlife Regular
Posts : 252 Reputation : 19 Join date : 2013-03-26 Location : [Classified]
| Subject: Re: Microbe prototype under Unity Tue Apr 02, 2013 11:08 am | |
| Good job showing it off Will you do mine next? | |
|
| |
Doggit Regular
Posts : 444 Reputation : 36 Join date : 2012-04-28
| Subject: Re: Microbe prototype under Unity Tue Apr 02, 2013 12:30 pm | |
| - untrustedlife wrote:
- Good job showing it off
Will you do mine next? yes what next? | |
|
| |
untrustedlife Regular
Posts : 252 Reputation : 19 Join date : 2013-03-26 Location : [Classified]
| Subject: Re: Microbe prototype under Unity Tue Apr 02, 2013 1:48 pm | |
| The download is on my post. | |
|
| |
gdt1320 Newcomer
Posts : 24 Reputation : 3 Join date : 2012-09-23
| Subject: Re: Microbe prototype under Unity Thu Apr 04, 2013 12:12 am | |
| I just want to add here that if you have any questions about how to implement something mathematically or in code let me know. I'm pretty good at this sort of thing. Especially with regards to metabolic pathways.
Edit: If you wanted to ask anything about metabolic pathways, regulation, control, etc. I can probably answer those questions too. | |
|
| |
RodGame Newcomer
Posts : 94 Reputation : 15 Join date : 2013-03-18
| Subject: Re: Microbe prototype under Unity Mon Apr 08, 2013 11:47 pm | |
| Cool Nice to see that my work as been looked at by 300 people
I would suggest making category for all your video. You already have around 60 videos. You could make categories for Release, Prototype, Concept Art, Music, ect... It would be much more easier for people to look at the channel. Keep it up!
edit : @Doggit, I saw that you added your music to the video of my prototype. I tought about adding your music to my game before. I decided against to lower the prototype size as it was only to show off the basics and implementation. I will definitly add music if it get at a later stage. | |
|
| |
Doggit Regular
Posts : 444 Reputation : 36 Join date : 2012-04-28
| Subject: Re: Microbe prototype under Unity Tue Apr 09, 2013 8:00 am | |
| - RodGame wrote:
@Doggit, I saw that you added your music to the video of my prototype. I tought about adding your music to my game before. I decided against to lower the prototype size as it was only to show off the basics and implementation. I will definitly add music if it get at a later stage. Ok perfect | |
|
| |
Sponsored content
| Subject: Re: Microbe prototype under Unity | |
| |
|
| |
| Microbe prototype under Unity | |
|