Have a look at how it looks like with SpiderBasic. Unfortunately there are a few grafical bugs:
http://h2717740.stratoserver.net/chess/index.html
How can that be?
Chess Assets
Re: Chess Assets
"Daddy, I'll run faster, then it is not so far..."
- Michael Vogel
- Addict
- Posts: 2807
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: Chess Assets
Haven't played around with SpiderBasic so far, but would assume you'd need to add ClosePath() here and then.
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: Chess Assets
@dige: Looks like the flag #PB_Path_Winding isn't available on SpiderBasic. Not sure why but its library likely isn't the same as Windows which uses gdiplus. the pawns are pretty easy to fix by starting at the top, going all the way around and back again with part-circles, curves and a line for the bottom. Then it should stroke and fill fine. The queen isn't using #PB_Path_Winding so I'm not sure what's going on there. Shouldn't be too hard to find though.
BERESHEIT
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: Chess Assets
Reworked the Queens and Pawns so they would draw properly in both PureBasic and SpiderBasic. You can see a rendering of the SpiderBasic version at: https://lloydsplace.com/ChessAssets.html The problem with the queens turned out to be with the AddPathArc command. I replaced it with AddpathCurve and it straightened up. The pawns suffered from not having #PB_Path_Winding available, so a bit of rework made that flag unnecessary and all's good now.
BERESHEIT
Re: Chess Assets
Looks fantastic, but note that the Kings and Queens are on the wrong squares (for both colors). The PureBasic version is correct.netmaestro wrote:You can see a rendering of the SpiderBasic version at: https://lloydsplace.com/ChessAssets.html
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: Chess Assets
That's a black-from-the-bottom board, they're where they should go. Queen to her color, remember, and white on the right. The square IDs on the sides identify the black-from-the-bottom board with a8, b8, etc. at the bottom. (scared me there for a sec!)
BERESHEIT
Re: Chess Assets
You're right. I didn't notice the numbers (and pieces) changed. Sorry for that.netmaestro wrote:That's a black-from-the-bottom board