Get your next remote job on LaraJobs.
1 contributor Edit on GitHub PHP

FlappyPHPant, a Flappy Bird clone made with PHP

Introducing FlappyPHPant, a straightforward rendition of the popular Flappy Bird game built on PHP-GLFW and the VISU framework.

While it looks simple, it offers a comprehensive demonstration of how you could build a 2D game with these tools.

It showcases an array of features including decoupled simulation from rendering, a proper 2D camera, abstracted input handling, an entity component system, a simple sprite renderer, basic AABB collision detection and text rendering, among others.

The game’s simulation runs at a fixed rate, allowing for smooth player movement. It also adjusts readily to varying screen resolutions and aspect ratios. Though light on action – you basically press one button to play – it offers rich learning material for budding game developers.

Read more on github.com

Benjamin Crozat

Written by Benjamin Crozat

Indie hacker, blogger, and AI enthusiast building things with the TALL stack. 🔥

Follow me on:

Recommended articles

How does Laravel work? A crystal clear explanation. How does Laravel work? A crystal clear explanation.

Discover my step by step and simple explanation of how Laravel makes your life easier.

Published on Oct 31, 2023

3 crucial Laravel architecture best practices for 2023 3 crucial Laravel architecture best practices for 2023

Explore Laravel's default architecture to simplify collaboration, compatibility, and onboarding.

Published on Sep 1, 2023 Audio available

20+ Laravel best practices, tips and tricks to use in 2023 20+ Laravel best practices, tips and tricks to use in 2023

Learning a framework can be overwhelming, but time and execution will make you a master. Here are some best practices to help you toward your goal.

Modified on Oct 17, 2023

Laravel interview questions and answers for 2023 Laravel interview questions and answers for 2023

Nailing a Laravel job interview can be a daunting task, but with the right preparation and mindset, you can set yourself up for success.

Modified on Sep 19, 2023 Audio available

9 testing best practices for Laravel in 2023 9 testing best practices for Laravel in 2023

Are you familiar with testing? Good. Here are a bunch of best practices to help you level up even more!

Modified on Oct 27, 2023

Gold sponsors New

  • Wire Elements
    Beautiful handcrafted Livewire components.
    Check site
Your business here

Partners

If you buy from one of my partners below, I will be compensated at no cost to you. These are services I use or used, and 100% stand behind.

  • Scalable and reliable VPS hosting.
    Bonus: $200 of free credits
    Check site
  • The Google Analytics alternative without compromise.
    Free trial: 30 days
    Bonus: $10 off your first invoice
    Check site
  • Flare
    Track PHP and JavaScript errors in one place.
    Free trial: 10 days
    Check site
  • Keep track of your Google rankings.
    Free trial: 7 days
    Promo code: WELCOME30
    Check site
- / -