Nice and simple idea, it's not really a mod but you can do it with purely MySQL or even just from within mccodes. Why not try doing it yourself, the logic would be simple?
- Use a cursor and select the posts older than 14 days
- Add the new inventory item
- Remove the item record from the market
- Notify user
So for 2 week dev someone will get 150? I think you are seriously underestimating that one there and seeing as you have 8300 that is a very low sum of money for 2 weeks
Facebook & Twitter have super rich UIs and have teams of developers working full time. They are not easy to code. Twitter have been pushing out some amazing UX updates recently and they are easy to code?
As for this template, it wouldn't require much work.
Facebook one click login is super simple.
you might run into issues throughout your game if you ignore usernames, it might be difficult. Maybe a mode where the user has a session based account and then they can register and it saves the sessions to the DB
$protection_level = max(floor($ir['exp'] / 10000), 1);
$protection = $protection_level * 0.01;
Not put much thought into it but that would give 1% per protection level (every 10k exp) right?
You do not need to use AJAX. A simple method is to use session based "flash messages". Just a simple example:
In your file that handles the form:
<?php
// handle form stuff here
$_SESSION['FLASH'][] = array('type'=>'success', 'message'=>'Your success message');
?>
& then in your template somewhere you could use this:
<?php
if(count($_SESSION['FLASH'])) {
foreach($_SESSION['FLASH'] as $m) {
echo '<div class="message-'. $m['type'] .'">'. $m['message'] .'</div>';
unset($m);
}
}
?>
I didn't test that code and theres probably a ton of logic errors but it was an example. If you are going to use something like that website wide however i'd suggest you write an API for it. Nothing fancy really.
People today expect really rich user experiences and a simple mccodes game simply does not satisfy that. You need to put in many many hours of work to get a great game and most people simply do not want to put that in
It's really cool but if your making it like a terminal try calling the commands something like: ls, touch, mkdir, rm, nano?
edit don't work for me, i'm not sure why
Why not do it so on jump you set a vertical velocity (-v, up) and decrement it to (+v, down) & in your loop you can just do velocity.y += gravity with gravity being some float.
My idea wasn't tested but I can't see why it won't work. You need to think about the logic of an actual jump and program it that way.
I've made a lot changes to my game since I posted this. Most of the changes are either backend or to some (like push notifications possibly). Have a look!
There hasn't been many massive radical changes to the system, i'm just constantly evolving the platform and it's coming along nicely. I'm not sure when i'll have release date but i'm happy with my progress.
Although i'd vouch for using something more scalable than relational databases, MySQL is a pretty good database engine. I think you are confused somewhat because MySQLi & PDO are just database connectors, if you are worried about performance then choosing PHP isn't a great place to start.