Monday, May 20, 2013

Going to the past: The next PTD2 Story Update and more!

Want to get the Shiny Starters? Shiny Zorua? Shiny legendary dogs? Shiny Mew? or any other shiny pokemon in the game? Adopt them today using SnD coins! Click here for more info.

Visit the PTD: Pokemon Center - a place to trade pokemon, get your Daily Code, adopt Pokemon, view your items and change your avatar!


Welcome to the Sam and Dan Games Developer Blog! Coming back from chaos!

Sam and Dan Games: Fundraiser! Phase 3
Help us keep making games and earn awesome prizes like Shiny Rayquaza and Shiny Heatran!  
Our Goal: $50,000
Raised so far: $7,134.23
Percentage so far: 14.268%
Total Funders so far: 8,603
Last updated: 5/20/13 (2:29 PM EST)

What's New
It has been chaos, to say the least, these past couple of weeks. For the first time in my life I moved out of my parents house and into my own apartment. All of this in preparation for my wedding which is 2 short months from now! Chaos might have been a soft word. With all the moving also came computer problems. I had to take my development computer to be fixed and now my old computer is giving me trouble. I've never had this much trouble before! While I haven't been able to really sit down and work on anything my mind has not stopped thinking about what and who is making all of this possible. You guys and gals are the reason I'm able to push my life into the next stage and I'm able to wake up every day and think about making video games instead of coding something I have no interest in for somebody I don't even really know. Because of that I will give it my all as long as you guys will have me.

I did manage a few things, Cosmoids got a small update, some tweaks on the first level to make it a bit shorter and some massive changes to the tutorials so they are easier to understand and more to the point.

Speaking of Cosmoids...

Designing a game before coding it
The way I make Pokemon Tower Defense is that each week I think about what to work on next and early in the week I will make a plan, write the blog with my plan and then I try to accomplish my plan. In more detail this means I'm making it up as I go. Each week I think about where the story could go. While I have some very basic plans for the overall story, the lines of dialog and the different events that will happen are not planned out months in advance. At the most I will have an idea like having Mewthree win, and then slowly during the week I will think about how this will happen. Same with the battles, ptd1 transfers, new attacks. Having been doing this for a few years now I can see that there are benefits to this method. The main benefit is the speed that you can put things out. There are however some drawbacks to this style. I think an obvious example is the Avatars in PTD1. Your player doesn't have an avatar until later in the game. This is the result of not having time to add it initially but then eventually getting the time and figuring out how to add it in. Going back and adding it to all the previous levels would have been a big undertaking that would have stalled the game updates so I was never willing to do it. At the same thing I think it is odd to add new things as you go and having the old content not take advantage of these things.

So for Cosmoids I want to design the game in advance before I make it. What this means is that I will be coming up with the levels and moves in advance before I actually code them. Then I will see what everything looks like and be able to implements new things into the whole game instead of just adding them as I go. So far I have designed up to level 5. My goal for the game is for it to have about 40ish levels before I consider it complete.

Designing a level doesn't take a very long time but making it interesting, challenging, and fun can be quite a challenge. For Cosmoids we are following a similar formula that PTD1 has. You watch a story scene then you play the level and you watch another story scene. So the first thing you have to think about is where is your story at. What happened in the previous level, in the previous story scene and where do you want the story to go and how will it tie into the next Cosmoids you want to use on the next level. Then you think about what attacks should this new Cosmoid have and how is it different from the others. What kind of different role can it take. Finally using those new attacks you create an idea for how the level itself will play. What will be the challenge on the level. How will you test the player. Will it be a puzzle or the ability to dodge moves. Or will he have to have Cosmoids that have high defense. A lot of thought goes into making each level. So being able to focus on just the design lets you do it quick and it also lets you see the big picture quicker which can hopefully lead to the game feeling more unified.

Going to the past: The next PTD2 Story Update
It's going to be a good one! Mewthree has taken over the world with his massive clones, your friends, family and heroes are about to be captured. Celebi, the time traveling pokemon, shows up and offers you a chance to save the world but you must go to the past to change it! This update will have you going to the past. You will be able to visit the locations that you have already visited but 10 years into the past. In the world you aren't born yet and Silver is still alive! What can do you to stop the events in the future? Only time will tell.

