Next-Generation Casual Entertainment

Cache | Unify Wiki

Cache | Unify Wiki

2011-Dec-31

Redcool007: Created page with "<p>The problem is when use WWW,if cached AssetBundle is exist, and you want load twice,unity will throw error. then can use this solution, if you like. </p> <b>AssetBundleDictio..."


<p>The problem is when use WWW,if cached AssetBundle is exist, and you want load twice,unity will throw error.
then can use this solution, if you like.
</p>

<b>AssetBundleDictionary</b> manage the cache resource.<br/>
<pre>
#pragma strict
import System.Collections.Generic;
//////////////////////////////////////////////////////
///工程,下载的资源管理
///AssetBundle字典.
///url为key,value:AssetBundle
//////////////////////////////////////////////////////

class AssetBundleDictionary{
/**资源字典.*/
private static var dict:Dictionary.<String,AssetBundle> = new Dictionary.<String,AssetBundle>();

static function Add(url:String,go:AssetBundle){
Remove(url);
dict.Add(url,go);
}

static function Remove(url:String){
if(Contains(url)){
dict[url].Unload(true);
dict.Remove(url);
}
}

static function Clear(){
dict.Clear();
}
/**
根据key获取一个AssetBundle
*/
static function Get(url:String):AssetBundle{
return dict[url];
}
/**
从 字典中获取 mainAsset
*/
static function GetMainAsset(url:String):Object{
if(Contains(url)){
return dict[url].mainAsset;
}
return null;
}
/**
字典中是否包含key
*/
static function Contains(url:String):boolean{
return dict.ContainsKey(url);
}
}
</pre>
<b>2 LoadComponent</b> , manage loading.

<pre>
#pragma strict
//////////////////////////////////////////////////////
///一个下载组件,下载时附加到GameObject
//////////////////////////////////////////////////////
/** www */
var www:WWW;
/** loading function */
var progressFun:Function;

/**
载入素材
@param url
@param version,为-1时,不从缓存载入.
@param onOk : function(prefab:Game):void
*/
function Load(url:String,version:int,onOk:Function){
if(version == -1){
www = WWW(url);
}else{
AssetBundleDictionary.Remove(url);
www = WWW.LoadFromCacheOrDownload(url,version);
}
yield WaitForLoading();
AssetBundleDictionary.Add(url, www.assetBundle);
onOk(AssetBundleDictionary.GetMainAsset(url));
}
/**载入文本.*/
function LoadText(url:String,onOk:Function){
www = WWW(url);
yield WaitForLoading();
onOk(www.text);
}

/**等待完成.*/
private function WaitForLoading(){
while(! www.isDone){
if(www.error){
Debug.Log(www.error);
break;
}
if(progressFun)
progressFun(www.progress);
yield;
}
}
</pre>

Dark Parables: Rise of the Snow Queen | BigFish

Dark Parables: Rise of the Snow Queen | BigFish

2011-Dec-31

Journey into the mythical Snowfall Kingdom and investigate the disappearance of children in Dark Parables: Rise of the Snow Queen! From the ashes of the snow, the legendary Snow Queen rises and terrorizes nearby villages with her supernatural powers. Rescue the missing children and stop the fabled Snow Queen before her sorrow brings upon the destruction of the world in this incredible Hidden Object Puzzle Adventure game!

Here’s what I have been baking for the last year | GPN

Here’s what I have been baking for the last year | GPN

2011-Dec-30

Have you ever played board/party games such as Mafia/Werewolf? Or Battlestar Galactica? Have you played and liked especially the traitor aspect of these games?

If you answered yes for both, then you might wanna read further. If you wanna hear know more about traitor mechanism and cooperative card game then read further.

Introduction
I’ve been working somewhat under the radar for well over a year now. I’ve been doing a card game, not a video game, but a card game. I have kept the possibility of offering also downloadable version, but my first priority has been to create a game that can be played on your kitchen table, with real friends.

Not on your computer, with virtual buddies.

And I now can say that the game is in such shape, that I’m willing to share some more information about it. After 3 very big revisions, I’ve now get all bits and pieces of the game together, and it plays good. I’m proud of the stuff I’ve done.

