Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Game Mewarnai Tutorial
Thu Mar 23, 2017 10:21 am by kamil

» [ASK HELP] Slide informasi di augmented reality
Tue Jan 03, 2017 8:58 pm by Briyan_ap

» ASK cara klik dan memunculkan informasi
Tue Jan 03, 2017 8:54 pm by Briyan_ap

» [Ask] mengubah game PC menjadi game Android
Tue Jan 03, 2017 10:57 am by NiethaChan

» Virtualisasi suatu Gedung mengunakan unity3D + google seketchUP
Sat Dec 31, 2016 1:06 am by zeepank

» Minta Tolong, slideshow ngga muncul saat object di klik
Tue Dec 27, 2016 12:53 pm by Briyan_ap

» tolong dong lagi bikin button rotate tp button ga keluar
Wed Dec 21, 2016 1:15 pm by Lita Misae

» algoritma Minimax/negascout buat checkers
Wed Nov 30, 2016 1:51 am by ardiansa

» screenshot
Wed Nov 16, 2016 10:15 pm by azhari

Statistic

hellp gan unity video buat TA ;(

View previous topic View next topic Go down

hellp gan unity video buat TA ;(

Post  dayat on Thu Sep 17, 2015 11:52 pm

Gan knp ya kok ane gk bsa msukin video d unity.. ane liat d tutor youtube pda lncar2 aj.. tolong gan ya...
avatar
dayat
Unity3D Newbie
Unity3D Newbie

Posts : 7
Points : 13
Reputation : 0
Join date : 2015-07-14

View user profile

Back to top Go down

bisa lebih jelas om?

Post  yozelectric on Thu Oct 01, 2015 11:56 am

video yang dimasukkan ber format apa dan sedang develop untuk platform apa om?

untuk panduan semua sudah ada disini.
http://docs.unity3d.com/Manual/class-MovieTexture.html
avatar
yozelectric
Unity3D Newbie
Unity3D Newbie

Posts : 6
Points : 6
Reputation : 0
Join date : 2011-10-31
Age : 27
Location : Surabaya

View user profile

Back to top Go down

Re: hellp gan unity video buat TA ;(

Post  dayat on Thu Oct 01, 2015 12:00 pm

Untuk android.. klo manggil video online tw crnya gk gan?
avatar
dayat
Unity3D Newbie
Unity3D Newbie

Posts : 7
Points : 13
Reputation : 0
Join date : 2015-07-14

View user profile

Back to top Go down

sambil minum kopi

Post  yozelectric on Thu Oct 01, 2015 6:15 pm

- import videonya ke Hierarchy Unity.. (untuk android pastikan formatnya H.264 dan sebaiknya mp4)
- bikin Game Object baru berupa plane atau cube..
- drag file video di hierarchy tadi kedalam gameobject tersebut  yang terdapat pada Scene anda.
!--(video akan menjadi texture material dari sebuah gameobject. maka dari itu diperlukan gameobject sebagai tempat meterial tersebut di apply)--
- untuk play/stop video.. main2lah dengan script seperti contoh ini script dimasukkan ke gameobject yang tadi diberikan material movie texture

Code:
 
void Start()
{
        GetComponent<Renderer>().material.mainTexture = texturevideo;
        texturevideo.Play();
}

selamat bersenang2 semoga dapet "A" TA nya bro
avatar
yozelectric
Unity3D Newbie
Unity3D Newbie

Posts : 6
Points : 6
Reputation : 0
Join date : 2011-10-31
Age : 27
Location : Surabaya

View user profile

Back to top Go down

Re: hellp gan unity video buat TA ;(

Post  dayat on Thu Oct 01, 2015 6:18 pm

Ssiipp gan.. ane tes ....
Mksh loh gan doanya aammiinn mdahn dpt A... smga rjki agan lancar amin...
avatar
dayat
Unity3D Newbie
Unity3D Newbie

Posts : 7
Points : 13
Reputation : 0
Join date : 2015-07-14

View user profile

Back to top Go down

Re: hellp gan unity video buat TA ;(

Post  yozelectric on Thu Oct 01, 2015 6:24 pm

Sorry.. untuk ambil video online coba liat script dibawah.

Code:

public class ExampleClass : MonoBehaviour {
    public WWW website;
    public string url = "www.lalaty.com";
    public GUITexture gt;

    void Start() {
        website = new WWW(url);
        gt = GetComponent<GUITexture>();
        gt.texture = webiste.movie;
    }

    void Update() {
        MovieTexture m = gt.texture as MovieTexture;
        if (!m.isPlaying && m.isReadyToPlay)
            m.Play();
       
    }
}
avatar
yozelectric
Unity3D Newbie
Unity3D Newbie

Posts : 6
Points : 6
Reputation : 0
Join date : 2011-10-31
Age : 27
Location : Surabaya

View user profile

Back to top Go down

Re: hellp gan unity video buat TA ;(

Post  dayat on Sun Oct 04, 2015 4:55 pm

ini work untuk android kh gan?
avatar
dayat
Unity3D Newbie
Unity3D Newbie

Posts : 7
Points : 13
Reputation : 0
Join date : 2015-07-14

View user profile

Back to top Go down

Re: hellp gan unity video buat TA ;(

Post  dayat on Sun Oct 04, 2015 7:52 pm

error gan yg d updatenya Sad
avatar
dayat
Unity3D Newbie
Unity3D Newbie

Posts : 7
Points : 13
Reputation : 0
Join date : 2015-07-14

View user profile

Back to top Go down

Re: hellp gan unity video buat TA ;(

Post  yozelectric on Fri Nov 20, 2015 2:00 pm

dayat wrote:error gan yg d updatenya Sad

sori gan.. jangan langsung di copas.

itu website jadi webiste di script saya diatas. ganti lagi jadi "website" gan
avatar
yozelectric
Unity3D Newbie
Unity3D Newbie

Posts : 6
Points : 6
Reputation : 0
Join date : 2011-10-31
Age : 27
Location : Surabaya

View user profile

Back to top Go down

Re: hellp gan unity video buat TA ;(

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum