Amal uses Forge2D, a real 2D physics engine, to create educational games where Arabic letters and words follow realistic physics — gravity, velocity, collision, and force simulation. In Bubble Pop, children pop floating bubbles containing the correct Arabic letter. In Slingshot, they launch a projectile at the right word. In Frog Jump, they leap between platforms labeled with Arabic vocabulary. Real physics makes these games feel natural and engaging while teaching Arabic.
The Forge2D + Flame Engine Stack
Flame (v1.18.0) is a 2D game framework for Flutter:
- Handles rendering, game loop, input processing
- Runs at 60fps on mid-range phones (Snapdragon 662 and above)
- Built for mobile (optimized memory footprint)
Forge2D (v0.19.2) is Box2D (the industry-standard physics engine) ported to Dart:
- Rigid body dynamics (how objects move and collide)
- Collision detection and response
- Gravity, friction, restitution (bounce)
- Joint constraints (pulleys, hinges)
Combined: Educational games with realistic physics that run smoothly on every device.
Game-by-Game Breakdown
Bubble Pop (Recognition Speed)
Mechanics:
- 5-8 bubbles float on screen, each containing an Arabic letter
- Gravity pulls bubbles downward
- Child taps the bubble with the target letter
- Collision detection triggers pop animation
Learning objective: Rapid letter recognition. The timer and floating bubbles create urgency. The child must immediately identify the correct letter among distractors and tap it before it falls off-screen.
Physics detail:
- Each bubble has mass, gravity constant, and restitution (bounce on collision with walls)
- Tapping applies force, triggering satisfying pop animation
- Variation: some bubbles are heavier (fall faster), creating difficulty scaling
Slingshot (Deliberate Selection)
Mechanics:
- Child aims a slingshot at 3 target words on screen
- Drag to load the slingshot (tension force)
- Release to launch projectile
- Collision with correct word = score; incorrect word = miss
Learning objective: Deliberate word recognition with fine motor control. Unlike Bubble Pop's speed, Slingshot requires aiming and precision. The child must think about trajectory and word position.
Physics detail:
- Slingshot tension modeled as spring force (F = kx)
- Projectile path follows parabolic trajectory (gravity + initial velocity)
- Collision shapes precisely match word boundaries for accurate hit detection
- Variation: wind physics, bouncy walls, moving targets
Frog Jump (Sequencing Knowledge)
Mechanics:
- Frog stands on platforms labeled with Arabic words
- Jump up to advance; fall to lose a life
- Platforms must be hopped in a specific order (e.g., adjective → noun → verb form)
- Physics: jump arc, landing detection, platform collision
Learning objective: Sequential knowledge and pattern recognition. Jumping through words in order teaches word relationship patterns (e.g., singular → plural → dual).
Physics detail:
- Jump mechanics: player holds jump button → builds jump force → releases → frog follows parabolic arc
- Landing detection checks if frog lands on platform surface vs. edge (for penalty)
- Platform collision response: bounce (restitution = 0.1) vs. stick (friction = 0.8)
Lane Runner (Velocity and Dodging)
Mechanics:
- Frog runs horizontally through lanes
- Each lane contains obstacles (wrong words) and targets (correct words)
- Child swipes to change lanes
- Collision with obstacle = damage; collision with target = score
Learning objective: Pattern recognition under time pressure. The scrolling velocity forces quick decisions. Different concepts appear in different lanes, so the child learns to predict and plan.
Physics detail:
- Obstacles have constant velocity (scrolling speed)
- Character has friction (smooth acceleration/deceleration)
- Collision bounds are generous to allow forgiveness
Scale Balance (Quantity Comparison)
Mechanics:
- Two platforms on a balance scale
- Child drags Arabic number words onto each side
- Scale tips to heavier side
- Goal: balance correctly or make one side heavier
Learning objective: Quantity comparison and mathematical reasoning in Arabic. The visual feedback (tipping scale) provides immediate, intuitive understanding of relative magnitude.
Physics detail:
- Mass calculation: heavier words have higher mass values
- Torque calculation: balance equation (mass₁ × distance₁ = mass₂ × distance₂)
- Visual response: scale rotates based on torque difference
Why Real Physics?
| Approach | Engagement | Learning | Performance | Scalability |
|---|---|---|---|---|
| No physics | Flat, boring | Decoupled from mechanics | Cheap | Easy |
| Animated | Satisfying visuals | Game mechanic distracts | Moderate | Limited |
| Real physics | Deeply engaging | Mechanic is the learning | High | Requires expertise |
Real physics makes games feel real. Children intuitively understand gravity, collision, and force. Encoding learning objectives into physics makes gameplay educational, not gamification-as-window-dressing.
Performance Optimization
Physics simulation is computationally expensive. We optimize:
- Spatial partitioning: Only simulate collisions for nearby objects
- Sleeping bodies: Stationary objects don't consume CPU
- Reduced precision: Physics runs at 30fps internally; rendering runs at 60fps
- Culling: Objects off-screen aren't rendered or simulated
Result: 60fps gameplay on $100-200 Android phones.
FAQ
Q: Do the physics games teach Arabic, or just provide distraction? A: The physics is the learning mechanic. Bubble Pop teaches letter recognition under time pressure. Slingshot teaches deliberate selection with fine motor practice. Frog Jump teaches sequencing. The game mechanic isn't decoration — it encodes the learning objective.
Q: Why not use simpler animations without physics? A: Simpler animations feel flat and boring. Real physics creates satisfying feedback and intuitive understanding. Children report games with physics are significantly more engaging.
Q: Can physics games run on older phones? A: Yes. We test on Snapdragon 662 (2019 era) and maintain 60fps. Very old devices (2016 and earlier) may see frame drops, but remain playable. We provide settings to disable visual effects on low-end devices.
Related reading
See the 45+ interactive exercise types in Amal and how Bloom's Taxonomy shapes Arabic reading practice.