So, let’s get into the the (zombie) meat of the game: traitor mechanism

Crappy “hd quality” ipod touch camera pic – yes, I’m hunting a better device – but perhaps you’ll see something in that picture

The Infected card game is a game for 1-4 players, and in case there’s 2 or more players, a traitor mechanism is used. Traitor in this game is of course the infected. The chap who got bitten, brain melting, but who is not quite a zombie yet. Only slowly transforming into one, while sabotaging the human players.

And this happens secretly.

For example, in a 3 player game, each player receives a blood sample card which determines whether the player is carrying a nasty zombie virus or if he is clean. During the game, the humans try make a successful escape and figure out who the infected is. It’s not going to be easy.

And while the game is going, the infected tries to sabotage the game.

The meat of the game is to have healthy amount of suspicion, paranoia and backstabbing. All that good game can offer.

Here’ll be zombies

I hate my ipod touch camera. Don’t ever think it’s any good.

In the game, there will be zombie threats that players need to handle. Mechanicswise, it is relatively simple: draw new zombie cards until you draw a smaller valued card than the previous one. Between card drawing, players get to do actions.

It’s pretty simple, but there’s plenty of things to do, and good amount of decisions to be made. All action happens simultaneously, so game scales well whether there’s 1 or 4 players.

And then there’s the items

Apple should have sticker “VHS quality” near the “take HD pics” in their ads

The game has plenty of items. Chainsaws, molotov cocktails, crowbars, revolvers, shotguns… you name it. And plenty is getting used. During threats, player decide to play number of item cards and try to reach equal or greater sum than the zombie threat cards. Each item can be equipped, and then players have access to the item specialties. Different items work better in different situations. For example, Flashlight does not give much bonuses, but is good against several different threat cards. Chainsaw is powerful against threats, but can also be used to receive more item cards for the whole group.

Then there’s also few more things
There’s 7 different characters, with different specialties. There’s also “major threats” which will affect the difficulty. There’s some additional variants, such as “total co-op” mode where there’s no traitor at all. There’s advanced game variant which makes the game slightly more difficult to play (for humans), for groups that have beaten the basic game.

Design philosophy
I’ve strived to have as simple rules as possible (and turn summary – which is practically major part of the game – can fit to about one page of rules), and I’ve tried to keep the mechanism simple. The rules are easy to remember, and since cards provide different choises, there’s stuff to consider. For example, item cards can be played in a threat, they can be discarded to take other actions, they can be equipped, or used as a buffer against threats in case you need to discard them.

I’ve also tried to provide meaningful tactics for the traitor. Here’s some strategies:

  • He can secretly lose a challenge (there’s no need to show cards) which prevents gaining more cards
  • He can hog certain rare cards (such as “vest”) and prevent others from getting enough resources for successful escape
  • When it’s his turn to lead, he can select nasty zombie encounter and secretly discard the easy encounter

And some more. There’s several different ways to sabotage… but of course if he sabotages too much others might get too suspicious and get rid of him.

When it’s available?
When it’s shiny and polished.

I’ve gone through 3 major revisions. The first version was way too luck based, where traitor could affect nothing. Second was not much better. It wasn’t until the third big revision that really nailed it all. The 3rd generation is the one that I’ve been working on for some time now, adding things here and there. Testing. Adding more things. And testing some more.

3rd version also got totally new graphics (from “realistic blood” to “cartoony”), which makes the game so much more fun to playtest.

The co-op version works great, and scales well. I need to get healthy amount of traitor mode testing done, and then we’ll see. The game is currently – as I see it – in “polish shiny” phase. I will playtest, playtest, playtest it, and make some minor tweaks here and there. Maybe I change number of item cards, or change some zombie encounter, or tweak character special abilities a bit. It’s mainly testing & balancing now.

I’m right now freezing features and “new items”, and those go into my “ideas for expansions” list.

So…. when it’s available?
When I consider game done, it’s my plan to do the following steps:

  • Get the game to a publisher (I’m putting my full effort to get z-man games interested)
  • Possibly do a small pre-order based self-print for those interested (since Z-Man way will take quite a bit before there’s even glimpse of hope seeing the game published)

