Add two features to existing card game un Unity (JS)

I am currently developing a card game in Unity, which has been written in JavaScript. The deadline is quickly approaching, and I require a few small tasks completed within the next 12 hours, as I'm currently working on other aspects of the game.

This is a fairly straightforward task, and should be a quick job for a highly proficient programmer.

About the game:

The game is based upon Klondike Solitaire, and is fully functional. The logic for the cardgame was originally derived from a purchased Asset, and consists of 3 JS files:

*The main js file which contains the primary class. (approx 1000 lines)

*Two smaller JS files which manage specific functions (approx 20, and 470 lines)

The original asset has been heavily edited, and now requires two final tweaks:

1. When double clicking on an Ace card, either in the Draw deck or any of the 7 dealt decks, it will move to the correct stack. This will basically perform the same as when dragging-and-dropping onto the stack, but automatically transform the position of the card from its current location to the final stack location on double-click. This will be a timed transformation, so it appears as though the card is sliding, rather than an instant movement.

Please note this is not solely a transformation of an instanced gameobject, as it ill also need to conform to the existing drag-and-drop method, where a card is marked as used, enabled, visible etc.

I have written, and will provide, a number of functions to detect the double click on the Ace card, and will require you to complete it by adding in the transformation and setting correct attributes.

2. At present you can click on the Draw Deck gameobject, which will flip and reveal the next hidden card in the deck. A function needs to be added that will detect if there is an existing card and if that card is an Ace. If the card is an Ace, the Draw Deck should not be clickable (forcing the player to move the Ace card before being able to click the Draw Deck again). This is fairly straight forward, and shouldn't take too long at all (est. half an hour to work out the code, and ~1-2hrs for writing).

Other information:

As this code was derived from an existing asset, it was not originally commented, not did it come with any documentation. However, the code that I have added or changed has been commented, and I will add brief comments throughout explaining how the game functions.

In addition, I will provide a number of functions which you may use to detect the double click, perform an Ace check (to see if the card click is an Ace) and a Suit check (to determine what the Suit of the Ace is).

However, you'll need to procedurally work through and determine where the transformations of the cards currently takes place, and what attributes are set for those cards.

For the job I'll only be providing the 3 javascript files for this task, as the Unity project file is several hundred MB. However, I'm happy to test the code as you work through it.

Please let me know if you have any questions, as I'll need this completed fairly urgently.

Habilidades: Javascript, Unity 3D

Veja mais: writing task two, writing a javascript class, work unity, unity programmer job, unity in writing, unity and c++ programmer, un code, timed writing, test js, orbytel, need unity programmer, job writing javascript, job unity programmer, javascript game code, draw 3d game, 3d writing, what is a stack, how long is 1000 hours, game 1000, add a card

Acerca do Empregador:
( 4 comentários ) Perth, Australia

ID do Projeto: #6618775

4 freelancers estão ofertando em média $58 para esse trabalho


Hello, I am an experienced unity programmer. I can have these tasks done. Please check my portfolio and feel free to ask for further info. Kind regards, sotokangr

$80 AUD em 1 dia
(7 Comentários)

Hi, I am an Experienced Unity-3D , 2D Developer. I have made games For Android, Ios , Web And For Desktop. I have expertise in 4WD (Racing , parking) , FPS and Endless Runner games. I have good understanding of Adds In Mais

$100 AUD em 1 dia
(4 Comentários)

I have developed following games [login to view URL] And [login to view URL] I am new to free Mais

$25 AUD em 1 dia
(0 Comentários)

I have been working as a Unity 3D developer since a year. I have worked on sveral small projects and recently released an app for which I was the sole programmer You can check out he app at: [login to view URL] Mais

$25 AUD in 2 dias
(0 Comentários)