The past will be a different place, while the maps themselves will look the same, you can expect more people to be around, and different house and buildings to be accessible.

You will be able to enter the poke mart and buy items. You will be able to enter the pokemon center and rest until night time, day time or early morning. Essentially giving you control over the time of day. There will be more trainer battles in the Routes.

Another cool feature is that you can travel back to the future! Talking to celebi from your pokepad will allow you to travel back a few moments before Mewthree took over the region, allowing you to replay old battles or talk to people in the future after finding out more about them in the past.

There is a lot of content to be added to make this update possible and I hope you guys enjoy the things I have planned.

Celebi Code Update
The Sponsor said he would have the code for me some time today (Monday)

Weekly Progress

My Status: Not Working. Streaming: http://www.justin.tv/samsndgames

Cosmoids Progress

  • Design Level 6 (0%) - Farmland Pigs vs Chickens
  • Design Level 7 (0%) - Farmland Pigs vs Chickens final battle
PTD2 v1.44 Progress

  • Mystery Gift (0%)
  • Traveling to the past (0%) - Travel 10 years into the past to save the world!
    • New Pokemon (0%)
      • Graphics (0%)
      • Stats (0%)
      • Abilities (100%)
        • Defeatist (100%)
      • Attacks (100%)
        • Close Combat (100%)
      • Add to Trading Center (0%)
      • Add to Breeding Center (0%)
    • New Battles (0%)
      • Trainer Battles (0%)
    • New Story Scenes (0%)
      • Talking to Celebi (100%)
  • The story maps will now show the name of the location that you are in (100%)
  • Trainer Adoptions will now show if the pokemon is hacked in the Adoption Page (100%)
  • Added a Trainer Adoptions link to the Adoption page (100%) - You can easily find the pokemon trainers are putting up for adoption on that page.

Thanks for sticking with us! That's all I have for you this week. As always let me know what you think!

Monday, April 29, 2013

Legendary Transfers, Adopt now Trades, Shadow Moves and more!

Want to get the Shiny Starters? Shiny Zorua? Shiny legendary dogs? Shiny Mew? or any other shiny pokemon in the game? Adopt them today using SnD coins! Click here for more info.

Visit the PTD: Pokemon Center - a place to trade pokemon, get your Daily Code, adopt Pokemon, view your items and change your avatar!

Welcome to the Sam and Dan Games Developer Blog! Making you feel at home, every week!

Sam and Dan Games: Fundraiser! Phase 3
Help us keep making games and earn awesome prizes like Shiny Rayquaza and Shiny Heatran!  
Our Goal: $50,000

No blog post last week
Sometimes the week starts to pass and you haven't written the blog post and before you know it you say okay I'm focusing on making an update rather than write a blog post. That's what happened. But this week it's Monday I have a game plan for the week so I'm here writing the blog post. All rejoice!

Last week's update
The week before I had set out to make the second level for Cosmoids and due to server issues I wasn't able to do that. So I took last week to focus most of my time on making the level. I'm really happy with the results and would love to hear what you guys and gals think so far of Cosmoids. I'm also considering bringing it out to the public so that you can play it even if you haven't contributed to the fundraiser (as easy as that is) so that more people can have access to it and I can get more feedback. What do you guys think of that?

On top of the second level for Cosmoids, I also added Meinfoo and Timburr into the game and they will be distributed as giveaways and mystery gifts for this week.

I also made a lot of adjustments to the server code to speed things up and I'm pretty happy with the results so far. Some people tend to mention that the "new" server is not good. The thing is we never switched servers or got a new server. We are still in the same one, I've been making changes to the way things work to speed things up.

This week's update

New Story Level
This week my focus is to advance the story in PTD2. I'm really excited about this next part and hopefully I will have enough time to make it as good as it can be.

Shadow Moves
I will be adding some shadow moves from Pokemon XD: Gale of Darkness that your shadow pokemon will be able to relearn. Right now I'm not sure how many, who will learn what, and what type of effectiveness the moves will have against other types but I will keep you posted throughout the week.

