View Full Version : PVP Style.
02-17-2012, 05:40 AM
I was working on a quick simple attack, attack, attack type thing for a friend and I to use but I don't know how to make it know what he is pressing and to update my window and vice versa, similar to a PVP RPG.
Can anyone help me understand how it's done a bit more please? :confused:
02-17-2012, 12:58 PM
And you have a lot of PHP scripting already done for the RPG?
02-17-2012, 01:42 PM
I have always wondered how its done, well I know its made by AJAX or any other languages, who can provide "live" updates of the content, but I have never knew any more in this..
Will love to follow the expert's responses here.. :)
02-17-2012, 02:04 PM
Is not a programming language, but a group of interrelated web development techniques.
As described in Wikipedia: http://en.wikipedia.org/wiki/Ajax_%28programming%29
JQuery can also POST to PHP scripts ... so clicking a button can
update a column in a MySQL database.
This one uses "prototype" framework:
Those are examples of clicking on graphic images (or buttons) to affect a database.
Your RPG database can be updated as a player clicks on a button.
The example of the "star rating system" would be great for your "attack, attack attack".
You could let the user control the amount of attack ... just like the star rating lets the
user pick how many stars to give.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.