Prodig - Komunitas Proyek Digital
Selamat datang di ProDig!
Di sini adalah tempat untuk berbagi proyek (game, seni, program, dan situs).
Di sini Anda juga bisa mendapatkan hal lainnya seperti permainan, berbagi karya, ilmu pengetahuan, kesenangan, dan sebagainya. :)

Ayo daftar lalu langsung login tanpa perlu konfirmasi email sama sekali :D!
Prodig - Komunitas Proyek Digital
Selamat datang di ProDig!
Di sini adalah tempat untuk berbagi proyek (game, seni, program, dan situs).
Di sini Anda juga bisa mendapatkan hal lainnya seperti permainan, berbagi karya, ilmu pengetahuan, kesenangan, dan sebagainya. :)

Ayo daftar lalu langsung login tanpa perlu konfirmasi email sama sekali :D!
Prodig - Komunitas Proyek Digital
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Prodig - Komunitas Proyek Digital

Tempat untuk berbagi proyek digital : Situs, Game, Seni, Program
 
PortalHomeRulesSearchLatest imagesRegisterLog in
Welcome to the ProDig, Guest!

 [RGSS/RGSS2] Listra Pathfinder Module Resize
 

 [RGSS/RGSS2] Listra Pathfinder Module

View previous topic View next topic Go down 
AuthorMessage
Alissa
Ngacay Princess
Alissa

Status : Ngacay :v
Posts : 424
Chips : 6865
Power : 14
Join date : 2010-09-22
Location : Antara ada dan tiada :-
Badge : [RGSS/RGSS2] Listra Pathfinder Module Visual13 [RGSS/RGSS2] Listra Pathfinder Module Ntitle10[RGSS/RGSS2] Listra Pathfinder Module Visualart20112

[RGSS/RGSS2] Listra Pathfinder Module _
PostSubject: [RGSS/RGSS2] Listra Pathfinder Module   
[RGSS/RGSS2] Listra Pathfinder Module Icon_minitimeSun Dec 12, 2010 11:25 am


Listra Pathfinder Module
Using A*/Dijkstra's Algorithm
Version 1.0
For RPG Maker VX and RPG Maker XP


Sesuai keinginanku untuk men-translate script pathfinding-ku dalam bahasa GML dan AS (lihat di sini) ke dalam bahasa lain, ke dalam bahasa lain, inilah script pathfinding dalam RGSS dan RGSS2.
Namun, script RGSS/RGSS2 ini memodifikasi script Move Towards Player untuk pergerakan event yakni pada Autonomous Movement--Approach, memanfaatkan algoritma Dijkstra/A*, sehingga event dapat mencari jalur terpendek untuk mendekati Player.
Inilah codingan scriptku... :lkabur:
Spoiler:

NB: Jangan lupa kredit saya yah kalo mau menggunakan ini.. ;)

Cara Pemasangan?
Buat slot script baru di atas Main pada Script Editor, lalu copas kedua bagian script Listra Pathfinder Module di situ.

Download Sample Test Driver
RGSS: http://ifile.it/h4tzakl/GSAdemo.exe
RGSS2: http://ifile.it/4jfpa1d/GSAdemo2.exe



Back to top Go down
https://bungatepijalan.wordpress.com
nisamerica
Tengkorak Hidup
nisamerica

Posts : 136
Chips : 5632
Power : 2
Join date : 2010-09-25
Age : 31
Location : Di tempat yang ada oksigennya
Quote : Jangan mengejar sukses, tapi berlarilah di depan sukses.
Badge : [RGSS/RGSS2] Listra Pathfinder Module Visual13

[RGSS/RGSS2] Listra Pathfinder Module _
PostSubject: Re: [RGSS/RGSS2] Listra Pathfinder Module   
[RGSS/RGSS2] Listra Pathfinder Module Icon_minitimeSun Dec 12, 2010 6:48 pm


WHAAAA~~??!! :o
Perasaan baru kmaren2 deh situ ngomong mo belajar RGSS?! :o
Wih, bagus juga nih, thanks banget dah, gwa ambil ya, mumpung lagi bikin Game ABS pake event! XD

Btw, ini bakal mencegah event untuk tertahan di balik tembok kan? Heh, seplah, selain ABS, ni juga bagus buat caterpillar! XD

Cendol ah~ :kabur:



Back to top Go down
Alissa
Ngacay Princess
Alissa

Status : Ngacay :v
Posts : 424
Chips : 6865
Power : 14
Join date : 2010-09-22
Location : Antara ada dan tiada :-
Badge : [RGSS/RGSS2] Listra Pathfinder Module Visual13 [RGSS/RGSS2] Listra Pathfinder Module Ntitle10[RGSS/RGSS2] Listra Pathfinder Module Visualart20112

[RGSS/RGSS2] Listra Pathfinder Module _
PostSubject: Re: [RGSS/RGSS2] Listra Pathfinder Module   
[RGSS/RGSS2] Listra Pathfinder Module Icon_minitimeWed Dec 15, 2010 3:03 pm


LPM Version 1.1 released!
Changelog:
- Added Floyd–Warshall algorithm (but not well-tested yet). Use in caution since it is very slow in initialization.
- Made a little changes, now you can select pathfinding algorithm by changing the second parameter (see the instruction) in:
Code:
$mgraph = MGraph.new(4,selected_algorithm)

Download the latest script at
RGSS: http://listra.pastebay.com/111995
RGSS2: http://listra.pastebay.com/111996
:lkabur:

Sorry, sample test driver not updated :sembah:



Back to top Go down
https://bungatepijalan.wordpress.com
polo12
Global Moderator
polo12

Posts : 151
Chips : 5202
Power : 4
Join date : 2010-09-25
Location : Under your Underwear
Quote : ga ada

[RGSS/RGSS2] Listra Pathfinder Module _
PostSubject: Re: [RGSS/RGSS2] Listra Pathfinder Module   
[RGSS/RGSS2] Listra Pathfinder Module Icon_minitimeThu Dec 16, 2010 4:38 pm


udah lama polo12 ga buka RM
tapi kayaknya keren nih!
👍
bikin yg laen juga ya :palu:



Back to top Go down
http://golden-world.forumotion.com
Sponsored content




[RGSS/RGSS2] Listra Pathfinder Module _
PostSubject: Re: [RGSS/RGSS2] Listra Pathfinder Module   
[RGSS/RGSS2] Listra Pathfinder Module Icon_minitime





Back to top Go down
 

[RGSS/RGSS2] Listra Pathfinder Module

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Prodig - Komunitas Proyek Digital  :: Education Chamber :: Programming :: RGSS-
Jump to: