Jump to content

Recommended Posts

 

Hello

 

  I'm in the process of developing a web-based, massive multiplayer strategy game.  What I'm having a problem is:

 

* User clicks on building X to purchase, which would have a timer of 20-minutes that should countdown until 0 then add this building to users buildings ..

 

Would something like this be possible without the use of cron (which my host doesn't support)

 

Suggestions would be GREATLY appreciated

 

Thanks in advanced

Link to comment
https://forums.phpfreaks.com/topic/85607-solved-countdown-timer/
Share on other sites

 

What is ajax .. I know that sounds dumb but heck if this program

or whatever helps make the development of this game easier then

It'll be worth it .. and the program (or whatever this is) free?

 

A simple countdown timer using a javascript would be easier, a check

of the players funds would be first then if the player has the funds

to purchase the building then if everythings OK, the countdown timer

would run until it reaches 00:00 then the purchase would be complete...

 

This is what we're looking for, or download (or purchase ajax) and use this ...

 

Thanks again

 

Ah sounds grreat.  Currently I'm using basic HTML and php/sql for

the creation of our game.  The countdown timer we're looking for

would be a great feature, each purchase that the user would make

would have a counter attached to it .. even the upgrades would

have a counter attached to it.

 

Thanks

not to say that it cant be done with php/mysql/html, but i would def suggest using flash/actionscript

There's healthy support out there for Flash game developers, and I think it would give you greater freedoms for such an application.

 

Anyway, that's my (probably unhelpful) 2 cents.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.