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)drawsetalpha ga efek ke drawsprite

Go down

(ASK)drawsetalpha ga efek ke drawsprite

Post by Zihad Rizky Edwin Fikri on Wed 26 Mar 2014, 21:25

Kenapa di GM ku draw_set_alpha ga ngaruh ke draw_sprite? Apa emang begitu? Ak GM 8.0
-----------
ak yakin banget dulu pernah make dan work! Tapi sekarang ga work haahhaha. Mbuh lah :v
avatar
Zihad Rizky Edwin Fikri
GM Beginner
GM Beginner

55%
Jumlah posting : 409
Points : 431
Join date : 12.05.13
Age : 20
Lokasi : jaktim

Lihat profil user

Kembali Ke Atas Go down

Re: (ASK)drawsetalpha ga efek ke drawsprite

Post by Kevin Blaze Coolerz on Thu 27 Mar 2014, 19:25

coba pke draw_sprite_ext()

biasa ny, yg kyk gini pasti work:
Code:
draw_set_alpha(0.5)
draw_sprite()
avatar
Kevin Blaze Coolerz
Admin
Admin

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

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

Kembali Ke Atas Go down

Re: (ASK)drawsetalpha ga efek ke drawsprite

Post by Zihad Rizky Edwin Fikri on Sat 29 Mar 2014, 16:36

Kalo draw_sprite_ext sih bisa bro. Tapi kalo pakenya draw_set_alpha() ga bisa. Sprite ga transparan
avatar
Zihad Rizky Edwin Fikri
GM Beginner
GM Beginner

55%
Jumlah posting : 409
Points : 431
Join date : 12.05.13
Age : 20
Lokasi : jaktim

Lihat profil user

Kembali Ke Atas Go down

Re: (ASK)drawsetalpha ga efek ke drawsprite

Post by Kevin Blaze Coolerz on Sat 29 Mar 2014, 18:34

coba cek script yg lain, yg ad kaitan ny dgn alpha,, di remove (ato jadiin koment), lalu test game ny.
avatar
Kevin Blaze Coolerz
Admin
Admin

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

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

Kembali Ke Atas Go down

Re: (ASK)drawsetalpha ga efek ke drawsprite

Post by Zihad Rizky Edwin Fikri on Sat 29 Mar 2014, 18:51

Udah, ak bikin gmk baru ga ada apa2, cuma ada sprite, draw_set_alpha() sama draw_sprite doank
avatar
Zihad Rizky Edwin Fikri
GM Beginner
GM Beginner

55%
Jumlah posting : 409
Points : 431
Join date : 12.05.13
Age : 20
Lokasi : jaktim

Lihat profil user

Kembali Ke Atas Go down

Re: (ASK)drawsetalpha ga efek ke drawsprite

Post by Kevin Blaze Coolerz on Sat 29 Mar 2014, 20:21

ak yg lupa ato ap ??? Confused
di GMS, draw_set_alpha() berefek ke sprite jga, tpi ntah knp di GM8.0 (yg barusan ak coba) gk bsa Confused

di help file bacaan ny gini:
draw_set_alpha(alpha) Sets the alpha transparency value to be used from now on for drawing primitives. Should lie in the range 0-1. 0 is fully transparent, 1 is fully opaque.

itu berarti sprite gk bsa Confused
musti pke draw_sprite_ext() Very Happy
avatar
Kevin Blaze Coolerz
Admin
Admin

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

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

Kembali Ke Atas Go down

Re: (ASK)drawsetalpha ga efek ke drawsprite

Post by Zihad Rizky Edwin Fikri on Sat 29 Mar 2014, 21:58

Surprised iya kah? Brati yg dulu cuma angan2 doank :v
avatar
Zihad Rizky Edwin Fikri
GM Beginner
GM Beginner

55%
Jumlah posting : 409
Points : 431
Join date : 12.05.13
Age : 20
Lokasi : jaktim

Lihat profil user

Kembali Ke Atas Go down

Re: (ASK)drawsetalpha ga efek ke drawsprite

Post by Sponsored content


Sponsored content


Kembali Ke Atas Go down

Kembali Ke Atas


 
Permissions in this forum:
Anda tidak dapat menjawab topik