www.gmindo.web.id/forum
Forum ini sudah tidak dipakai lagi. Silakan ke forum baru di www.gmindo.web.id/forum Very Happy

Terima kasih

[Ask] particle system

Topik sebelumnya Topik selanjutnya Go down

[Ask] particle system

Post by L.M Afrizal R on Tue 23 Jul 2013, 23:49

Cara gunain particle system gimana tuh Question aq prnh gunain itu tapi particlenya gak muncul muncul Sad 
avatar
L.M Afrizal R
GM Beginner
GM Beginner

100%
Jumlah posting : 165
Points : 125
Join date : 15.07.13
Age : 18

Lihat profil user

Kembali Ke Atas Go down

Re: [Ask] particle system

Post by Kevin Blaze Coolerz on Wed 24 Jul 2013, 10:00

di create event:
Code:
{
  // make the particle system
  ps = part_system_create();

  // the firework particles
  pt1 = part_type_create();
  part_type_shape(pt1,pt_shape_flare);
  part_type_size(pt1,0.1,0.2,0,0);
  part_type_speed(pt1,0.5,4,0,0);
  part_type_direction(pt1,0,360,0,0);
  part_type_color1(pt1,c_red);
  part_type_alpha2(pt1,1,0.4);
  part_type_life(pt1,20,30);
  part_type_gravity(pt1,0.2,270);

  // the rocket
  pt2 = part_type_create();
  part_type_shape(pt2,pt_shape_sphere);
  part_type_size(pt2,0.2,0.2,0,0);
  part_type_speed(pt2,10,14,0,0);
  part_type_direction(pt2,80,100,0,0);
  part_type_color2(pt2,c_white,c_gray);
  part_type_life(pt2,30,60);
  part_type_gravity(pt2,0.2,270);
  part_type_death(pt2,150,pt1);    // create the firework on death

  // create the emitter
  em = part_emitter_create(ps);
  part_emitter_region(ps,em,100,540,480,490,ps_shape_rectangle,ps_distr_linear);
  part_emitter_stream(ps,em,pt2,-4);  // create one every four steps
}

di pelototin aja pelan", ntar juga ngerti Very Happy
ak malas pke particle, cz lag & ribet, enak pke function ef_ Razz lebih simple
avatar
Kevin Blaze Coolerz
Admin
Admin

100%
Jumlah posting : 3323
Points : 3795
Join date : 06.01.13
Age : 21
Lokasi : Palembang

Lihat profil user http://kevin-blaze-coolerz.blogspot.com/

Kembali Ke Atas Go down

Re: [Ask] particle system

Post by L.M Afrizal R on Wed 24 Jul 2013, 23:52

terima kasih atas scriptnya Very Happy .bagiku kalau effect itu Evil or Very Mad 
avatar
L.M Afrizal R
GM Beginner
GM Beginner

100%
Jumlah posting : 165
Points : 125
Join date : 15.07.13
Age : 18

Lihat profil user

Kembali Ke Atas Go down

Re: [Ask] particle system

Post by Kevin Blaze Coolerz on Thu 25 Jul 2013, 10:11

tuh script ak copas dri helpfile Razz
walau simple tpi nice juga kalo bisa di manfaatkan dgn baik Very Happy
avatar
Kevin Blaze Coolerz
Admin
Admin

100%
Jumlah posting : 3323
Points : 3795
Join date : 06.01.13
Age : 21
Lokasi : Palembang

Lihat profil user http://kevin-blaze-coolerz.blogspot.com/

Kembali Ke Atas Go down

Re: [Ask] particle system

Post by L.M Afrizal R on Fri 26 Jul 2013, 01:56

baiklah aq mengerti Wink memanfaatkannya dgn baik its easy Surprised and thankyou very much much much much (tinta keyboardku tinggal sedikit nih aku beli dulu ya)
avatar
L.M Afrizal R
GM Beginner
GM Beginner

100%
Jumlah posting : 165
Points : 125
Join date : 15.07.13
Age : 18

Lihat profil user

Kembali Ke Atas Go down

Re: [Ask] particle system

Post by Kevin Blaze Coolerz on Fri 26 Jul 2013, 09:35

seep, sama" Very Happy

Topic Locked
avatar
Kevin Blaze Coolerz
Admin
Admin

100%
Jumlah posting : 3323
Points : 3795
Join date : 06.01.13
Age : 21
Lokasi : Palembang

Lihat profil user http://kevin-blaze-coolerz.blogspot.com/

Kembali Ke Atas Go down

Re: [Ask] particle system

Post by Sponsored content


Sponsored content


Kembali Ke Atas Go down

Topik sebelumnya Topik selanjutnya Kembali Ke Atas


 
Permissions in this forum:
Anda tidak dapat menjawab topik