Mystery Gift and Giveaway
Like most weeks, there will be a Mystery Gift and Giveaway. I've been pondering about giving out both shiny and shadow versions of each on different days as something that I could do. Either way vote on the polls to decide what you will get next.

PTD1 to PTD2 Transfers - Legendary Pokemon Arrive!
A much requested transfer is that of legendary pokemon from PTD 1 to PTD2 and it is finally time! I will be adding Articune, Zapdos, Moltres, Mewtwo and Mew to the transfer list this week!

Adopt Now for Trades
A feature I been wanting to try out for a while is for you guys to be able to put your pokemon up for adoption. Pretty much the way I'm seeing it now is that you can set an SnD coin price to your trade. A player that has SnD coins can either request a trade or straight up adopt your pokemon by paying your SnD price. You receive the coins and the other player receives the pokemon. With everything else that I have for this week I'm not sure if this will make it in time. Also you might be wondering why I don't use daily coins with this. The reason for that is the only way daily coins can exist is if they are hard to get or you can only get them at a certain rate per day. Allowing players to transfer daily coins from one account to another will open all sorts of exploits that I wish to avoid. I think this can be a great feature, what do you think?

Cosmoids
I try to move Cosmoids forward every week. I feel the more I work on it the more I want to keep working on it. I had a lot of fun just focusing on the second level. There are a few things that still need to be tweaked but I'm very excited for the future of the game. As the game becomes more developed over time, we will be talking about it more and more. For now you can play it at the funding rewards page in the PTD2 Trading Center. For this week we are tweaking the character graphic, making changes to level 1 to make it more compact and to the point, I will be figuring out ways to make the tutorial parts more understandable and easier to follow, and start work on level 3.

Weekly Progress

My Status: Not Working. Not Streaming. http://www.justin.tv/samsndgames

Cosmoids Released!
  • New character graphic tweaks (100%) - adding gloves, changing hat style, different side angles
  • Making level 1 more compact and to the point (100%)
  • Added more details to emphasize that you are protecting your house on level 1 (100%)
  • Making tutorials more easier to follow (100%)
Future PTD2 udpate Released!

  • Adopt Now for Trades (100%)