This will take time for sure. My goal is to nail the game – finish it – “in the nearly future”*, and then it totally depends on the publishing process. This is my first physical card game, so I’m almost complete n00b when it comes to that.

We’ll see. Meanwhile, check Infected card game website – there’s links to rulebook, and other stuff is going to appear there too at some point*

*valve time

Psst… if you are interested in ordering the game…
…I don’t mind if you mention that in a comment to this blog post.

Here’ll be Minecrafter traffic: fhriesoxpcdsuhwwnjrdchjdisowiquhfrdcsa | GPN

Here’ll be Minecrafter traffic: fhriesoxpcdsuhwwnjrdchjdisowiquhfrdcsa | GPN

2011-Dec-30

What is this shenanigan?

It’s about this:

And then search engines find the stuff.

And then you get traffic.

This stuff works also other than words like “fhriesoxpcdsuhwwnjrdchjdisowiquhfrdcsa” you know…

2011 round-up: DRM | Edge

2011 round-up: DRM | Edge

2011-Dec-30

Ubisoft and Capcom get it wrong, GOG and Avalanche get it right and Serious Sam's scorpion shows the way.

The year began on a hopeful note, with Ubisoft seemingly relaxing its DRM policy. Eagle-eyed Redditors noticed that older Ubisoft PC titles, including Assassin's Creed II and Splinter Cell: Conviction, were suddenly playable without a connection to the internet. The publisher subsequently confirmed that it had patched out its DRM from some older titles, with its future implementation to be decided on a case-by-case basis.

0

read more

2011 round-up: government | Edge

2011 round-up: government | Edge

2011-Dec-30

Keith Vaz's unique take on Modern Warfare 3, Livingstone-Hope's computer science revolution and TIGA's calls for tax breaks.

In January, Gamers' Voice, the UK pressure group set up by Labour MP Tom Watson, held the first-ever Parliamentary Games Day, in which it invited MPs from all three main UK political parties to a lunchtime videogame session in the House Of Commons. Corridors of power-ups, if you will.

0

read more

Shadow Wolf Mysteries: Bane of the Family Collector’s Edition | BigFish

Shadow Wolf Mysteries: Bane of the Family Collector’s Edition | BigFish

2011-Dec-30

Return to the De la Fer estate to help the count unravel the curse that has been passed down through his family in Shadow Wolf Mysteries: Bane of the Family! Tackle this challenging Hidden Object Puzzle Adventure game and track down an all new werewolf that is wreaking havoc on the town. Can you break the curse and save the family? Take on Shadow Wolf Mysteries: Bane of the Family and find out today! This is a special Collector's Edition release full of exclusive extras you won’t find in the standard version. As a bonus, Collector's Edition purchases count toward three stamps on your Monthly Game Club Punch Card! The Collector’s Edition includes:

What I didn’t do in year 2011 | GPN

What I didn’t do in year 2011 | GPN

2011-Dec-29

