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.

Replies 1 - 10 of 34 Next › Last »
Gurgi wrote
at 8:38 PM, Wednesday June 18, 2014 EDT
Ryan wrote
at 9:03 PM, Wednesday June 18, 2014 EDT
Yep, dice refresh isn't happening.
Ryan wrote
at 9:32 PM, Thursday June 19, 2014 EDT
added refills and simple attacks... still lots to do
montecarlo wrote
at 10:25 PM, Thursday June 19, 2014 EDT
as an ipad user, this is exciting. thanks!
JustAPlayer wrote
at 10:51 PM, Thursday June 19, 2014 EDT
I agree with Monte. Thanks!
getting_revolt wrote
at 10:32 AM, Friday June 20, 2014 EDT
Newer android phones/tablets also disable flash by default, so perhaps this will benefit even more people (though chat would be a pain).
integral wrote
at 10:48 AM, Friday June 20, 2014 EDT
the puffin browser app lets flash work on android and iOS
Ryan wrote
at 9:35 PM, Friday June 20, 2014 EDT
added clicking so you can play a full game (clicking doesn't seem to work on ios or chrome/linux)
montecarlo wrote
at 7:54 PM, Tuesday June 24, 2014 EDT
tried it out tonight on the ipad. any ideas on how to tackle clicking yet? was fun to at least be able to see the table. please keep up the good work.
Ryan wrote
at 8:49 PM, Tuesday June 24, 2014 EDT
Looking at clicking issues now. Tough to debug this.
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