Browser MMO Video #18
Re: Video #18
I have an idea you go to a link where a text bar and where you can type in anything but my idea is to make a cheat bar to make you type a cheat and you get a weapon or something not it wil be cool
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video #18
well some scripts are php 4 or older so you have to update them. I use scripts very very rarely.
Re: Video #18
Hello
First off i must send a tremendous thanks to this board.
Ive been folowing the vidoes and have found them very easy to understand and the workflow has been great.
I have dabbled with making gaes for a long time its a hobby of mine and ive just recently stepped into the bbg area.
This being said ive appreciated the info on php programming im curious about its limitations.
Ive been trying to find a way to add a coundown counter to the game for example you enter the in and it takes 2hours for you to reach max hitpoints i would like to add a counter counting down to full hitpoints.
in browsing the web it looks as if this can only be done with java script , ajax or flash if this is so could the tutorial step into adding something like this or if this can be done in php id love to see an example
Thank you
Wylde
First off i must send a tremendous thanks to this board.
Ive been folowing the vidoes and have found them very easy to understand and the workflow has been great.
I have dabbled with making gaes for a long time its a hobby of mine and ive just recently stepped into the bbg area.
This being said ive appreciated the info on php programming im curious about its limitations.
Ive been trying to find a way to add a coundown counter to the game for example you enter the in and it takes 2hours for you to reach max hitpoints i would like to add a counter counting down to full hitpoints.
in browsing the web it looks as if this can only be done with java script , ajax or flash if this is so could the tutorial step into adding something like this or if this can be done in php id love to see an example
Thank you
Wylde
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Video #18
No, it can't be done in PHP alone. PHP is a server-side language, so it will only send data to the player (such as where the timer is currently at) when they request it by clicking something, or some other action. PHP cannot animate things in the browser such as a digital-clock-like counter. However, you could do it in AJAX.
The indelible lord of tl;dr
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video #18
i have a lot of people ask for a timer example so if you can give me until tomorrow I will post an example using javascript.
Re: Video #18
"tomorrow"rowinboc wrote:when is the next vid coming?

Dark Helmet: What happened to then?
Colonel Sandurz: We passed then.
Dark Helmet: When?
Colonel Sandurz: Just now. We're at now now.
Dark Helmet: Go back to then.
Colonel Sandurz: When?
Dark Helmet: Now.
Colonel Sandurz: Now?
Dark Helmet: Now.
Colonel Sandurz: I can't.
Dark Helmet: Why?
Colonel Sandurz: We missed it.
Dark Helmet: When?
Colonel Sandurz: Just now.
Dark Helmet: When will then be now?
Colonel Sandurz: Soon.
Dark Helmet: How soon?
Re: Video #18
lmfao :lol;OldRod wrote:"tomorrow"rowinboc wrote:when is the next vid coming?
Dark Helmet: What happened to then?
Colonel Sandurz: We passed then.
Dark Helmet: When?
Colonel Sandurz: Just now. We're at now now.
Dark Helmet: Go back to then.
Colonel Sandurz: When?
Dark Helmet: Now.
Colonel Sandurz: Now?
Dark Helmet: Now.
Colonel Sandurz: I can't.
Dark Helmet: Why?
Colonel Sandurz: We missed it.
Dark Helmet: When?
Colonel Sandurz: Just now.
Dark Helmet: When will then be now?
Colonel Sandurz: Soon.
Dark Helmet: How soon?
Coding-PHP, Javascript, C++, HTML, mySQL
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
-
- Posts: 62
- Joined: Tue Nov 24, 2009 11:09 pm
Re: Video #18
Just made it to the end and just to say thanks to everyone I've really enjoyed it and hopefully ill be able to expand from the base I have been given, also just wondering will there be any more videos?