About a year ago, I promised several things that I shall NOT do. Here’s how things went:

  • BAD GOAL: “no email on my main computer”. I still email on my main computer, it’s just convenient. It’s convenient for certain purposes. The good thing is I’ve used mobile devices to clean my email, so I consider this to be success. Goal itself was bit bad.
  • SUCCESS: “no twitter on my main computer”. I have tweeted a few times, but 97% of the tweets are used mobile devices. That’s success for me and will keep it this way.
  • SEMI-FAIL: “”no (too much) NHL11″ was my goal. What can I say. I bought NHL ’12… I think I didn’t waste too much time, and we had some good online gaming with my bro so it’s pretty ok. Less next year.
  • SUCCESS: “ad sales hunting”.: I stopped this. I did accept some ad offers when people contacted me, which is fine. Will keep this way.
  • SEMI-SUCCESS SEMI-BAD-GOAL: “no distraction”.. I think I managed to say “no” to many things, and recently started GTD stuff has been a blessing for especially all non gaming stuff.
  • SUCCESS: “no clutter in email” Email has been zero. I mainly Inbox or Archive, or Trash stuff. I did have zero inbox for the whole year. That is a great feeling.
  • FAIL: “no more new Insider members accepted” – I did change the whole gamerelease.net thing (added forums on that domain, added twitter and other stuff), and there’s new members too.
  • SEMI-FAIL, SEMI-SUCCESS: “focus in making game, having fun, generating the green stuff”. To get green stuff, I have had to do other than gaming stuff. I have had fun making card game, which is now in Tweak state. I’m not focusing on green stuff no more. It’s funny, but somehow those software pirates have taught me that “greating fun games for people” (and to myself to enjoy) should be the goal. I think that indeed is the biggest thing one can aim for. That’s where I’m aiming as well.
  • SUCCESS: “no wockas if being parent requires time”. It sure does. Bye bye free time, but welcome great time. This soft talk is what only parents can understand.
  • DUNNO: “no too fast conclusions”. I think I draw too fast conclusions, but maybe drew less fast conclusions last year. (Hmm, or do I draw a too fast conclusion here? I dunno)

Since I have one young kid and second one coming, I had seriously need to re-think my resources. My main goal was to get rid of stuff this year, and ensure there’s room for game development. I think that was achieved pretty well, and I’m pretty satisfied how this year has been.

2011 round-up: development | Edge

2011 round-up: development | Edge

2011-Dec-29

The demise of LA Noire dev Team Bondi was emblematic of a year filled with closures and complaints of crunch.

Closures

0

read more

2011 round-up: indies | Edge

2011 round-up: indies | Edge

2011-Dec-29

Minecraft's stunning success, bundle overload and other highlights from the year in independent development.

Minecraft

0

read more

Shattered Minds: Masquerade | BigFish

Shattered Minds: Masquerade | BigFish

2011-Dec-29

Stop the villainous Visage from ruining Mardi Gras in Shattered Minds: Masquerade, an incredible Hidden Object Puzzle Adventure game! Visage has unleashed a fog that has wiped away the faces of everyone in town. As Visage wreaks havoc on New Orleans, the Boudreaux family, who were thought to be long dead when their mansion burned down, has returned to take revenge on the town. Learn the dark secret of Visage and the Boudreaux family and stop them once and for all.

2011 round-up: EA and Activision | Edge

2011 round-up: EA and Activision | Edge

2011-Dec-28

Our look back on a year in which EA aggressively expanded into digital while Activision went all-in on Call Of Duty.

Electronic Arts

0

read more

2011 round-up: mobile | Edge

2011 round-up: mobile | Edge

2011-Dec-28

Android gains market share, Microsoft struggles and Apple loses its talismanic CEO - our review of the year in smartphones.

iOS

0

read more

Vampires Vs Zombies | BigFish

Vampires Vs Zombies | BigFish

2011-Dec-28

Control vampire forces to fight back a zombie invasion in Vampires vs. Zombies, a zany Time Management game! As drooling zombies descend on Transylvania in the hopes of munching on vampire brains, you must rally the forces of darkness to create the weapons you'll need to repel the attack. The stakes will be high as you harvest goods, sell them, and use your profits to produce implements of battle, but the Count believes in you!

Monument Builder: Eiffel Tower | BigFish

Monument Builder: Eiffel Tower | BigFish

2011-Dec-28

Travel through time and witness a historic construction in Monument Builders: Eiffel Tower, an amazing Time Management game! Travel through the streets of 19th century Paris and visit the incredible construction site of the famous Eiffel Tower. Improve the surrounding neighborhoods for the world expo, provide parts to the construction site, develop the local economy, and improve the roads so it’s easier to transport materials in Monument Builders: Eiffel Tower!

2011 round-up: PC | Edge

2011 round-up: PC | Edge

2011-Dec-27

From Dust was just one of many games delayed in a year that sorely tested PC gamers' patience.

Short Shrift

PC players are gaming's great investors. They outspend their console brethren on regular, iterative hardware upgrades, and put in the hours tweaking settings and downloading large files rather than popping to the shops and returning with a disc. In 2011, PC gamers' patience was stretched to limit with delay after delay to some of the year's biggest games.

