
Avoid Blocks
Guess what? No ads and no pay to win mechanism so test your sigma reflexes by simply avoiding the red blocks as they get faster and faster!
Category
Mobile Game
Platforms
Android | iPhone | iPad
Launch Date
23 December, 2024
Copyright
EKNIAZI





Game Description
Avoid Blocks is a mobile game where you control a white box, dragging it around the screen to avoid bouncing red blocks. The goal is to survive as long as possible while the red blocks bounce randomly. With simple, responsive controls and increasing difficulty, Avoid Blocks offers endless fun and a challenge to your reflexes, perfect for quick gaming sessions on the go.
THE STORY
The story behind this one is simple. This is something I always used to do back in childhood, maybe a throwback to a retro game I played back when I was 6 on the web.
Anyhow, it seemed almost impossible to develop a game in web technologies that performed well (we are talking about hitting 120fps on iPhone Pro devices). So I set out to prove them wrong and proved I did.
Challenges Tackled
I used Angular for efficient state management and component-based architecture, allowing for easy handling of game logic and updates. To ensure maximum performance, I implemented Ionic's native capabilities through Capacitor, allowing for hardware acceleration and smoother animations by leveraging native performance optimizations. By utilizing requestAnimationFrame and optimizing the red block physics with minimal calculations, I minimized the CPU load, ensuring smooth gameplay even with multiple blocks bouncing around at high speeds. Additionally, I fine-tuned touch input responsiveness, enabling precise drag controls without lag, making the game feel ultra-responsive despite the complexity of the real-time interactions. With these smart technical choices, I was able to build a high-performance game that delivered a seamless experience across all mobile devices.