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.

bombnya kenapa masih bisa ya?

+2
Riza_Farhandi
glupfruxx
6 posters

Go down

bombnya kenapa masih bisa ya? Empty bombnya kenapa masih bisa ya?

Post by glupfruxx Wed 13 Mar 2013, 14:47

Code:
di create event :
bomb = false
allbomb = 5

di alarm[0] event :
bomb = false

di pressed space event :
if bomb = false {
bomb = true;
alarm[0] = 60;
instance_create(obj_player.x,obj_player.y,obj_bomb)
allbomb -=1;
}

if allbomb < 1{
bomb = false
}
pertanyaannya,
kenapa pas allbomb 0 masih bisa nembak? Curiga
mohon bantuannya ya,
thanks before, Smile
glupfruxx
glupfruxx
GM Beginner
GM Beginner

100%
Jumlah posting : 262
Points : 261
Join date : 07.01.13
Age : 29
Lokasi : Depok

https://glup-fruxx.tk

Kembali Ke Atas Go down

bombnya kenapa masih bisa ya? Empty Re: bombnya kenapa masih bisa ya?

Post by Riza_Farhandi Wed 13 Mar 2013, 15:08

mungkin yg di pressed space event yang :

if allbomb < 1
{bomb = false}

seharusnya

if allbomb < 1
{bomb = true}

mungkin...???
maaf kalo salah... kurang ngerti soalnya Smile
Riza_Farhandi
Riza_Farhandi
GM Beginner
GM Beginner

100%
Jumlah posting : 393
Points : 356
Join date : 24.01.13
Age : 24
Lokasi : Tangerang Selatan

http://mrizaf.mywapblog.com/

Kembali Ke Atas Go down

bombnya kenapa masih bisa ya? Empty Re: bombnya kenapa masih bisa ya?

Post by Pinneaple Studios Wed 13 Mar 2013, 15:43

karena pas di key pressed event
if bomb=false
bomb=true
ya masih bisa lah
kayanya begini
if allbomb >0
if bomb=false
bomb=true
kalo bener...
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

bombnya kenapa masih bisa ya? Empty Re: bombnya kenapa masih bisa ya?

Post by Arif_IndoFuture Wed 13 Mar 2013, 15:50

Code:

create event:
bomb = true
allbomb = 5

alarm[0] event :
bomb = true

di pressed space event:
if allbomb > 0
{
if bomb = true
{
bomb = false;
alarm[0] = 60;
instance_create(obj_player.x,obj_player.y,obj_bomb)
allbomb -=1;
}
}

if allbomb < 1
{
bomb = false;
}
Arif_IndoFuture
Arif_IndoFuture
GM Beginner
GM Beginner

100%
Jumlah posting : 316
Points : 279
Join date : 12.01.13
Age : 26
Lokasi : Jogja

https://www.facebook.com/IndonesianFuture

Kembali Ke Atas Go down

bombnya kenapa masih bisa ya? Empty Re: bombnya kenapa masih bisa ya?

Post by Pinneaple Studios Wed 13 Mar 2013, 16:21

cobain dah yg ini
Code:

Create Event
bomb=false;
allbomb=5;
Alarm 0 Event
bomb=false;
Pressed Key Event
if (bomb=false)
if (allbomb>0)
{
    alarm[0]=60;
    instance_create(objectplayer.x,objectplayer.y,obj_bomb);
    allbomb-=1;
}
if (allbomb<1)
alarm[0]=-1;
bomb=true;
klo bener
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

bombnya kenapa masih bisa ya? Empty Re: bombnya kenapa masih bisa ya?

Post by Kevin Blaze Coolerz Wed 13 Mar 2013, 18:49

udh bsa? 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

bombnya kenapa masih bisa ya? Empty Re: bombnya kenapa masih bisa ya?

Post by Pinneaple Studios Wed 13 Mar 2013, 19:13

dia belum online
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

bombnya kenapa masih bisa ya? Empty Re: bombnya kenapa masih bisa ya?

Post by Asuna Wed 13 Mar 2013, 22:27

versiku, pressed space event :

Code:
if allbomb > 0{
    if bomb = false {
        bomb = true;
        alarm[0] = 60;
        instance_create(obj_player.x,obj_player.y,obj_bomb)
        allbomb -=1;
    }
}
Asuna
Asuna
Global Moderator
Global Moderator

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

Kembali Ke Atas Go down

bombnya kenapa masih bisa ya? Empty Re: bombnya kenapa masih bisa ya?

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