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.

Tentang Musuh dan Ini File

4 posters

Go down

Tentang Musuh dan Ini File Empty Tentang Musuh dan Ini File

Post by Pinneaple Studios Mon 29 Jul 2013, 15:32

nah all saya mau nanya nih
gimana caranya ngesave darah musuh ke ini file, misal
di room 1 musuhnya ada 10, udah mati 5, 5 lagi darahnya:1 musuh 10, 3 musuh 30, 1 musuh 100
gimana?
Pinneaple Studios
Pinneaple Studios
GM Intermediate
GM Intermediate

100%
Jumlah posting : 839
Points : 980
Join date : 06.01.13
Age : 22
Lokasi : Depok :D

Kembali Ke Atas Go down

Tentang Musuh dan Ini File Empty Re: Tentang Musuh dan Ini File

Post by Game Maker Newbie Mon 29 Jul 2013, 17:44

Belum Ngerti Maksudnya ?? :/
Game Maker Newbie
Game Maker Newbie
GM Beginner
GM Beginner

100%
Jumlah posting : 278
Points : 281
Join date : 03.02.13
Age : 20
Lokasi : Sidoarjo

http://ydahlimu.blogspot.com

Kembali Ke Atas Go down

Tentang Musuh dan Ini File Empty Re: Tentang Musuh dan Ini File

Post by greckminas Mon 29 Jul 2013, 18:16

klo kyk gini bisa :
buat variable musuh misalnya e_musuh
nanti bikin section dengan nama room klo namanya rm_room1
berarti :
[rm_room1]
e_musuh1 = 0
e_musuh2 = 0
e_musuh3 = 0
e_musuh4 = 0
e_musuh5 = 0
e_musuh6 = 1
e_musuh7 = 1
e_musuh8 = 1
e_musuh9 = 1
e_musuh10 = 1


NB:1 sama dengan darahnya 1 lagi
klo 0 darah nya habis / mati
klo darahnya 100 berarti full / masih penuh
greckminas
greckminas
GM Beginner
GM Beginner

100%
Jumlah posting : 353
Points : 382
Join date : 09.06.13
Age : 22
Lokasi : Bandung

http://ranggayy.blogspot.com

Kembali Ke Atas Go down

Tentang Musuh dan Ini File Empty Re: Tentang Musuh dan Ini File

Post by Pinneaple Studios Tue 30 Jul 2013, 14:31

ya itu mah tahu, tapi kurangin variable darahnya kapan?
Pinneaple Studios
Pinneaple Studios
GM Intermediate
GM Intermediate

100%
Jumlah posting : 839
Points : 980
Join date : 06.01.13
Age : 22
Lokasi : Depok :D

Kembali Ke Atas Go down

Tentang Musuh dan Ini File Empty Re: Tentang Musuh dan Ini File

Post by greckminas Tue 30 Jul 2013, 16:32

yah,, saat mengurang darahnya (klo saat tertembak ya ngurang nya pas kena tambakannya)
greckminas
greckminas
GM Beginner
GM Beginner

100%
Jumlah posting : 353
Points : 382
Join date : 09.06.13
Age : 22
Lokasi : Bandung

http://ranggayy.blogspot.com

Kembali Ke Atas Go down

Tentang Musuh dan Ini File Empty Re: Tentang Musuh dan Ini File

Post by Kevin Blaze Coolerz Tue 30 Jul 2013, 18:46

tiap enemy bikin ID sendiri Very Happy

if global.mulai_save=1
{
ini_open()
ini_write_real(section,enemy_id,myhp)
ini_close()
}

cara set ID ny ad bnyk cara, salah ny lewat room > klik kanan obj_enemy > execute code > enemy_id=X

enemy_id itu variable ID ny 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

Tentang Musuh dan Ini File Empty Re: Tentang Musuh dan Ini File

Post by Pinneaple Studios Thu 01 Aug 2013, 10:31

ini juga bisa buat script posisi x dan y nya kan?
Pinneaple Studios
Pinneaple Studios
GM Intermediate
GM Intermediate

100%
Jumlah posting : 839
Points : 980
Join date : 06.01.13
Age : 22
Lokasi : Depok :D

Kembali Ke Atas Go down

Tentang Musuh dan Ini File Empty Re: Tentang Musuh dan Ini File

Post by Kevin Blaze Coolerz Thu 01 Aug 2013, 11:12

iy bisa Very Happy
tinggal di write_real aja posisi x dan y nya
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

Tentang Musuh dan Ini File Empty Re: Tentang Musuh dan Ini File

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