I took a break from the game to complete the gamepad api wrapper. This plugin will wrap all inputs including gamepads, keyboard, and mouse. It basically makes it a snap to create a browser based game without worrying about how the player wants to interact with your game... here is the new "tour" video and an image of a quick 4 player game I made with the plugin. Follow "gitsome" on github.. I will probably have it up there in just a few weeks.
It's like web tech ZOMBIES have invaded the world and Mine Mars is rounding them up... here is a new video that shows how the gamepad api wrapper integrates with this HTML5 game to provide accurate action mapping within descriptions...
This allows you to program tutorials for inputs right into your game... in Mine Mars we utilize the Chrome Text To Speech (TTS) API to speak modal info....
Is it just me or does this not sound unreal in Chrome Canary? Do you hear the breaths taken between pauses!?
Unbeleivable!!!! Accesability is about to get a makeover... booyah!!!
This is our last two weeks!!! Please suppor this Kickstarter... retweet etc..!!!!
Oh man is this fun! It really is sweet to press a button on a modern wireless controller and see the effects in a browser based game... Here is a video of what it is like to map buttons to a gamepad... most configurations will ship (or be downloaded) but if you need to fine tune your gampad, here is the experience using CSS3 for some great 3D effects!!!
The configuration tab has been completed! This allows a user to hook up a pad and map the gamepads buttons to the browser's reporting of its inputs.... gamepad.js stores these configurations for common browser/os/gamepad combinations... but this tab basically allows for quick integration of new or unkown gamepads and an obscure browser/os/gamepad combinations!! So sick!
I will probably adjust the text to have one area that says (XBOX 360) with no player num... and then switch that text to the button they need to press. Player number is irrelevant since we are mapping gamepad "type" only... so it scans all gamepads with this specific type regardless of player num... also super sick... unless you have a jerk friend who likes to press keys on another gamepad with the same "type" while you are trying to configure your gamepads... not our problem... I suggest denying your friend a beer for this act...
Next is finishing the action mapping tab... this is mapping game actions to inputs (gamepad / keyboard / mouse)... very exciting!
The work to create a standalone all incompassing gamepad / keyboard / mouse input handling plugin continues...
I have succesfully refactoring code to match gamepad id's to specific models and can readily access a playstation or xbox controller. It seems I cannot do both at the same time, but I think that might have to do more with my computer's bluetooth setup than the ability to have multiple gamepad types working at the same time. More research will be done here. When I return to Phoenix in a week, I will test multiple xbox controllers at the same time.
I have completed the workflow for viewing gamepads that you can callibrate. They show up in the list and are shown as active if the gamepad is plugged in. If you click on an active gamepad, it opens a screen where you can then test to make sure your button mappings are correct. I have configurations for button layouts for both xbox and ps3 controllers... they provide positioning and some extra classes so the controller can be rendered using CSS and 3D transforms!!! Now when you press a button, you can see it in 3D on the controller... nobody puts buttons on the bottom of the controller, but if they did, this would allow the UI to rotate the pad in 3D so the user can see the button on any face... Pretty fun!
Next up, is actually mapping the buttons/triggers/axis/dual axis inputs in the configuration of the gamepad to the actual inputs that are reported... this will be saved in local storage as stringified json.. at a later date, this data plus browser + os info will be sent to a server so you will never have to actually callibrate unless you are using an obscure gamepad.
Then, the next step will be mapping actions to keyboard / mouse / gamepad input. The game would pass a set of actions to the plugin and would have an opportunity to map them to any combination of inputs... this could then be saved as a "configuration". So you could have a keyboard only configuration named "john's keyboard" and a configuration name "Ben's keyboard" and a configuration names "john's xbox" etc...
This means you would be storing game configurations specific for each game / each user / and each input combination... very customizeable.. and then work will be done to store them in a server so you can synch up no matter what computer you are using...
Additionally, in the game you would simply test ginput.player[x].action('jump') and not have to worry about whether that came from a keyboard / mouse / or gamepad...
Once this is done you won't ever see me use anything else to manage html5 gaming input! Can't wait to play Mine Mars with my gamepad!!!
seconds to go
Pledge $5 or moreYou selected
SUPPORTER : Thanks! You rock! You get your name in the credits of the released Chrome App!!! NOTE: Everyone gets the game for free once published in the Chrome Web Store.Estimated delivery:
Pledge $10 or moreYou selected
SUPER SUPPORTER: Awesome Socks! You get an "I kickstarted Mine Mars" sticker. You will also get your name in the game credits. (please add little more for international shipping)Estimated delivery:
Pledge $25 or moreYou selected
18 backers Limited (705 left of 723)
LAND OWNER : The economy stinks.. invest in land! You get to "own" one of the 20x20x20 voxel regions of the Mine Mars game. When users pass through your region in the game, your name and a message/link will be shown. (please add a few bucks for international shipping) You also get the sticker and optionally your name in the credits!Estimated delivery:
Pledge $50 or moreYou selected
3 backers Limited (597 left of 600)
PROUD LAND OWNER : Not only do get a piece of Mine Mars voxel land, but you will also get to show your pride with a "I OWN LAND ON MARS" t-shirt. Your name and message/link will show up when a user passes through your region. You also get the sweet sticker. (please add a few bucks for international shipping).Estimated delivery:
Pledge $100 or moreYou selected
2 backers Limited (18 left of 20)
TEXAS LAND HOG & BETA TESTER : Yeehaw! You get 5 regions and get extra props when your name and message/link pops up when players walk through your space!! You will get extra umph in the credits for your extreme generosity. You also get the t-shirt, the sticker, and additionally..... you get a copy Mine Mars beta app and can provide final feedback before release!! (please add a few bucks for international shipping).Estimated delivery:
Pledge $1,000 or moreYou selected
0 backers Limited (4 left of 4)
CREATOR : MAD PROPS! Yes, you get 10 regions in the game. Your name and message/link will show up when users pass through your region. BUT YOU ALSO GET THE OPPORTUNITY TO ACTUALLY CREATE THE WORLD WITH ME!! Can you feel the power!! Mwa ha ha! If you would like to, I can send you a DEV version of the game and give you your own admin password so you can help build the world and finish the story! You will have unlimited access to the DEV tools to easily build out the rest of the world and collaborate online with me and the other 3 CREATORS to develop the rest of the story. You will get assigned (1/4) of the physical world (requires no technical tools except Chrome browser, good computer with good memory and graphics card, and an internet connection. You will get front page props on the game's menu screen, the t-shirt, the sticker, and a piece of HTML5 gaming history!! (please add a few bucks for international shipping).Estimated delivery:
- (37 days)