Jump to content
MakeWebGames

Fireal

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Fireal's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

1

Reputation

  1. Dave, quick question about what you posted. You said you would do a check on page load and adjust accordingly, but how would you go about say adjusting energy for those that haven't logged in a few days. When it comes with handling time and determining how much time has passed and putting it in a way to give energy points is making me rack my brain pretty hard. The issue seems to be getting a difference in total minutes. Perhaps, I'm going about it wrong. What's your input?
  2. Thanks for the response Dave. I was thinking along the same lines but wasn't sure if it was the most ideal approach now these days. Appreciate it! ?
  3. Hey everyone, I've been lurking for a little bit and figured I should probably introduce myself. My name is Mike and I'm an aspiring web game developer. I am currently working on creating a text based browser game from scratch and may chime in from time to time with some issues or progress I am having. Looking forward to meeting everyone. ?
  4. Hey guys, I'm trying to figure out the best way to handle how energy restores for my game. At first I was just going to run a cron every 10 minutes adding 10 energy points to all users. However, that didn't seem right because certain users perform energy depleting actions at different times, and I would want the regeneration to be 10 minutes from their last action. With that said, how would you handle this? Add 10 to a user's energy 10 minutes after they performed their last action. Only thing I can think of is starting to use timestamps in the user tables. By the way I am using PHP/MySQL.
×
×
  • Create New...