Problème Jeu FPS étape 7

Toutes les questions relatives aux tutoriels du site sont à poser à cet endroit.
redboss59
Messages : 14
Inscription : 02 Mars 2015 19:44

Re: Problème Jeu FPS étape 7

Message par redboss59 » 03 Mars 2015 23:06

Merci ! Franchement je suis rester bloquer dessus 1 jours merci :)

redboss59
Messages : 14
Inscription : 02 Mars 2015 19:44

Re: Problème Jeu FPS étape 7

Message par redboss59 » 03 Mars 2015 23:33

Maintenant que j'arrive a tirer des que l'objet atteint 0 Pv un nouveau message d'erreur s'affiche ce message est le suivant :
MissingFieldException: UnityEngine.Vector3.transform
Boo.Lang.Runtime.DynamicDispatching.PropertyDispatcherFactory.FindExtension (IEnumerable`1 candidates)
Boo.Lang.Runtime.DynamicDispatching.PropertyDispatcherFactory.Create (SetOrGet gos)
Boo.Lang.Runtime.DynamicDispatching.PropertyDispatcherFactory.CreateGetter ()
Boo.Lang.Runtime.RuntimeServices.DoCreatePropGetDispatcher (System.Object target, System.Type type, System.String name)
Boo.Lang.Runtime.RuntimeServices.CreatePropGetDispatcher (System.Object target, System.String name)
Boo.Lang.Runtime.RuntimeServices+<GetProperty>c__AnonStorey17.<>m__C ()
Boo.Lang.Runtime.DynamicDispatching.DispatcherCache.Get (Boo.Lang.Runtime.DynamicDispatching.DispatcherKey key, Boo.Lang.Runtime.DynamicDispatching.DispatcherFactory factory)
Boo.Lang.Runtime.RuntimeServices.GetDispatcher (System.Object target, System.String cacheKeyName, System.Type[] cacheKeyTypes, Boo.Lang.Runtime.DynamicDispatching.DispatcherFactory factory)
Boo.Lang.Runtime.RuntimeServices.GetDispatcher (System.Object target, System.Object[] args, System.String cacheKeyName, Boo.Lang.Runtime.DynamicDispatching.DispatcherFactory factory)
Boo.Lang.Runtime.RuntimeServices.GetProperty (System.Object target, System.String name)
UnityScript.Lang.UnityRuntimeServices.GetProperty (System.Object target, System.String name)
UnityEngine.Component:SendMessageUpwards(String, Object, SendMessageOptions)
$:MoveNext() (at Assets/Scripte/ShootScript.js:41)
UnityEngine.MonoBehaviour:StartCoroutine_Auto(IEnumerator)
ShootScript:fire() (at Assets/Scripte/ShootScript.js:19)
ShootScript:Update() (at Assets/Scripte/ShootScript.js:12)

Galsarthan
Messages : 17
Inscription : 25 Jan 2015 20:52
Localisation : Paris

Re: Problème Jeu FPS étape 7

Message par Galsarthan » 04 Mars 2015 07:04

Instantiate(explosion.transform.position.transform.rotation);

Rebelote, il faut des virgules : Instantiate(explosion, transform.position, transform.rotation);
Recopier bêtement les scripts du tutoriel ne sert à rien, il faut aussi tenter de les comprendre.
Ici, c'est une fonction qui requiert plusieurs paramètres, et les paramètres doivent toujours être séparés par des virgules.

Avatar de l’utilisateur
LudlowFx
Messages : 1367
Inscription : 19 Sep 2013 05:50

Re: Problème Jeu FPS étape 7

Message par LudlowFx » 04 Mars 2015 08:22

Instantiate(explosion.transform.position.transform.rotation);
Ah ouai en effet elle est pas mal celle-là :lol:
Merci de lire et de prendre en considération la Nétiquette des Forums avant de poster un sujet !

redboss59
Messages : 14
Inscription : 02 Mars 2015 19:44

Re: Problème Jeu FPS étape 7

Message par redboss59 » 04 Mars 2015 18:23

Ah merci je vien d'apprendre un truc :)

redboss59
Messages : 14
Inscription : 02 Mars 2015 19:44

Re: Problème Jeu FPS étape 7

Message par redboss59 » 04 Mars 2015 19:24

Déjà dsl pour le double Post et j'aurais une question existe t'ils des tutoriels pour apprendre le javascripts ou autre merci d'avance :)

Avatar de l’utilisateur
yoyoyaya
Messages : 1656
Inscription : 30 Mai 2011 13:14
Localisation : PAAAAARTOUUUU
Contact :

Re: Problème Jeu FPS étape 7

Message par yoyoyaya » 04 Mars 2015 20:14

redboss59 a écrit :Déjà dsl pour le double Post et j'aurais une question existe t'ils des tutoriels pour apprendre le javascripts ou autre merci d'avance :)
Une simple petite recherche sur google...
http://openclassrooms.com/forum/sujet/u ... pt-d-unity
http://www.unity3d-france.com/unity/201 ... les-noobs/

Mais si tu cherche à apprendre à coder pour unity, pourquoi ne pas directement te mettre au c# (que la plupart des membres ici utilisent) ?
Les tutos pour unity sont quand même plus nombreux en c# il me semble.
http://openclassrooms.com/courses/appre ... opper-en-c
ImageImage

redboss59
Messages : 14
Inscription : 02 Mars 2015 19:44

Re: Problème Jeu FPS étape 7

Message par redboss59 » 04 Mars 2015 23:21

Ou bien si quelqu'un c'est bien utiliser les javascript pour m'aider a faire mon jeu (Contacter moi en privé pour plus d'info sur celui ci je suis en train de faire le décor)

Avatar de l’utilisateur
yoyoyaya
Messages : 1656
Inscription : 30 Mai 2011 13:14
Localisation : PAAAAARTOUUUU
Contact :

Re: Problème Jeu FPS étape 7

Message par yoyoyaya » 04 Mars 2015 23:33

redboss59 a écrit :Ou bien si quelqu'un c'est bien utiliser les javascript pour m'aider a faire mon jeu (Contacter moi en privé pour plus d'info sur celui ci je suis en train de faire le décor)
Bonne chance pour trouver quelqu'un.
Ça ne résoudra pas le problème de fond qui est on ne peut plus simple. Il te faudra bien finir tôt ou tard par apprendre à coder (ou alors lâcher unity).
ImageImage

Avatar de l’utilisateur
ZJP
Messages : 5745
Inscription : 15 Déc 2009 06:00

Re: Problème Jeu FPS étape 7

Message par ZJP » 05 Mars 2015 05:03

@Yoyo
Tu as fais le plein de relaxation hors forums. Attention à ne pas "bouffer" trop vite ton capital. :mrgreen:

Verrouillé

Revenir vers « Tutoriels du site Unity3D-france »