PTD2 v1.43.1 Released!
  • Mystery Gift (100%)
  • New Pokemon (100%) - Tropius, Ferroseed, Ferrothorn
    • Graphics (100%)
    • Stats (100%)
    • New Abilities (100%)
      • Iron Barbs (100%)
      • Harvest (100%)
    • New Attacks (100%)
      • Ingrain (100%)
    • Evolutions (100%)
    • Add to Trading Center (100%)
    • Add to Breeding Center (100%)
    PTD2 v1.43 Released!
    • PTD1 to PTD2 Transfers (100%) - Legendary Pokemon!
    • New Story Level (100%) - Gary makes a discovery, but is it too late?
      • Intro Scene (100%)
      • Battle (100%)
        • Battle Layout (100%)
        • Battle Wave (100%)
        • Battle Attacks (100%)
          • Target Takedown (100%)
          • Return to Pokeballs (100%)
          • Target Bomb (100%)
      • Ending Dialog (100%)
    • New Pokemon (100%) - , Articuno, Zapdos, Moltres, Mewtwo, and Mew
      • Graphics (100%)
      • Stats (100%)
      • New Abilities (100%)
      • New Attacks (100%)
        • Ice Shard (100%)
        • Mind Reader (100%) - Now last for 10 charges
        • Psych Up (100%)
        • Reflect Type (100%)
      • Add to Trading Center (100%)
    • Shadow Moves (100%) - More will be added in the future
      • Shadow Blitz (100%)
      • Shadow Wave (100%)
    • Bug Fixes (100%)
      • Shadow Unown will now stay as Shadow when you save (100%) - If you previously caught one you must catch a new one.
    Thanks for visiting! As always let me know what you think! Comments below or Twitter or at support@sndgames.com (both Dan and I read that email) Thanks!

    Tuesday, April 16, 2013

    Coming back from a bad week, more PTD1 to PTD2 transfers, Sun Stone, Level 2 of Cosmoids!

    Want to get the Shiny Starters? Shiny Zorua? Shiny legendary dogs? Shiny Mew? or any other shiny pokemon in the game? Adopt them today using SnD coins! Click here for more info.

    Visit the PTD: Pokemon Center - a place to trade pokemon, get your Daily Code, adopt Pokemon, view your items and change your avatar!

    Welcome to the Sam and Dan Games Developer Blog! Where we work non stop to keep you entertained!

    Sam and Dan Games: Fundraiser! Phase 3
    Help us keep making games and earn awesome prizes like Shiny Rayquaza and Shiny Heatran!  
    Our Goal: $50,000

    Last Week's Update/Server Issues
    We had a crazy week last week, both in a good and bad way. Let's start with the bad. So instead of telling you the story how it unfolded I will just tell you what the problem was and how it caused all the issues that we had. Okay. So Databases need indexes. Imagine you have a giant book and it has no index. How would you find that page you are looking for without having to go through the whole book? You can't! So I had a tiny database (the one that keeps track of what events you had done in the story) that was missing an index. Initially the database was so small that it didn't matter. But as the game grew in size and in users this database grew. It has over 2 million entries and so every day as the database grew so did the slowdown. It got so slow that our host suspended our account. I told them to put it back up so I could disable all logins while I fixed the problem. I was really conflicted about all this. I'm no expert on databases or server administration so I had very little idea on where to start. Luckily I had bought this book called High Performance MySQL: Optimization, Backups, and Replication. While I didn't have the time to read the whole book or follow everything it had to say, it did give me some ideas on trying to find the problem and how to fix it. After doing some test to see how long each thing took to load I found that loading events was taking way too long even when I was the only user playing the game, which brought the discovery of the missing index on that database. Other than that I made some upgrades to the database engines (I changed from mysam to innodb, for those with database knowledge) that should let more people in at a time. There might be some side effects to these changes that I will have to fix but I'm pretty happy that we are somewhat back to working order.

    The good stuff is the new content that I was able to bring to the game. I finally put in running shoes into the game which let you move at twice the speed. (Your pokemon will also move fast, I did have a version where your pokemon wasn't as fast and he would be left behind) You can get the shoes by talking to an old man in Cherrygrove City after you defeat Zapdos there. Another big and daunting task that I had was to add fishing. I actually go the chance to stream while I was making the fishing part and frankly I had no idea how I was going to add fishing. Luckily I'm pretty quick at thinking about how to solve problems and so I thought of a way to add it in and it worked out pretty well. You can now get an old rod or good rod by defeating the fisher man on the second part of Route 32 (Read the FAQ page for more detailed info). Once you have a rod you can go to any water source available in the game and fish on it (press spacebar or z) this will trigger a battle. Things like which rod you are using, which location you are in, time of day will affect who you get to battle with. I basically set it up to mimic the actual game. I'm really happy with how it turned out so I hope you guys can enjoy it.

    On top of all of this I added all the generation 1 pokemon that you can capture in PTD2 to the PTD1 to PTD2 transfers. This includes: Jigglypuff, Wigglypuff, Zubat, Golbat, Bellsprout, Weepinbell, Victreebell, Geodude, Graveler, Golem, Gastly, Haunter, Gengar, Poliwag, Poliwrath, Krabby, Kingler, Staryu and Starmie. As I do every week there was also a Mystery Gift and a Giveaway pokemon. The Mystery Gift was electric ghost type Rotom and the giveaway was Plusle and Minun. If you got the code in time you would get 2 of each Plusle and Minun. One male and one female.

    Last but not least Cosmoids had a nice update. I added more losing conditions, if you let enough bug creatures pass you will lose the level. You can tell how many lives you have left by the heart graphic on the top left. Evan, one of our freelance artist, also did a revision on the grass graphic for the first level. While I thought the original ones looked fine, Dan thought they needed more work. And so Evan did the job and they look great! The other thing I added was a fainting animation to the units. Instead of disappearing you will now see them flip on their backs and then flash before they disappear. These types of details go a long way in making a game. Each of them bringing us closer to a full game.

    What's happening this week:

    Pokemon Center Bugs
    I need detailed information about the Pokemon Center Bugs with Breeding, Trading and Picking up pokemon. The more step by step information you can give me the better.

    Mystery Gift
    Like every week we will have a mystery gift and a giveaway for the runner up of the poll. You have one day to vote for which of the remaining types should be the new mystery gift. Then I will post specific pokemon that can be the mystery gift and giveaway.

    PTD1 to PTD2 Transfers
    My goal this week is to add a lot of Generation 1 Pokemon into PTD2. So this week I plan to add: Vulpix, Ninetails, Oddish, Gloom, Vileplume, Paras, Parasect, Venonat, Venomoth, Diglett, Dugtrio, Meowth, Persian, Psyduck, Golduck, Mankey, Primeape, Growlithe, Arcanine, Abra, Kadabra, Alakazam, Machop, Machoke, and Machamp. Adding these will make it so that you can get more than half of the Generation 1 Pokemon into PTD2!

    Sun Stone
    Since we are adding the Oddish family and Bellossom is part of Generation 2 then I'm also adding the Sun Stone so that Gloom can evolve into Bellossom!

    Cosmoids Level Select Screen and Level 2
    For Cosmoids this week I want to start work on Level 2. I really want each level to feel different than the others so each level will take some time to create. On level 2 is when you finally get your first creature, but please note that you won't be able to save just yet. Since we will have multiple levels we also need a level select screen. Very similar to PTD1 there will be different chapters. I'm looking forward to making this!

    Weekly Progress

    My Status: Not Working. Not Streaming. http://www.justin.tv/samsndgames

    Cosmoids Released!

    • Level Selection Screen (100%)
    • Added new Title Screen Graphic (100%)
    • Added new Character Graphic (100%)
    • Level 2 (100%)
    • Added the level 1 intro cutscene (100%)
    PTD2 v1.42.1 Released!
    • Mystery Gift (100%)
    • Make Bellossom's graphic bigger (100%)
    PTD2 v1.42 Released!
    • PTD1 to PTD2 Transfer (100%)
    • Add New Pokemon to Trading Center (100%)
    • Add New Pokemon to Breeding Center (100%)
    • New Item (100%) - Sun Stone
      • Implement in game (100%)
      • Implement in Pokemon Center (100%)
    • Test New Pokemon, attacks, and abilities (100%)
    • New Pokemon (100%) - Vulpix, Ninetails, Oddish, Gloom, Vileplume, Bellossom, Paras, Parasect, Venonat, Venomoth, Diglett, Dugtrio, Meowth, Persian, Psyduck, Golduck, Mankey, Primeape, Growlithe, Arcanine, Abra, Kadabra, Alakazam, Machop, Machoke, and Machamp
      • Graphics (100%)
      • New Attacks (100%)
        • Sunny Day (100%)
        • Moonlight (100%)
        • Aromatherapy (100%)
        • Spore (100%)
        • Signal Beam (100%)
        • Earth Power (100%)
        • Tri Attack (100%)
        • Fake Out (100%)
        • Pay Day (100%)
        • Switcheroo (100%)
        • Power Gem (100%)
        • Soak (100%)
        • Covet (100%)
        • Karate Chop (100%)
        • Seismic Toss (100%)
        • Kinesis (100%)
        • Miracle Eye (100%)
        • Ally Switch (100%)
        • Telekinesis (100%)
        • Vital Throw (100%)
        • Low Sweep (100%)
      • New Abilities (100%)
        • Drought (100%)
        • Stench (100%)
        • Effect Spore (100%)
        • Wonder Skin (100%)
        • Anger Point (100%)
        • Defiant (100%)
        • Marvel Scale (100%)
        • Water Veil (100%)
      • Stats (100%)
      • Evolutions (100%)
    • Bug Fixes (100%) 
      • Fixed a bug with stat change buffs and debuffs (100%)
    Thanks guys for sticking with us! As always let me know what you think on the comments below, on twitter or email us at support@sndgames.com Thanks!