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

Join the forum, it's quick and easy

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
www.gmindo.web.id/forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Perbedaan EVENT Step, Begin step, End Step

5 posters

Go down

Perbedaan EVENT  Step, Begin step, End Step Empty Perbedaan EVENT Step, Begin step, End Step

Post by DONI Thu 02 May 2013, 17:11

perbedaan EVENT Step, Begin step, End Step apa sih sebenarnya???
Saya dah nyoba2 kok kayaknya fungsinya sama.??
DONI
DONI
GM Beginner
GM Beginner

75%
Jumlah posting : 104
Points : 110
Join date : 14.02.13

Kembali Ke Atas Go down

Perbedaan EVENT  Step, Begin step, End Step Empty Re: Perbedaan EVENT Step, Begin step, End Step

Post by Asuna Thu 02 May 2013, 18:50

copas dari helpfile wrote:Step events
The step event happens every step of the game. Here you can put actions that need to be executed continuously. For example, if one object should follow another, here you can adapt the direction of motion towards the object we are following. Be careful with this event though. Don't put many complicated actions in the step event of objects of which there are many instances. This might slow the game down. To be more precise, there are three different step events. Normally you only need the default one. But using the menu you can also select the begin step event and the end step event. The begin step event is executed at the beginning of each step, before any other events take place. The normal step event is executed just before the instances are put in their new positions. The end step event is executed at the end of the step, just before the drawing. This is typically used to change the sprite depending on the current direction.
confused? use google translate Razz

Spoiler:
Asuna
Asuna
Global Moderator
Global Moderator

100%
Jumlah posting : 1711
Points : 1901
Join date : 10.01.13

Kembali Ke Atas Go down

Perbedaan EVENT  Step, Begin step, End Step Empty Re: Perbedaan EVENT Step, Begin step, End Step

Post by Kevin Blaze Coolerz Thu 02 May 2013, 19:05

Begin Step: step yg di jalankan paling awal
Step: stelah begin step, maka seluruh script disini di jalankan
End step: script di step ini lebih akhir di jalankan

contoh:
jika kmu set variable a di tiap" event step, seperti ini

di end step kmu set a = 3
di begin step kmu set a = 1
dan di step kmu set a = 2

maka var a akan di mulai dari 1, 2, dan 3
krna script di begin step yg paling duluan di jalankan Very Happy
Kevin Blaze Coolerz
Kevin Blaze Coolerz
Admin
Admin

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

http://kevin-blaze-coolerz.blogspot.com/

Kembali Ke Atas Go down

Perbedaan EVENT  Step, Begin step, End Step Empty Re: Perbedaan EVENT Step, Begin step, End Step

Post by DONI Thu 02 May 2013, 20:35

oh..
cuma urutan eksekusi aja ya ternyata??
tp aku jarang sekali ngeliat yg Pakai Begin Step.
DONI
DONI
GM Beginner
GM Beginner

75%
Jumlah posting : 104
Points : 110
Join date : 14.02.13

Kembali Ke Atas Go down

Perbedaan EVENT  Step, Begin step, End Step Empty Re: Perbedaan EVENT Step, Begin step, End Step

Post by Kevin Blaze Coolerz Thu 02 May 2013, 20:47

yupz bner Very Happy

ak pake begin step kalo di event step udah trlalu bnyk script Pacman
tpi utk fungsi asli ny ya itu, seperti yg Asuna koment, biar game gk lag maka di sediakan 3 fungsi step yg berbeda waktu eksekusi nya Very Happy
Kevin Blaze Coolerz
Kevin Blaze Coolerz
Admin
Admin

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

http://kevin-blaze-coolerz.blogspot.com/

Kembali Ke Atas Go down

Perbedaan EVENT  Step, Begin step, End Step Empty Re: Perbedaan EVENT Step, Begin step, End Step

Post by ghoraghori Fri 03 May 2013, 06:01

Kevin Blaze Coolerz wrote:Begin Step: step yg di jalankan paling awal
Step: stelah begin step, maka seluruh script disini di jalankan
End step: script di step ini lebih akhir di jalankan

contoh:
jika kmu set variable a di tiap" event step, seperti ini

di end step kmu set a = 3
di begin step kmu set a = 1
dan di step kmu set a = 2

maka var a akan di mulai dari 1, 2, dan 3
krna script di begin step yg paling duluan di jalankan Very Happy
hmm...tanya soal end step
klo tahu step itu bakal end darimananya?
ghoraghori
ghoraghori
GM Beginner
GM Beginner

100%
Jumlah posting : 145
Points : 207
Join date : 20.03.13
Lokasi : Sidoarjo

Kembali Ke Atas Go down

Perbedaan EVENT  Step, Begin step, End Step Empty Re: Perbedaan EVENT Step, Begin step, End Step

Post by HaNIFU Fri 03 May 2013, 08:35

Selain itu yang saya tahu step event selalu di execute terus selama object ada dan tidak bisa dirubah. tidak seperti begin step.
contoh: buat sprite kotak beri warna hitam lalu buat object, taruh sprite tadi obj. ini.
Buat event "Begin step" masukkan code: window_set_cursor(cr_arrow);
Buat event lagi "No button" masukkan code: window_set_cursor(cr_handpoint);
Buat room masukkan object tadi. Run game kamu... ketika mouse berada tepat di object, cursor akan berubah. Lalu coba ganti even "Begin step" dengan "Step" atau "End step" cursor tidak akan berubah... Perbedaan EVENT  Step, Begin step, End Step 364988687
HaNIFU
HaNIFU
Global Moderator
Global Moderator

100%
Jumlah posting : 689
Points : 858
Join date : 11.04.13
Lokasi : Surakarta

Kembali Ke Atas Go down

Perbedaan EVENT  Step, Begin step, End Step Empty Re: Perbedaan EVENT Step, Begin step, End Step

Post by Kevin Blaze Coolerz Fri 03 May 2013, 08:56

@ghoragori:
step gk akan end Very Happy kcuali begin step yg cma di execute 1x (baca koment HaNIFU)

@HaNIFU:
seep, ilmu baru Very Happy
percobaan yg bagus
Kevin Blaze Coolerz
Kevin Blaze Coolerz
Admin
Admin

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

http://kevin-blaze-coolerz.blogspot.com/

Kembali Ke Atas Go down

Perbedaan EVENT  Step, Begin step, End Step Empty Re: Perbedaan EVENT Step, Begin step, End Step

Post by Asuna Fri 03 May 2013, 09:56

@HaNIFU
that's right, tapi itu berdasarkan konsep yang ada di cuplikan helpfile yang aku kasih tadi Very Happy
thanks for the example Very Happy
Asuna
Asuna
Global Moderator
Global Moderator

100%
Jumlah posting : 1711
Points : 1901
Join date : 10.01.13

Kembali Ke Atas Go down

Perbedaan EVENT  Step, Begin step, End Step Empty Re: Perbedaan EVENT Step, Begin step, End Step

Post by Sponsored content


Sponsored content


Kembali Ke Atas Go down

Kembali Ke Atas

- Similar topics

 
Permissions in this forum:
Anda tidak dapat menjawab topik