niaev / py-target-shooter Goto Github PK
View Code? Open in Web Editor NEWTarget Shooter: The Game. Developed completely with Pygame and barely no image files
Target Shooter: The Game. Developed completely with Pygame and barely no image files
Pop Ups are text and numbers that pop on the screen and fade out relatively fast to show the user some life on the screen.
Pop Ups should show up when the user hits a target, misses, and when a target is lost.
PopUp
move
-- moves the text sligthly up and fades it outCHPopUp
miss!
, else, it should be +n
being n
the amount of point earned by the hitTPopUp
The "Console" font was installed on Windows 10 but it's not working.
Find a solution for the problem and maybe find a way to use the font with no need to install on the system.
Top bar on the screen that shows game information, including time count, points count and more.
Should be on the top of the screen, use the font "Console" with black color.
Timer should be on the left, point counter should be on the right and the other information should be located to the center.
Simple Hud -- Hud
draw_time
-- (re)draws timer text on the screendraw_score
-- (re)draws point counter on the screendraw
-- call both draw_*
methodsupdate_time
-- get current time and compare with the time the hud was started to then draw the difference on the screenupdate_score
-- get score to sum to the total amount of points and then draw the new total on the screenThree info Hud -- THud
Hud
draw_info
-- (re)draws center information on the screendraw
-- call all draw_*
methodsupdate_info
-- get value to sum to the total amount of the info in questionFour info Hud -- FHud
Hud
draw_info_left
-- (re)draws center left information on the screendraw_info_right
-- (re)draws center right information on the screendraw
-- call all draw_*
methodsupdate_info_left
-- get value to sum to the total amount of the info in questionupdate_info_right
-- get value to sum to the total amount of the info in questionThe game menu should have some important basic entities, like labels and buttons.
Button
GroupedDrawings
hover
-- changes color when crosshair collidesclick
-- do something when crosshair collides and clicksReturnButton
Button
< return
on the top left of the screenclick
-- do something when crosshair collides and clicksLabel
Menu
This should be the parent class for all the other menu classes, considering it will handle which content it would contain, functions to handle navigation and other stuff.
MainMenu
It should have the game logo and some buttons like:
- Play
- Achievements
- Options
- Credits
PlayMenu
It should have two buttons:
- Normal Mode
- Hardcode Mode
Each one should show a different text on the bottom explaining each game mode.
Also, a "return" button on the top left.
PauseMenu
It should have x buttons:
- Resume
- Achievements
- Options
- Main Menu
Also, should stop all time counting related stuff from the game
LostMenu
Should show a text saying You lose
and two buttons:
- Restart
- Main Menu
AchievementMenu
It should show all achievements.
Also, a "return" button on the top left.
OptionMenu
It should show options
Also, a "return" button on the top left.
CreditsMenu
It should show credits.
Also, a "return" button on the top left.
Test scripts are great in the way I'm doing them because they serve as a demonstration of something I'm learning and also as a unitary or integrated test validation.
Also, they are helping me with the project roadmap, like guiding me. Maybe it is wrong, but seems ok to me.
Here the tests I already made before creating this issue are listed as done:
Those tests made me understand how to:
And much more.
Other tests I find very useful will be listed here througout the development. Maybe this will never end.
It's important to make it clear that this issue is not actually discribing important game features and tracking their development, since it doesn't matter how those tests are made. Every single feature will have its own issue that will require proper development organization and more stuff.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.