Git Product home page Git Product logo

aegis's Introduction

Aegis

A tiny game to practice Age of Empires IV building shortcuts. Using ⚛️ Create-React-App and 🐻 Zustand.

License

With the exception of all visual assets (/public/buildings/*.png), the project is licensed under MIT. See LICENSE.

Disclaimer

Age of Empires IV © Microsoft Corporation.

This project was created under Microsoft's "Game Content Usage Rules" using assets from Age of Empires IV, and it is not endorsed by or affiliated with Microsoft.

aegis's People

Contributors

alexwidua avatar goebel02 avatar jimcullenaus avatar mr-spacecat avatar mzfr avatar reneklacan 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

Watchers

 avatar  avatar

aegis's Issues

Default keyboard setting unclear

Playing the Aegis game, I ran into Q-Y shortcut for Outposts. Playing a QWERTY keyboard this seemed odd to me.
image

Checking the settings menu, in the keyboard layout selection, no option is highlighted.
image
After selecting qwerty in the settings menu, it works as I am used to.

The only issue is that the current selected keyboard layout should be easier to find out.

Website has been down

aegis website has been down for about a week. If it's not possible to get it back up, lemme know. I can ask aoe4world to host an instance on their own servers.

New civilizations from DLC

The Sultans Ascend DLC has added 2 new civs and 4 variant civs. It would be great if this tool got an update with new content

Actions Per Minute counter continues to fall after game is complete

To reproduce

  1. Play a game to completion
  2. View the "your result" screen, showing some value for APM (e.g. 60)
  3. Wait a few seconds
  4. Observe that the APM value has decreased

Expected behaviour

APM value should remain constant while viewing the "your result" screen.

Suspected cause & solution

I suspect game loop may be continually refreshing the handleGameEnd state and thus recalculating the finishTime, and from it, the apm value.

The easiest quick fix would probably be to set the finishTime each time handleSecondKeyCorrect is called, where the promptFinishTime is already being updated. A more elegant solution might be to stop the state being continually refreshed, and only update state when a key is pressed.

But I haven't yet actually run this to test it, so my suspected cause & solution could be way off.

Disable Alt key that causes the document to lose focus

Quite often I pressed the "Alt" key and then the document loses focus. What do you think adding a feature to discard the alt keydown event?

I did a quick and dirty proof of concept test. At index.html, added the following:

		<script>
			document.addEventListener("keydown", function(e){
				if( e.preventDefault) e.preventDefault();
				if (e.keyCode = 18){
					return false;
				}
			}, false);
		</script>

This seems to have addressed my need. Not sure if there are any other keys that should be blocked.

If it is good to have this feature, I may try to contribute the change. Maybe there should be an option in the Options screen to enable/disable this feature?! And the blocking code should be at React not at index.html. I don't know React, just JavaScript.

Besides, I think it is good to have a keyboard hotkey for "Start Typing", so when i refresh the page I can start another game instance without using mouse. And best when mouse over "Start Typing" it shows the key, so anyone who plays the game for the first time may know the feature.

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.