Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								687a12d7fb 
								
							 
						 
						
							
							
								
								Userland: Add GUI::Window::add_menu() and use it everywhere  
							
							... 
							
							
							
							Applications previously had to create a GUI::Menubar object, add menus
to it, and then call GUI::Window::set_menubar().
This patch introduces GUI::Window::add_menu() which creates the menubar
automatically and adds items to it. Application code becomes slightly
simpler as a result. :^) 
							
						 
						
							2021-07-21 21:24:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								c7d891765c 
								
							 
						 
						
							
							
								
								LibGfx: Use "try_" prefix for static factory functions  
							
							... 
							
							
							
							Also mark them as [[nodiscard]]. 
							
						 
						
							2021-07-21 18:02:15 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								dd65f52331 
								
							 
						 
						
							
							
								
								FlappyBug: Only paint areas which need to be painted  
							
							... 
							
							
							
							Drawing the entire PNG background is rather expensive. Instead, only
draw the rects that are updating. 
							
						 
						
							2021-07-10 23:28:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								675b8ba995 
								
							 
						 
						
							
							
								
								FlappyBug: Standardize on "high score" rather than "highscore"  
							
							... 
							
							
							
							"High score" should be two words, and this matches other games in the
system. 
							
						 
						
							2021-06-22 23:05:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								1a2053781f 
								
							 
						 
						
							
							
								
								FlappyBug: Persist high score to disk  
							
							... 
							
							
							
							Previously, the high score was only in-memory, so only persisted for as
long as the FlappyBug window was open. 
							
						 
						
							2021-06-22 23:05:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								25c53e35e7 
								
							 
						 
						
							
							
								
								FlappyBug: Convert the main game widget to a GUI::Frame  
							
							
							
						 
						
							2021-06-22 23:05:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								ade85d980b 
								
							 
						 
						
							
							
								
								FlappyBug: Add missing component declaration  
							
							... 
							
							
							
							The PR for this pre-dates the concept of components, so it was forgotten
to add one. 
							
						 
						
							2021-06-20 11:13:30 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								ddc855ffcd 
								
							 
						 
						
							
							
								
								FlappyBug: Add cloud and sky graphics  
							
							... 
							
							
							
							We now have a nice sunset sky and some random cloud graphics.
The obstacles will get graphics at some point too :) 
							
						 
						
							2021-06-20 10:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								28e08f08c2 
								
							 
						 
						
							
							
								
								FlappyBug: Add new graphics and tweak colors  
							
							... 
							
							
							
							This adds some actual graphics to the game, and tweaks the obstacle and
sky colors. Eventually there will be graphics for those elements too. 
							
						 
						
							2021-06-20 10:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								f50003bdd2 
								
							 
						 
						
							
							
								
								FlappyBug: Add an input cooldown after game over  
							
							... 
							
							
							
							This makes sure the player doesn't accidentally start a new game after
they bump into an obstacle. 
							
						 
						
							2021-06-20 10:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								018344bb07 
								
							 
						 
						
							
							
								
								FlappyBug: Keep track of score and highscore  
							
							... 
							
							
							
							Better information is now shown to the player. Instructions are shown
when first loading the program, and any available scores are shown on
the game over screen. 
							
						 
						
							2021-06-20 10:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								3f603ab082 
								
							 
						 
						
							
							
								
								FlappyBug: Start obstacles off the screen  
							
							... 
							
							
							
							Previously obstacles were respawning fully on-screen which caused a
discontinuous look. Now they smoothly move into view from off-screen. 
							
						 
						
							2021-06-20 10:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								444fcfd0d2 
								
							 
						 
						
							
							
								
								FlappyBug: Make the obstacle gap position random  
							
							... 
							
							
							
							The position of the gap in the obstacle is now randomly generated each
time it spawns. The game is more fun to play now :) 
							
						 
						
							2021-06-20 10:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								811d9722f9 
								
							 
						 
						
							
							
								
								FlappyBug: Introduce a new Flappy Bug game  
							
							... 
							
							
							
							This introduces a Flappy Bug game. It's pretty simple currently, but is
playable. 
							
						 
						
							2021-06-20 10:54:27 +01:00