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.

[ASK] resource di folder

4 posters

Go down

[ASK] resource di folder Empty [ASK] resource di folder

Post by Riza_Farhandi Sun 31 Mar 2013, 08:40

Kan mau ngambil gambar yg ada di folder...
trus gimana caranya biar bisa dijadiin background...???
Pake background_replace kah atau ada cara lain...???
Trus cara nge save gambarnya,
dan gambar itu akan ada di folder tersebut...???
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

[ASK] resource di folder Empty Re: [ASK] resource di folder

Post by Pinneaple Studios Sun 31 Mar 2013, 08:51

wah itu mah buat yg level intermediate mas...
buat nyimpen background ada background_save(ind,fname)
ind=nama backgrouundnya maybe Hammer
fname=nama folder
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

[ASK] resource di folder Empty Re: [ASK] resource di folder

Post by Kevin Blaze Coolerz Sun 31 Mar 2013, 09:03

try this

Code:
bg = background_add(fname,removeback,smooth)
background_index[0] = bc

-fname = working_directory+"\NamaFolder\Background.jpg"
-removeback = jika 1 maka warna dominan background akan di hapus
-smooth = pilih 1 aja biar lebih halus gambar nya

cara save gambar ada 2 cara:

1. screen_save(fname)
2. screen_save_part(fname,x,y,w,h)

-fname = sama kyk yg di atas (beri nama baru utk nama file gambar yg akan di save, ex: working_directory+"\NamaFolder\newBackground.png")
-x,y = posisi mana yg mau di save gambar ny
-w,h = selebar & setinggi apa gambar yg mau di save

w = singkatan dari width
h = sngkatan dari height
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

[ASK] resource di folder Empty Re: [ASK] resource di folder

Post by Pinneaple Studios Sun 31 Mar 2013, 09:08

@KBC=kalo ind itu apa om?
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

[ASK] resource di folder Empty Re: [ASK] resource di folder

Post by Asuna Sun 31 Mar 2013, 09:17

cara ngambil gambar: background_add(fname,removeback,smooth)
cara save gambarnya pake: background_save(ind,fname)

Tambahan:
-fname = sama kyk yg di atas (beri nama baru utk nama file gambar yg akan di save, ex: working_directory+"\NamaFolder\newBackground.png")
bisa langsung tulisnya: "NamaFolder\newBackground.png"

Spoiler:


@PS
ind itu indonesia [ASK] resource di folder 4237465583
ya baca aja di helpfilenya Very Happy
Asuna
Asuna
Global Moderator
Global Moderator

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

Kembali Ke Atas Go down

[ASK] resource di folder Empty Re: [ASK] resource di folder

Post by Kevin Blaze Coolerz Sun 31 Mar 2013, 09:19

ind itu index
background/sprite yg udah kmu buat di GM, misalnya spr_char
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

[ASK] resource di folder Empty Re: [ASK] resource di folder

Post by Riza_Farhandi Sun 31 Mar 2013, 09:45

@All: Big Thanks Very Happy
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

[ASK] resource di folder Empty Re: [ASK] resource di folder

Post by Kevin Blaze Coolerz Sun 31 Mar 2013, 10:25

ok, sma" Very Happy

Solved = Locked
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

[ASK] resource di folder Empty Re: [ASK] resource di folder

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