-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Achievements #117
Achievements #117
Conversation
If we compared to the first concept idea we had, I forgot:
|
Great work! Thank you! Is this tested, i.e. have you tested it with some new achievements on your local version?
|
Ok, I have already improved everything here.
I will be testing it a little more just in case, but it seems its working. Just let me know if you have any other suggestion. Here you have some images of everything working. My profile with achievement: My profile empty Other member with achievement Other member empty |
Superseded by #125 |
Well, here is the achievements idea finished. It works like this:
Manager-Prufung has been limited to 32 tasks (like we already have). Now we can add more tasks without being displayed in this list.
Achievement works the same way as the tutorial (exactly the same way).
setTaskDone()
to complete the task. Achievements go from id>30.Achievements are displayed on players profile. They are public, so anybody can see them. Under the medals there is a link to the achievements list (
achievements.php
).achievements.php
is a copy ofManager-Prufung
but only medals are displayed. (from id>30). Here you can find a list of the medals you "must" get.Achievements task shouldnt explain how to get the reward but its name. For example:
(the icon is a $ medal)
This way you we set the
setTaskDone()
when the players club gets more than $300m. Hover the mouse over the medal will also display the "task" (We are rich!).Each .png file use the "id task" as its name. Example: 31.png
Each task should have its own level. Easy, Intermediate and Hard. Example:
Note: We are rich! task is a just an ugly example :P
Well I think thats all. You should ask players now for ideas (force them to do something too! :D
Some pictures over here (note: I had to make a new medal since the one we had before was really similar to one in another game):
31.png The numbre under the medal represent the level (easy, intermediate, hard. So it should go from 1 to 3, not 8 as we have here).
DONT MISS THIS TEXT :P
Here is a bad example of task name. It will reveal how to exactly complete the task removing all fun. This picture belongs to the new
achievements.php
file. You will have to add some explanation about "achievements" in the top text and table size fix. While writting this I realize it starts couting from [3].I tried to use as less new code as I could, just to avoid adding bugs. I tested most of it, but since I changed a few things while writting maybe I broke something.