Code Monkey home page Code Monkey logo

lfz-battle's Introduction

LFZ Battle

A clone of Pokemon Fire Red but with programming questions instead of Pokemon. Built with vanilla TypeScript.

Disclaimer

This game is only a parody.

I am not affiliated with the Nintendo Company, all assets in this application were taken from third party websites and not from the game itself.

If you are someone from Nintendo and would like the website taken down please email me here and I shall do so.

Pokemon and All Respective Names, Images, and Sounds are Trademark © of Nintendo 1996 - 2021.

A little bit of background

I've been an instructor at LearningFuze for more than a year now. This game is a small collection of memories and experiences I have had working here. I had the idea of creating a game where you can battle the instructors a long time ago but I didn't have the skill at the time. After alot of grinding I was finally able to pull it off.

The code is somewhat messy in my opinion. I spent a few weeks reading about design patterns and game engines and kind of funneled all my knowledge into this game. I didn't exactly plan anything, I just sat at my computer one Friday night and started prototyping. I didn't really stop prototyping and here we are.

There are some portions that are really overcomplicated and some bandaid fixes that I'm not super proud of, but I will go back to refactor someday.

As of now the game is for desktop only, I had planned the ability to play on mobile, but at this point I'm a little burnt out and working with loading sounds on iOS Safari and touch events is kind of not working with my brain right now. But it will be the next feature when I some more free time.

Thanks for reading, please enjoy!

Technologies Used

  • Typescript
  • Webpack
  • Babel

Live

Try the application live here

How to Play

  • WASD - Move your character around
  • M - Unmute/Mute audio
  • SPACE - Interact with NPCs

Features

  • User can preload assets
  • User can walk around map
  • User can transition between maps
  • User can interact with npcs
  • User can battle npcs
  • User can hear audio
  • User can battle gym leaders

In-Game Screenshots

lfz-battle's People

Contributors

cursea avatar uzair-ashraf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lfz-battle's Issues

Typo on jQuery question

Small typo in battle.json on the question "jQuery is a ____", where the fourth answer is "A lifestyle". To match the format of the other answers, it should just be 'Lifestyle'.

I can fix this bad boy up!

User can view scene transition

When a scene is transitioning its fairly sporadic and we see the character move all weird

If we can freeze the game at a screen transition.

Drop the opacity to 0 on an overlay

Set a small Delay

And display the screen again, it should help this issue,

User can hear sound

Making a new class that handles the audio for the user will help manage sounds in the game

Will also be related to the ability of loading assets before the game starts.

User can view loading screen

With network throttling, I notice that the assets take a bit to load. There is alot of json files containing data that is needed.

Starting with a loading screen will look cleaner, and awaiting loading of all the assets will have the game run smoother.

Research Web Works for background loading or write script to load assets

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.