added copyright and more game info
This commit is contained in:
		
							parent
							
								
									d96347d1bb
								
							
						
					
					
						commit
						e6c3a27823
					
				
					 5 changed files with 27 additions and 3 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -2,7 +2,7 @@ | |||
| 
 | ||||
| #files to compile
 | ||||
| 
 | ||||
| OBJS = src/Main.c src/Controls.c src/Debug.c | ||||
| OBJS = src/Main.c src/Controls.c src/Debug.c src/Copying.c | ||||
| 
 | ||||
| #compiler to use
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ A remake of the first game I made. | |||
| <p>Sprites made my Jelly_poi.</p> | ||||
| <p>Code and design by M-C-O-B.</p> | ||||
| 
 | ||||
| Make sure to read the LICENSE.md file | ||||
| Make sure to read the LICENSE file | ||||
| 
 | ||||
| 
 | ||||
| # TO-DO | ||||
|  |  | |||
							
								
								
									
										14
									
								
								src/Copying.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								src/Copying.c
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| #include <stdio.h> | ||||
| 
 | ||||
| 
 | ||||
| void Func_License() | ||||
| { | ||||
|   // Outputs Copying info in the command line
 | ||||
|   printf | ||||
|   ( | ||||
|     "Tux Vs X Engine  Copyright (C) 2021  Canneddonuts Team.\n" | ||||
|     "This program comes with ABSOLUTELY NO WARRANTY; \n" | ||||
|     "This is free software, and you are welcome to redistribute it\n" | ||||
|     "under certain conditions; for details read the LICENSE.\n" | ||||
|   ); | ||||
| } | ||||
							
								
								
									
										3
									
								
								src/Copying.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								src/Copying.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| #pragma once | ||||
| 
 | ||||
| void Func_License(); | ||||
|  | @ -1,8 +1,10 @@ | |||
| #include <stdio.h> | ||||
| #include "raylib.h" | ||||
| 
 | ||||
| 
 | ||||
| #include "Controls.h" | ||||
| #include "Debug.h" | ||||
| #include "Copying.h" | ||||
| 
 | ||||
| // Globles
 | ||||
| 
 | ||||
|  | @ -10,6 +12,8 @@ | |||
| float EnemyPos_x = 482.0f, EnemyPos_y = 62.0f; | ||||
| float TuxPos_x = 32.0f, TuxPos_y = 62.0f; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| // Setup Code
 | ||||
| int Func_Setup() | ||||
| { | ||||
|  | @ -39,10 +43,11 @@ int Func_MainGameLoop() | |||
|       BeginDrawing(); | ||||
|         ClearBackground(RAYWHITE); | ||||
| 
 | ||||
|         // Put the sprites on the screen
 | ||||
|         // Put the sprites and text on the screen
 | ||||
|         DrawTexture(arctic, 50, 0, RAYWHITE); | ||||
|         DrawTexture(tux, TuxPos_x, TuxPos_y, RAYWHITE); | ||||
|         DrawTexture(enemy, EnemyPos_x, EnemyPos_y, RAYWHITE); | ||||
|         DrawText("Tux Vs X ENGINE PROTOTYPE please read the LINCENSE", 50, 18, 20, BLACK); | ||||
|       EndDrawing(); | ||||
|      } | ||||
|   // Unload Textures
 | ||||
|  | @ -59,5 +64,7 @@ int main() | |||
| 
 | ||||
|   CloseWindow(); | ||||
| 
 | ||||
|   Func_License(); | ||||
| 
 | ||||
|   return 0; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue