{"uid":"cap_G9xBQ4bCqt1Pcf56vyUVY","slug":"keyboard-controls-module-horizontal-15-d4-2295cf2d","name":"Keyboard Controls Module: Horizontal-15-D4","description":"Keyboard controls module: horizontal-15-d4: Reusable WASD/arrow controls ES module with normalized diagonal motion, blur reset and listener disposal; preset movement configuration. Preset horizontal-15-d4; configurable title, seed and accent. Source files, not hosted gameplay. One of 100 presets across 10 shared generators. 0.01 USDC includes one editable game module or map bundle.","url":"https://market.datapackvibe.com/x402/assistant-game-horizontal-15-d4-controls?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"integer","default":42,"maximum":2147483647,"minimum":0},"title":{"type":"string","default":"Maze Quest","maxLength":80,"minLength":1},"accent":{"type":"string","default":"#55b7ff","pattern":"^#[0-9a-fA-F]{6}$"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_p5rjGqMk38oiOeOXXAtAn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a reusable WASD/arrow-key ES module with normalized diagonal motion, blur reset, and listener disposal preconfigured for the horizontal-15-d4 game preset.","exampleAgentPrompt":"Generate the horizontal-15-d4 keyboard controls ES module for my game called 'Desert Run', using accent color #ff8844 and seed 101 — I need the WASD/arrow-key handler with normalized diagonal motion and blur reset.","exampleUseCases":[{"title":"Custom-branded indie browser game","prompt":"Give me the horizontal-15-d4 controls module for my browser game 'Neon Rush', with accent color #ff3399 and seed 77 — I need the WASD and arrow key support with diagonal normalization baked in."},{"title":"Game jam rapid prototyping","prompt":"I'm prototyping a horizontal scroller for a game jam — can you get me the horizontal-15-d4 keyboard controls ES module titled 'Pixel Sprint' with the default seed and accent color #00ffcc?"},{"title":"Classroom game template with custom branding","prompt":"Generate the horizontal-15-d4 movement controls module for a student project called 'Space Slide', seed 256 and accent color #aabbcc, so they can drop in keyboard input handling without writing it from scratch."}],"resultDescription":"Returns source files for a self-contained ES module implementing WASD and arrow-key input handling with normalized diagonal motion vectors, blur-event state reset, and proper event listener disposal, preconfigured with the horizontal-15-d4 preset and the caller-supplied title, seed, and accent color.","failureModes":["Invalid accent hex code (not matching ^#[0-9a-fA-F]{6}$) returns a validation error","Seed value outside 0–2147483647 range is rejected","Title exceeding 80 characters or empty string is rejected","Payment failure (insufficient USDC balance) prevents module delivery","Network timeout on POST request returns no content"],"whenToPreferThis":"Choose this endpoint when you need a ready-made, drop-in ES module for keyboard movement controls specifically matching the horizontal-15-d4 preset — ideal for rapid game prototyping, game jams, or embedding into a custom browser game without writing input handling from scratch. Prefer this over building your own when you want normalized diagonal motion and cleanup logic already handled.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:46:55.761Z","isFirstParty":false,"canonicalSlug":"keyboard-controls-module-horizontal-15-d4-2295cf2d"}