Haptics GameMaker SDK Overview
The Interhaptics GameMaker SDK provides a powerful extension that allows GameMaker developers to implement haptic feedback in their games. This extension bridges the gap between the Interhaptics Engine and GameMaker, enabling developers to create immersive tactile experiences across supported platforms.
Key Features
- Easy Integration: Add haptic feedback to GameMaker projects with minimal setup
- Cross-Platform Support: Design haptic effects once and deploy across multiple devices
- Custom Effect Creation: Use Haptic Composer to create custom haptic effects
- Blueprint-Free Implementation: Direct API access through GameMaker's GML language
- Haptic Control: Full control over haptic feedback intensity, timing, and targeting
Documentation Sections
Interhaptics Extension
Introduction to the Interhaptics GameMaker extension, its capabilities, and compatibility. Learn about platform support and how the extension interfaces with the Interhaptics Engine to deliver haptic feedback in your GameMaker projects.
Setting Up
Step-by-step guide for downloading and installing the Interhaptics SDK and extension in your GameMaker project. This section covers SDK download, folder structure setup, and configuring the extension in GameMaker's interface.
Basic Use
Essential workflows for implementing haptic feedback in your GameMaker games. Learn about initializing the extension, loading haptic effect files, updating the Interhaptics Engine, triggering haptic events, and proper cleanup procedures.
Engine Control
Advanced functions for controlling the Interhaptics Engine, including initialization, global intensity management, adding and updating haptic materials, and creating parametric haptic effects. This section details the core control functions needed to manage the haptic feedback system.
Engine Events
Functions for managing haptic events within your GameMaker project, including playing and stopping events, target management, event computation, position updates, and intensity controls. These functions provide fine-grained control over when, where, and how haptic effects are delivered.
Providers
Tools for working with haptic hardware providers, including initialization, availability checking, rendering haptics, and cleanup procedures. These functions help manage the connection between the Interhaptics Engine and the physical hardware delivering the haptic feedback.
Shared Types
Reference for constants and data structures used throughout the Interhaptics GameMaker SDK, including operators, lateral flags, group IDs, and command data structures. Understanding these shared types is essential for correctly targeting haptic feedback to specific body parts and devices.
Implementation Workflow
Working with the Interhaptics GameMaker SDK typically follows this process:
- Initialize the Interhaptics Engine and providers
- Load haptic effect files (.haps) into memory
- Add targets to specify where haptic effects should be felt
- Compute and render haptic events during gameplay
- Trigger haptic playback in response to game events
- Clean up resources when no longer needed
The Interhaptics GameMaker SDK is currently supported on Windows platforms and requires minimal setup to get started with basic haptic feedback implementation.
Note: For creating custom haptic effects, use the Haptic Composer tool, which includes an Audio to Haptic feature to generate haptic patterns from audio files.