Page 1 of 1

paths mismatch

Posted: 21 February 2013, 07:36
by ddyer
Can someone explain why pathnames in gomoku.css do not correspond to
the file structure in the sample sources?


.gmk_stone {
width: 30px;
height: 30px;
position: absolute;
background-image: url( '../../img/gomoku/stones.png');
}

seems like this should be '../../img/stones.png'

Re: paths mismatch

Posted: 21 February 2013, 08:02
by sourisdudesert
Hello,

The "img" directory in BGA studio is a facility created to access your game image directory. In reality (ie: when your game is deployed on BGA), the real path to your images is "../../img/<yourgame>/", and should always be used as this.

Cheers,