[Unity 3D] Hearthstone Clone

Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
Images:







Fully working hearthstone clone.. Without PHP Scripts.

But static Login.php:
Code:
<?php
/*string[] s = res.Split('/');
player.id = s[1];
player.nickname = s[2];
player.expack = int.Parse(s[3]);
player.gold = int.Parse(s[4]);
player.rmb = 2000;
for(int x=5;x<s.Length;x++)
{
player.cards += s[x] + "/";
}*/
echo "ok";
echo "/1";
echo "/GigaToni";
echo "/100";
echo "/1000";

// Card items
echo "/id1";
echo "/id2";
echo "/id3";
echo "/id4";
?>

static getsets.php:
Code:
<?
/*
public enum CardClass
{
    kany,
    kwarrior = 1, //ZZ
    kpaladin = 2,//SQ
    khunter = 3, //LR
    krogue = 4,//SQ
    kpriest = 5,//MS
    kshama = 7,//SM
    kmage = 8,//DZ
    kwarlock = 9,//SS
    kdruid = 11,//DLY
};

ID&NAME&CLASS&CARDS<br />
*/
?>
1&TEST&1&id1*1/id2*1/id3*1/id4*1<br />

How to add multi language support:

Add to the label a component (Search in the box for Localize):

Add the string with a key to the english.txt in languages:

Finally type in the key name to the Localize Key box:
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Jun 24, 2011
Messages
67
Reaction score
11
Re: Hearthstone Clone

GREAT RELEASE!!!
Im gonna test it ASAP and leave feedback here
 
Newbie Spellweaver
Joined
Jun 24, 2011
Messages
67
Reaction score
11
Re: Hearthstone Clone

Sorry for the noobish question... Never worked with Unity engine. Which Webserver are they using to deploy their apps?
 
Newbie Spellweaver
Joined
Jun 24, 2011
Messages
67
Reaction score
11
Re: Hearthstone Clone

Ah okay. I thought this game was a Browserbased game . So this is without the actual logic, which is served by the backend...
If that is the case, i might work on a backend since im a very good js backend dev (node.js / mongodb).
 
Newbie Spellweaver
Joined
Jun 24, 2011
Messages
67
Reaction score
11
Re: Hearthstone Clone

Okay. No problem either . Can you give me a quick example how the requests are actually looking like?
Need to download Unityengine first...
 
Newbie Spellweaver
Joined
Jun 24, 2011
Messages
67
Reaction score
11
Re: Hearthstone Clone

Sounds good. Though I don't like serving the logic client-sided since this is a luck based game...
 
Newbie Spellweaver
Joined
Jun 24, 2011
Messages
67
Reaction score
11
Re: Hearthstone Clone

Ye . But still the client-assets and stuff looking very nice! A chinese&english speaking-dude would be nice to translate the stuff on the client-side.
 
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
Re: Hearthstone Clone

Use google translate. I translated almost 90% of the client with google translate. (No cards translated )

Also just a Tip. There is NGUI in it with that you can easily create a multi language client
 
Newbie Spellweaver
Joined
Jun 24, 2011
Messages
67
Reaction score
11
Re: Hearthstone Clone

That Repo isn't uploaded by you, right? Why don't you just share your translated assets with us?
 
Newbie Spellweaver
Joined
Jun 24, 2011
Messages
67
Reaction score
11
Re: Hearthstone Clone

Would be great. Im installing Unity right now. Let's see if I can quickly set up an api and modify the requests by the clients...
 
Newbie Spellweaver
Joined
Jun 24, 2011
Messages
67
Reaction score
11
Re: Hearthstone Clone

I think he is still pushing the files to the repo