On page view updates

C++, C#, Java, PHP, ect...
Post Reply
User avatar
srachit
Posts: 291
Joined: Sat Jan 05, 2013 6:10 pm

On page view updates

Post by srachit »

Hello, can someone please explain to me how the on page view update work?
I want to make an accomplisment system in my game, and currently the best way I can think of is to put an on page view update on my index.php to check if the player has met any achievement when he clicks on it.
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: On page view updates

Post by Jackolantern »

It took me a while to remember the name of the site, but here is the website that, as far as I know, named the "On-View method" (or at least a user there named "Bardic" did). It is also the website who's tutorials popularized this crons alternative in our own community. Anyway, here is the page in the tutorial that outlines the On-View method. I have never tried to implement it into a game unrelated to the rest of that site's tutorial, and am not sure if there would be things missing from it, but you should be able to get the general idea. Of course you can click "Tutorial" in the navigation bar to see other sections of the tutorial as needed :cool:
The indelible lord of tl;dr
User avatar
srachit
Posts: 291
Joined: Sat Jan 05, 2013 6:10 pm

Re: On page view updates

Post by srachit »

Thanks! Will give it a read :)
Post Reply

Return to “Coding”