Page 1 of 3

Currently working on the card system

Posted: Fri Sep 13, 2013 3:29 pm
by Pri
Just thought I'd mention it. I'm making good progress too. :D

Re: Currently working on the card system

Posted: Fri Sep 13, 2013 4:58 pm
by NorwegianCraft
Sweet!
(If possible)Can you post some pictures on the progression? :)

Re: Currently working on the card system

Posted: Fri Sep 13, 2013 5:30 pm
by Psico45
Good news then :D

Re: Currently working on the card system

Posted: Fri Sep 13, 2013 5:38 pm
by Pri
Well most of what I've been doing today is in the back end but I can show you this at-least. http://i.imgur.com/g71QzuP.png

I am going to be breaking the cards up in to their rarity and the sections are collapsible just like in our normal shop. Your settings here are saved server side so they are accessible on any computer you're logged in to the shop on.

So far today I finished the browsing systems back end display code. This is what grabs your cards from the database, formats them for viewing and then displays them on the webpage in the arrangement you see above.

The look of the page itself is not final of course it's just basic to test the collapse function I will give it a nicer look nearer completion.

I also finished the database structure for storing and retrieving cards and began entering the cards I made in to the database. I'm almost done with that. I also finished today the card scripting language which I'm calling CSL. This is a system where by the cards themselves instruct my interpretor (Card Scripting Language Interpretor or CSLI) on how to reward you when you redeem a card. So for example when you hit redeem on a healing card the cards metadata is read which contains the reward script and that explains how it heals you in Minecraft code terms and then my CSL interpretor does the actions specified.

I know it sounds complicated (well it is) but this will enable the card system to be fully portable which is important as it means every time I introduce a new card I don't need to change any code in the card system itself that drives everything, I only need to script what needs to occur when you redeem a card in to the cards entry in our database.

So the last main thing I need to begin coding is the way you actually obtain cards in the first place. There is going to be a multitude of ways to get cards, one of which is by completing easter eggs at spawn but we may also sell some cards on the Admin Shop and some other ways to get them as-well. I still need to finish writing all the other stuff but today was pretty productive.

Re: Currently working on the card system

Posted: Fri Sep 13, 2013 5:46 pm
by Stephanie
Panda Card :D?

Re: Currently working on the card system

Posted: Fri Sep 13, 2013 5:47 pm
by Pri
Sure, got any dead panda pictures?

Re: Currently working on the card system

Posted: Fri Sep 13, 2013 5:48 pm
by AdrianL11
Can't wait to see the new system! It's been a long time coming.

Re: Currently working on the card system

Posted: Fri Sep 13, 2013 6:19 pm
by IceDevice
Stephanie wrote:Panda Card :D?
You could make it just for Steph, and it could give you sugarcane renamed bamboo xD

Re: Currently working on the card system

Posted: Fri Sep 13, 2013 8:14 pm
by Skeletonrooster
glad to see you are working on this again :)

Re: Currently working on the card system

Posted: Fri Sep 13, 2013 8:35 pm
by Kles266
What exactly does this do?