Forum


Map in HTML5
Ryan wrote
at 8:09 PM, Wednesday June 18, 2014 EDT
I've been working on moving away from flash for rendering the map and using HTML5 canvas instead. Why? Theres a few reasons:

1) Easier to extend. Flash doesn't have the greatest development environment. Having the map in HTML means it will be easier for me to enhance and update it. Would love to see it show up in other spots like a map generator or a game replay player.

2) Performance. It's a bit slower to be passing events to and from flash. Having it in HTML means its directly accessible from JavaScript.

3) iOS doesn't have flash. Kdice needs to be playable on iPad and maybe even iphone (need to also add responsive layouts so its not tiny)

It's a work in progress and a lot of work at that. If you want to see where its at you can add ?canvas=1 to the URL (ie http://kdice.com?canvas=1). Don't expect to play a game with it though its currently just displaying the map.

« First ‹ Previous Replies 31 - 34 of 34
Magic Roundabout wrote
at 4:57 PM, Friday February 6, 2015 EST
@deadcode is your game still live? I tried the link didnt work
deadcode wrote
at 6:36 PM, Friday February 6, 2015 EST
"Magic Roundabout wrote
at 4:57 PM, Friday February 6, 2015 CST
@deadcode is your game still live? I tried the link didnt work"

Nope I took it offline.
Louis Cypher wrote
at 2:23 AM, Monday February 9, 2015 EST
@deadcode: Sad for the nice tools, but very understandable and accepted.

@DM: the community wouldn't notice a change from flash to html5 if it was working all right. HTML5 would be the standard and for flash you'd add ?canvas=2.... I am certain 95% wouldn't notice the change.
Ryan wrote
at 3:45 PM, Saturday February 14, 2015 EST
http://kdice.com/kdice3

this UI is getting ready for ios
KDice - Multiplayer Dice War
KDice is a multiplayer strategy online game played in monthly competitions. It's like Risk. The goal is to win every territory on the map.
CREATED BY RYAN © 2006 - 2025
GAMES
G GPokr
Texas Holdem Poker
K KDice
Online Strategy
X XSketch
Online Pictionary