SShortSingh.
Back to feed

Dev Patch v0.0.9 Fixes Tutorial Cards Blocking Gameplay in Moksha Game

0
·1 views

Developer Weired Codes released patch v0.0.9 on August 11, 2026, addressing issue #48 in the indie game Moksha, where tutorial guide cards fully obscured the gameplay canvas. The opaque overlay prevented players from seeing or interacting with the game while it continued running in the background. The fix makes the card background semi-transparent, allowing gameplay to remain visible behind it, and pauses the game loop whenever a tutorial card is active. A missing CARD_Y variable definition in render.js was also resolved to prevent a reference error during rendering. Additionally, a visible skip button was added to the card's top-right corner, and a timestamp reset on card dismissal prevents sudden frame-time spikes.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

pack.nvim brings modern UI to Neovim 0.12's native package manager

A new Neovim plugin called pack.nvim has been released to provide a rich user interface on top of Neovim's built-in vim.pack API, introduced in version 0.12. The tool delegates core operations such as cloning, updating, and lockfile management to Neovim's native C backend, while adding an interactive floating-window dashboard with real-time status indicators and commit diff previews. pack.nvim supports modern lazy-loading techniques triggered by commands, events, filetypes, and keymaps, without building an isolated ecosystem separate from Neovim's standard plugin directory. All plugins managed through it reside under the standard vim.pack path, and any plugins already installed via vim.pack are automatically adopted without re-cloning. The plugin requires Neovim 0.12 or later and is configured through a straightforward setup block in the user's init.lua file.

0
ProgrammingDEV Community ·

Developer Builds AI Tool That Displays Real-Time Water Cost Per Query

A developer has created JSTJO, an AI chatbot that visibly tracks and displays estimated water consumption with each response, aiming to make AI's environmental footprint tangible to users. The project was prompted by the UN's June 2026 AI Environmental Transparency Initiative, which formally requested standardized water and energy disclosures from AI companies, though compliance remains largely voluntary. Major tech firms have disclosed significant water usage figures — Google reported 10.9 billion gallons in 2025, a 34% year-on-year rise, while Amazon published its first-ever water footprint of 2.5 billion gallons in mid-2026. Researchers estimate each AI query consumes between 10 and 25 milliliters of water when indirect usage from power generation is included, far above the commonly cited 0.3 ml figure that counts only direct data-center cooling. The developer reports that simply seeing a counter deplete in real time changed their own usage habits, citing behavioral economics research showing that making hidden costs visible can meaningfully reduce consumption.

0
ProgrammingDEV Community ·

libvctrl 2.0.0 Released as Production-Ready Rust SDK for Custom Version Control

libvctrl 2.0.0 is a Rust-based software development kit designed to help developers build custom version control systems without assembling multiple dependencies manually. The SDK bundles three sub-crates covering contracts, reference implementations, and SHA-512 cryptography under a single unified namespace via the Facade Pattern. It enforces strict safety guarantees at the compiler level, including a ban on unsafe code, panics, and unwrap calls, making it suitable for production environments. The release provides ready-to-use backends such as an in-memory store, binary codec, and SHA-512 hasher adapter, alongside object builders and validators. Future components, including low-level and high-level CLI layers, are planned but not yet implemented.

0
ProgrammingDEV Community ·

Static JSON Schema Layer Proposed to Block AI Agent Prompt Injection Attacks

A researcher has published a paper proposing a deterministic Intent Architecture to address security vulnerabilities in autonomous AI agent workflows. The core concern is indirect prompt injection, where attackers can hijack agent tool calls in ways that appear legitimate at the API and firewall level. Because LLM-based monitors are non-deterministic, they cannot reliably enforce strict security boundaries against such attacks. The proposed solution inserts a static JSON policy schema layer between an agent's reasoning and its tool execution, validating every proposed action before it runs. The research includes an open-source GitHub repository and an interactive Colab sandbox for community testing and feedback.