0

read more

2011 round-up: Nintendo | Edge

2011 round-up: Nintendo | Edge

2011-Dec-27

Wii's swan-song, its successor's unveiling and the fall and rise of 3DS.

Wii and Wii U

0

read more

World Mosaics 5 | BigFish

World Mosaics 5 | BigFish

2011-Dec-27

After restoring the Atlantis World Museum you have been accepted into the Grand Pelasgian University to become an apprentice in Chronology in World Mosaics 5! Solve pictographic puzzles while learning about the origins of Mardi Gras, Oktoberfest, Chinese New Year, and other world holidays as you progress throughout your classes. Complete your courses and solve the puzzles to succeed in World Mosaics 5!

2011 round-up: reviews | Edge

2011 round-up: reviews | Edge

2011-Dec-26

The year of the shooter.

Shooters

Despite the boundaries between genres becoming increasingly blurred, if 2011 belonged to any one strand of gaming, it was the shooter.

read more

2011 round-up: PlayStation | Edge

2011 round-up: PlayStation | Edge

2011-Dec-26

The year ended well with Vita's release, but Sony's 2011 was defined by the PS3 and PSN hacks.

PlayStation 3

0

read more

2011 round-up: Xbox 360 | Edge

2011 round-up: Xbox 360 | Edge

2011-Dec-26

Kinect, the next generation and Indie Game frustration - Microsoft's year in videogame news.

Kinect

0

read more

Brink of Consciousness: Dorian Gray Syndrome Collector’s Edition | BigFish

Brink of Consciousness: Dorian Gray Syndrome Collector’s Edition | BigFish

2011-Dec-26

Help Sam Wilde rescue his love Anna in Brink of Consciousness: Dorian Gray Syndrome, an incredible Hidden Object Puzzle Adventure game! Sam’s every move is being tracked so he has to be extra careful. Putting his journalistic talents to the test, Sam must find the maniac who has kidnapped Anna, and stop him before it’s too late. Explore gorgeous locations and solve tricky puzzles in Brink of Consciousness: Dorian Gray Syndrome! This is a special Collector's Edition release full of exclusive extras you won’t find in the standard version. As a bonus, Collector's Edition purchases count toward three stamps on your Monthly Game Club Punch Card! The Collector’s Edition includes:

Dear pirates, this is how you stop evil media corporations | GPN

Dear pirates, this is how you stop evil media corporations | GPN

2011-Dec-26

Instead of sharing their crap, just like you know… do the following:

  1. Stop buying (if it’s crap, why buy it?)
  2. Stop consuming (if it’s crap, why share it in the first place?)
  3. Stop sharing it (if it’s crap, why share it?)

And if it’s good, then why not buy it and show support for doing good stuff?

(And if it’s not “convenient to get”, then why not (a) first pirate it and (b) then buy a copy anyway?)

Dear governments, this is how you stop pirates | GPN

Dear governments, this is how you stop pirates | GPN

2011-Dec-25

Trying to censor torrent sites leads to censoring google as well. It’s like saying “you cannot deal drugs in this building, so drug dealers, move to the next building please”. So, let’s all agree this path won’t work.

So, members of government, this is how you stop the dealers.

  1. First, setup a huge torrent sharing site, operated by secret gov agency. Register PiratePartyBay domain or something like that. Tell that you support all pirate parties around the world. (Also, open some sort of “free proxy” system, but don’t tell it’s operated by you)
  2. Second, make huge ad campaign: plaster ads everywhere: tv, radio, google, etc. All possible places to get visitors to your site.
  3. Third: Make sure your visitors register at your site.
  4. Four: make fake lawsuits against your own company, telling how “Big Media Corporation” is suing you. Gain publicity for 2 years.
  5. Five: track which files people have shared, mark dates, IPs, etc. to you.
  6. Six: Using available data to track down where the chaps are located. Half of the folks have figured out privacy stuff which makes it impossible to know where they are located, but half of the pirates don’t do that. Get court order for operators to help tracking.
  7. Seven: Arrest half of your country’s population and put them in prison. Including some of the cops who do the arrest.

