RPG AI Example
+2
Kevin Blaze Coolerz
Asuna
6 posters
Halaman 1 dari 1
RPG AI Example
RPG AI Example
Version 1.1b by Alissa Liu
Description:
Implements state-driven unit AI in a simple RPG example (deathmatch gameplay).
Implemented features:
- State-based unit actions (Idle/move, Attack, Hit, Dead)
- State-driven unit AI for melee & ranged units: Patrol, and Chase (and attack)
- Sprite creation from spritesheet background, createSprite(back)
- Target selection using fuzzy logic for the AI (from [You must be registered and logged in to see this link.])
- Improved unit decision making using fuzzy logic for the AI, plus Flee behavior
To-dos:
- More unit properties besides HP, ATK and attack time: DEF, CRI, EVA, STR, VIT, DEX, AGI, INT, etc. (as your exercise)
- Improved unit decision making for the AI with those additional properties (as your exercise)
- Unit abilities/spells (as your exercise)
- Waypointing & pathfinding for roaming behavior and dealing with obstacles (as your exercise)
- and more...
Link:
[You must be registered and logged in to see this link.]
Screenshots:
Version 1.1b by Alissa Liu
Description:
Implements state-driven unit AI in a simple RPG example (deathmatch gameplay).
Implemented features:
- State-based unit actions (Idle/move, Attack, Hit, Dead)
- State-driven unit AI for melee & ranged units: Patrol, and Chase (and attack)
- Sprite creation from spritesheet background, createSprite(back)
- Target selection using fuzzy logic for the AI (from [You must be registered and logged in to see this link.])
- Improved unit decision making using fuzzy logic for the AI, plus Flee behavior
To-dos:
- More unit properties besides HP, ATK and attack time: DEF, CRI, EVA, STR, VIT, DEX, AGI, INT, etc. (as your exercise)
- Improved unit decision making for the AI with those additional properties (as your exercise)
- Unit abilities/spells (as your exercise)
- Waypointing & pathfinding for roaming behavior and dealing with obstacles (as your exercise)
- and more...
Link:
[You must be registered and logged in to see this link.]
Screenshots:
- Spoiler:
- [You must be registered and logged in to see this image.]
Terakhir diubah oleh Asuna tanggal Wed 11 Dec 2013, 00:21, total 4 kali diubah (Reason for editing : v1.1b update)
Asuna- Global Moderator
-
Jumlah posting : 1711
Points : 1901
Join date : 10.01.13
Re: RPG AI Example
[You must be registered and logged in to see this image.]
gambar nya ancur not rekomended bnget sih kalo pke surface utk draw sprite ny, mending di jadiin animasi strips, +speed ny jga lebih cepet.
but, about the AI, it's so nice & so good(merk sosis)
walau fuzzy logic ny blum di implementasikan, tpi udh bagus AI ny
gambar nya ancur not rekomended bnget sih kalo pke surface utk draw sprite ny, mending di jadiin animasi strips, +speed ny jga lebih cepet.
but, about the AI, it's so nice & so good
walau fuzzy logic ny blum di implementasikan, tpi udh bagus AI ny
Re: RPG AI Example
^
yg di ane bisa bagus, apa tergantung graphicsnya kah?
pke surface sebenernya buat create sprite saat inisialisasinya doank, jadi pada penggunaan sprite utk draw mestinya gk ngaruh speednya
mengolah spritesheet secara manual dengan create from strip juga bisa sih,tapi ada pertimbangan utk bikin script yg mengolah spritesheet scr otomatis & create sprite on the fly pada inisialisasi game
Edit: well, it's better to do it manually, soalny kalo ane coba import ke GMS jadi ada problem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
v1.0b update released! Check the thread...
yg di ane bisa bagus, apa tergantung graphicsnya kah?
pke surface sebenernya buat create sprite saat inisialisasinya doank, jadi pada penggunaan sprite utk draw mestinya gk ngaruh speednya
mengolah spritesheet secara manual dengan create from strip juga bisa sih,
Edit: well, it's better to do it manually, soalny kalo ane coba import ke GMS jadi ada problem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
v1.0b update released! Check the thread...
Asuna- Global Moderator
-
Jumlah posting : 1711
Points : 1901
Join date : 10.01.13
Re: RPG AI Example
mngkin juga sih, soal ny ak pke laptop jadul (belinya tahun 2008 )
oh iy jga, cma pas awal doank create sprite ny
lol, ntah knp emg slalu ada problem di GMS
oh iy jga, cma pas awal doank create sprite ny
lol, ntah knp emg slalu ada problem di GMS
Re: RPG AI Example
I think your game is fine Asuna. Aku convert ke Studio, hasilnya ok kok. Nice share and thanks.
Versi Studio 1.2.1224. DO NOT USE previous versions.
Bahkan di versi ini pun ada beberapa fungsi yang belum jalan baik. Surface dan dynamic resource creation/destroy diantaranya. Semoga cepet diperbaiki
Versi Studio 1.2.1224. DO NOT USE previous versions.
Bahkan di versi ini pun ada beberapa fungsi yang belum jalan baik. Surface dan dynamic resource creation/destroy diantaranya. Semoga cepet diperbaiki
Re: RPG AI Example
@zebrakelabu
cz gamenya udah fixed
sebelumnya yg terjadi adalah problem seperti yg dialami Kevin diatas, dan yg di ane saat import ke GMS ada problem mengenai fungsi seperti sprite_create_from_surface (btw versi yg ane pake 1.2.1161), kalo sekarang mah karena udah gk pake fungsi itu
btw cek link di trit untuk yg pake GMS, dan disitu sudah ditambahkan objek button input utk export android
cz gamenya udah fixed
sebelumnya yg terjadi adalah problem seperti yg dialami Kevin diatas, dan yg di ane saat import ke GMS ada problem mengenai fungsi seperti sprite_create_from_surface (btw versi yg ane pake 1.2.1161), kalo sekarang mah karena udah gk pake fungsi itu
btw cek link di trit untuk yg pake GMS, dan disitu sudah ditambahkan objek button input utk export android
Asuna- Global Moderator
-
Jumlah posting : 1711
Points : 1901
Join date : 10.01.13
Re: RPG AI Example
v1.1 update released!
Changes:
- Implemented target selection using fuzzy logic for the AI (from [You must be registered and logged in to see this link.])
- AI units can flee if there are too many enemies
Changes:
- Implemented target selection using fuzzy logic for the AI (from [You must be registered and logged in to see this link.])
- AI units can flee if there are too many enemies
Asuna- Global Moderator
-
Jumlah posting : 1711
Points : 1901
Join date : 10.01.13
Re: RPG AI Example
nice, ak udah download & coba
tdi ak lihat ada 2 AI (jarak dekat) yg mondar mandir,, satu ke kanan & satu ny lgi ke kiri, trus balik lgi:
<---X
Y--->
si X pengen deketin si Y, tpi si Y jga pengen deketin si X, jadi ny mondar mandir trus XD smua ny berakhir sampai AI yg lain ikut campur, lol
kondisi ny sih emg jarang sekali terjadi, jdi ak rasa jga ini bukan bug
tdi ak lihat ada 2 AI (jarak dekat) yg mondar mandir,, satu ke kanan & satu ny lgi ke kiri, trus balik lgi:
<---X
Y--->
si X pengen deketin si Y, tpi si Y jga pengen deketin si X, jadi ny mondar mandir trus XD smua ny berakhir sampai AI yg lain ikut campur, lol
kondisi ny sih emg jarang sekali terjadi, jdi ak rasa jga ini bukan bug
Re: RPG AI Example
Wah Bagus banget lho ini Mungkin aku bakal buat proyek game RPG pake system AI ini(kalau yang lain udah selesai)
Re: RPG AI Example
v1.1b update released!
Just a few fixes, especially for the AI system.
@Kevin
idk
seperti gitu juga yang ane temu tapi mereka gk saling mendekat, kalo saling mendekat mestinya saling attack... anyway fixed
Just a few fixes, especially for the AI system.
@Kevin
idk
seperti gitu juga yang ane temu tapi mereka gk saling mendekat, kalo saling mendekat mestinya saling attack... anyway fixed
Asuna- Global Moderator
-
Jumlah posting : 1711
Points : 1901
Join date : 10.01.13
Re: RPG AI Example
woke seep
kalo AI yg ak temui itu type jarak dekat, jdi mereka saling mendekati, tpi krna yg lain jga lgi berjalan mendekati, jdi lewat aja gitu
kalo AI yg ak temui itu type jarak dekat, jdi mereka saling mendekati, tpi krna yg lain jga lgi berjalan mendekati, jdi lewat aja gitu
Re: RPG AI Example
example simple inventory error gak bisa di buka file rar nya
mrtwo- Newbie
-
Jumlah posting : 17
Points : 19
Join date : 05.10.13
Re: RPG AI Example
^
example inventory apaan? go home, you're drunk!
example inventory apaan? go home, you're drunk!
Asuna- Global Moderator
-
Jumlah posting : 1711
Points : 1901
Join date : 10.01.13
Halaman 1 dari 1
Permissions in this forum:
Anda tidak dapat menjawab topik