Rifts Posted March 2, 2011 Share Posted March 2, 2011 Hey! I'm attempting to make a little php text/image rpg my question is how can I have a life bar that will change in size when damage is dealt without having to refresh the page? do i need to use jquery/ajax/php or is there other ideas? hope that makes sense. thanks Link to comment https://forums.phpfreaks.com/topic/229393-php-rpg-how-can-this-be-done-life-bar/ Share on other sites More sharing options...
Maq Posted March 2, 2011 Share Posted March 2, 2011 Yes you will need to use AJAX. JQuery is just a framework for Javascript which will make your life a lot easier, so I suggest you learn and use it. Check out: http://docs.jquery.com/UI/Progressbar Link to comment https://forums.phpfreaks.com/topic/229393-php-rpg-how-can-this-be-done-life-bar/#findComment-1181937 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.