And, to get the rest of the country’s population in jail, do the following:

  1. Setup a “rat the pirate” program, which gives $150 reward for each person who rats about their friend who is sharing illegal stuff. The remaining pirates will rat about their friends faster than you can say “parrot on my shoulder”.

P.S. Tomorrow morning I’m telling how pirates can stop evil media corporations

Shaolin Mystery: Revenge of the Terracotta Warriors | BigFish

Shaolin Mystery: Revenge of the Terracotta Warriors | BigFish

2011-Dec-25

Save your people from an invading force in Shaolin Mystery: Revenge of the Terracotta Warriors! Travel dangerous mountain roads, visit Shaolin temples, free a mighty dragon, and save your village in this exciting Hidden Object game! Find useful items as you search beautiful locations and explore ancient China. Will you work quickly enough to stop the Terracotta Warriors? Find out in Shaolin Mystery: Terracotta Warriors!

News round-up December 19 – 23 | Edge

News round-up December 19 – 23  | Edge

2011-Dec-24

Vita launches, Nintendo boosts its artistic credentials and dragons steal Christmas - a week in videogames.

Monday

0

read more

Happy holidays from GamesIndustry.biz

Happy holidays from GamesIndustry.biz

2011-Dec-24

As you can tell, we're all done for the Christmas holidays at GamesIndustry.biz. It's been a busy year on the site, with the departure of some staff and the arrival of new team members Rachel Weber and Matthew Handrahan, alongside the promotion of Dan Pearson. We're all tucked up in various parts of the UK, supping a well-deserved eggnog.

It's a cliché to say 2012 is going to be a big year, but it really is. We're going to be making huge changes to GamesIndustry.biz from the ground up as we strive to make the site the best destination for the video game business community. You may have noticed we've been trying out a new set of features this year and increased video and audio content - that's nothing to what we're currently planning.

I would like to thank everyone who visits the site and supports the team. We get a lot of feedback and I can assure you it's all taken on board whether good or bad. If you've clicked a link, sent an email or said a kind word, you're helping to make the site better.

Read more...

Haunted Manor: Queen of Death | BigFish

Haunted Manor: Queen of Death | BigFish

2011-Dec-24

Dive into Haunted Manor: Queen of Death and save your sister before it’s too late! Find a powerful amulet to stop an ancient evil in this amazing Hidden Object Puzzle Adventure game. After receiving a mysterious letter, you return home to find that your family has been murdered. The only survivor is your sister, Stella, who now needs you to save her! Concoct a powerful elixir to save Stella and then confront the Queen of Death!

Merry zombie xmas calendar, last doors available to open | GPN

Merry zombie xmas calendar, last doors available to open | GPN

2011-Dec-23

Now the final doors 22, 23, and 24 are available to check out.

Merry xmas folks.

Merry Christmas! | Edge

Merry Christmas! | Edge

2011-Dec-23

We're heading home for the holidays, but there will still be plenty to read over the festive period.

We're signing off for the Christmas break today, so this will be the last main post of 2011.

However, we've made sure that there will be plenty for you to read over the festive period in between mince pies and sherry.

Expect to see round-ups of the year's biggest reviews and most important events over the next week, including our looks at Sony, Nintendo and Microsoft's years, mobile, free-to-play, politics, and the best soundbytes.

0

read more

The Friday Game: Best of 2011 Edition | Edge

The Friday Game: Best of 2011 Edition | Edge

2011-Dec-23

Chris Donlan picks over the best free games of the year.

Every year, the standard of games I write about here on The Friday Game seems to get a little better, and 2011’s been a wonderful case in point. Here are some of my favourites from the last 12 months.

read more

European Vita software line-up and pricing announced | Edge

European Vita software line-up and pricing announced | Edge

2011-Dec-23

Three different price bands for games but no 32GB memory card.

Sony has revealed line-up and prices for the European launch of Vita next February 22.

As previously reported, the console will come six AR Play cards and a voucher for three free AR games.

The full software line-up is as follows:

0

read more