Search found 26 matches

by Cowseye
05 March 2017, 02:35
Forum: Developers
Topic: Flip card effect.
Replies: 2
Views: 1637

Re: Flip card effect.

Nice work! Consider putting this up in a Wiki entry?
by Cowseye
21 February 2017, 17:08
Forum: Developers
Topic: dojo placeOnObject & slideToObject limitation
Replies: 5
Views: 2376

Re: dojo placeOnObject & slideToObject limitation

A quick edit of my code to use placeOnObject for the jstpl holder works!
Didn't know this may caused problems. Thank you Andy_K and Morgalad for your quick response!
by Cowseye
21 February 2017, 17:02
Forum: Developers
Topic: dojo placeOnObject & slideToObject limitation
Replies: 5
Views: 2376

Re: dojo placeOnObject & slideToObject limitation

Thanks! Let me look at the tutorial for the chaining of animation!
All my objects have absolute position.
by Cowseye
21 February 2017, 09:32
Forum: Developers
Topic: dojo placeOnObject & slideToObject limitation
Replies: 5
Views: 2376

dojo placeOnObject & slideToObject limitation

Hi all, I would like to check if this is an expected behavior: I have a jstpl created token (A meeple for instance) that needs to be place (or slide) onto another jstpl created token (A randomly placed tile as a holder for meeples). This can be done as part of an onClick event. However, the token fl...
by Cowseye
10 February 2017, 17:38
Forum: Developers
Topic: game.js - addTooltip is not working properly
Replies: 1
Views: 1240

Re: game.js - addTooltip is not working properly

Problem resolved.

Thanks for your attention.
by Cowseye
10 February 2017, 04:27
Forum: Developers
Topic: game.js - addTooltip is not working properly
Replies: 1
Views: 1240

game.js - addTooltip is not working properly

Dear all, I had encountered a problem that my tooltip could not be added to jstpl objects I had created. Here are some facts: 1. I had confirm the text I wished to add has been passed to the frontend. They can be found when I view source on the webpage. 2. I had confirm the ids of the jstpl objects ...
by Cowseye
30 January 2017, 04:33
Forum: Developers
Topic: Add player info on overall_player_board
Replies: 1
Views: 1087

Add player info on overall_player_board

Hi guys,

I could not find the manipulation of this section anywhere within the guides available in studio docs.
Could anyone point me to the right document to look at?
I want to add some basic info such as the players cash on hand, score and stuff to his summary panel.

Thank you,
Chris
by Cowseye
20 January 2017, 13:01
Forum: Developers
Topic: Javascript this.placeOnObject
Replies: 7
Views: 3252

Re: Javascript this.placeOnObject

Thanks Andy. I realise my mistakes were:

1. Did not define the div in the html portion of the template that suppose to represent tilesonboard .
2. I miss adding a comma after the curly brackets of a declared function in the mygame.js file.
by Cowseye
19 January 2017, 17:17
Forum: Developers
Topic: Javascript this.placeOnObject
Replies: 7
Views: 3252

Re: Javascript this.placeOnObject

Hi Andy and other peeps, I met even more confusing error that I do not know how to handle. I try to test placing tiles by creating template in jstpl. Inside mygame.tpl: <script type="text/javascript"> // Templates var jstpl_tileonboard='<div class="tileonboard ${fs} ${tiletype}" ...

Go to advanced search