بدون توضیح

Rudy Boudewijn van Etten abe00d9bcc Update README.md 3 سال پیش
3D eddda8cd77 Create Function_SphereBoxCollision3d.c 5 سال پیش
Books 6b9481eb4b Create Bresenham_filledcircle.c 5 سال پیش
Gui b13eda2956 Update Simple_message_window.c 5 سال پیش
ProcGen ee1845eae1 Create GrowZonesProcess.c 4 سال پیش
RTS a80539f6e6 Create FlowFieldTest.c 5 سال پیش
Remakes a00f4a8fd7 Update Morrowind_CharacterInventory.c 5 سال پیش
Scripts a3a74db275 Create BatchgifToSpriteSheet.c 3 سال پیش
Space2d 96cac27710 Create Create_Rotate_ship_center.c 5 سال پیش
SpriteEditor a101844478 Update gridrotate.c 4 سال پیش
ai 9bf0762612 Add files via upload 4 سال پیش
effects 6d7316947f Create CopperBars.c 5 سال پیش
games a57e64a94d Add files via upload 4 سال پیش
los 28b888d8d8 Update positiontogridpositions.c 5 سال پیش
Beginners_-_3_DimensionalArray.c 9fdc65f62d Create Beginners_-_3_DimensionalArray.c 5 سال پیش
Beginners_-_Array_Of_Strings.c e940ff216e Create Beginners_-_Array_Of_Strings.c 5 سال پیش
Beginners_-_Create_Sprite_from_array.c b9736ea8dd Update Beginners_-_Create_Sprite_from_array.c 5 سال پیش
Beginners_-_CreateandDrawinside_Texture.c d1c3a7450d Update Beginners_-_CreateandDrawinside_Texture.c 5 سال پیش
Beginners_-_DrawTexturePro_RectsScaleOrigin.c 697f989325 Create Beginners_-_DrawTexturePro_RectsScaleOrigin.c 5 سال پیش
Beginners_-_Drawtext_integers.c 91eb3513c6 Update Beginners_-_Drawtext_integers.c 5 سال پیش
Beginners_-_Enum.c c363f3a890 Rename Beginner_-_Enum.c to Beginners_-_Enum.c 5 سال پیش
Beginners_-_FormatText.c 2ec0afcbe0 Update Beginners_-_FormatText.c 5 سال پیش
Beginners_-_GetImageData.c e6eb295c74 Create Beginners_-_GetImageData.c 5 سال پیش
Beginners_-_GetKeyPressed_Buffer.c 2f383ed4f3 Create Beginners_-_GetKeyPressed_Buffer.c 5 سال پیش
Beginners_-_GetMonitorWidth_Height.c 8543b9b332 Create Beginners_-_GetMonitorWidth_Height.c 5 سال پیش
Beginners_-_GetMouseX_GetMouseY.c 8e0782eca5 Rename Beginners_-_GetMouseX_GetMouseY,c to Beginners_-_GetMouseX_GetMouseY.c 5 سال پیش
Beginners_-_GetScreenWidthHeight.c 4e53f929a4 Create Beginners_-_GetScreenWidthHeight.c 5 سال پیش
Beginners_-_GetTime.c be1e181d05 Create Beginners_-_GetTime.c 5 سال پیش
Beginners_-_Goto_Label.c d255829772 Create Beginners_-_Goto_Label.c 5 سال پیش
Beginners_-_Image_Perlin.c dfba007596 Create Beginners_-_Image_Perlin.c 5 سال پیش
Beginners_-_LoadFileText_SaveFileText.c e21aeb0bd6 Create Beginners_-_LoadFileText_SaveFileText.c 5 سال پیش
Beginners_-_ModifyMultiDArrayFunction.c d4a8f8d57c Create Beginners_-_ModifyMultiDArrayFunction.c 5 سال پیش
Beginners_-_MouseOrKeyDown.c 9b7486fa75 Create Beginners_-_MouseOrKeyDown.c 5 سال پیش
Beginners_-_Mouse_Position_and_DrawText.c 6d5345bafb Update Beginners_-_Mouse_Position_and_DrawText.c 5 سال پیش
Beginners_-_Pass_Array_Function.c 6ec625333d Create Beginners_-_Pass_Array_Function.c 5 سال پیش
Beginners_-_Player_Struct.c 9808276286 Create Beginners_-_Player_Struct.c 5 سال پیش
Beginners_-_Print_DebugConsole.c f6608c0779 Create Beginners_-_Print_DebugConsole.c 5 سال پیش
Beginners_-_RectangleCollision.c 4976218fa3 Update Beginners_-_RectangleCollision.c 5 سال پیش
Beginners_-_ScissorMode.c 3da8f8945a Create Beginners_-_ScissorMode.c 5 سال پیش
Beginners_-_SetClipboardText.c 7b906d1822 Create Beginners_-_SetClipboardText.c 5 سال پیش
Beginners_-_SetClipboard_mergeintegers.c c92e822a2f Update Beginners_-_SetClipboard_mergeintegers.c 5 سال پیش
Beginners_-_SetClipboard_strcat.c 4a431f7d90 Create Beginners_-_SetClipboard_strcat.c 5 سال پیش
Beginners_-_Sizeof_array_size.c a4e4404293 Create Beginners_-_Sizeof_array_size.c 5 سال پیش
Beginners_-_Sprite_RotationScaling.c 00e09afd35 Rename Beginners_-_Sprite_Rotation.c to Beginners_-_Sprite_RotationScaling.c 5 سال پیش
Beginners_-_Stack_Struct_Array.c f5021c78c4 Create Beginners_-_Stack_Struct_Array.c 5 سال پیش
Beginners_-_String_To_Integer.c 11c8fd3b4d Create Beginners_-_String_To_Integer.c 5 سال پیش
Beginners_-_String_To_Integers.c cb2123e345 Create Beginners_-_String_To_Integers.c 5 سال پیش
Beginners_-_String_functions.c 0ca474b20d Create Beginners_-_String_functions.c 5 سال پیش
Beginners_-_String_inside_char.c 290425545c Create Beginners_-_String_inside_char.c 5 سال پیش
Beginners_-_StructDesignatedInitializer.c 6ebe62adaa Create Beginners_-_StructDesignatedInitializer.c 5 سال پیش
Beginners_-_StructStackListFunction.c 752c5efe45 Update Beginners_-_StructStackListFunction.c 5 سال پیش
Beginners_-_Struct_in_Struct.c 7fa2141208 Update Beginners_-_Struct_in_Struct.c 5 سال پیش
Beginners_-_Structs_arrays2.c 59b6ac7e5a Update Beginners_-_Structs_arrays2.c 5 سال پیش
Beginners_-_TakeScreenshot.c 8b694ac940 Create Beginners_-_TakeScreenshot.c 5 سال پیش
Beginners_-_Using_Color.c ed06738a65 Create Beginners_-_Using_Color.c 5 سال پیش
Beginners_-_Vector2.c 65ff7d5efb Create Beginners_-_Vector2.c 5 سال پیش
Beginners_-_cos_and_sin.c 60d835a9f3 Create Beginners_-_cos_and_sin.c 5 سال پیش
Beginners_-_ifelse_One_Line.c 57d49c57ba Rename Beginners_-_if_One_Line.c to Beginners_-_ifelse_One_Line.c 5 سال پیش
Beginners_-_sizeof_variablesmemory.c d890e21bed Create Beginners_-_sizeof_variablesmemory.c 5 سال پیش
Beginners_-_strcpy_struct_char.c 2d86e71814 Create Beginners_-_strcpy_struct_char.c 5 سال پیش
Beginners_-_switch_default.c 55f6238ae7 Create Beginners_-_switch_default.c 5 سال پیش
Beginners_-_tilemap_minimum.c 8db74d6f81 Update Beginners_-_tilemap_minimum.c 5 سال پیش
Beginners_-_voidFunctions.c 94b7403f51 Create Beginners_-_voidFunctions.c 5 سال پیش
Collision_-_CircleRectCollide.c 8639d5cdcb Create Collision_-_CircleRectCollide.c 5 سال پیش
Collision_-_Get_Lines_Intersect.c 0531655095 Update Collision_-_Get_Lines_Intersect.c 5 سال پیش
Collision_-_LinesegCircleCollide.c 65bc705724 Create Collision_-_LinesegCircleCollide.c 5 سال پیش
Collision_-_PointTileMAPCollide.c 4314f1149f Create Collision_-_PointTileMAPCollide.c 5 سال پیش
Collision_-_PolyvsPoly_Collide.c 0e0ebc566b Create Collision_-_PolyvsPoly_Collide.c 5 سال پیش
Collision_-_RectTileMAPCollide.c 85eaabbcb6 Create Collision_-_RectTileMAPCollide.c 5 سال پیش
Collision_-_rectsoverlap.c 6e0da733e3 Create Collision_-_rectsoverlap.c 5 سال پیش
Empty_Template.c f119708561 Create Empty_Template.c 5 سال پیش
Example_-_2D_ShootBullets.c 47f9aeb2b0 Update Example_-_2D_ShootBullets.c 5 سال پیش
Example_-_Additive_Blend_Smoke_trail.c 43b678cb6f Create Example_-_Additive_Blend_Smoke_trail.c 5 سال پیش
Example_-_AiRadar_movetotarget.c a2467eb1a9 Create Example_-_AiRadar_movetotarget.c 5 سال پیش
Example_-_ArrayToCode-Paste.c dddb791ceb Create Example_-_ArrayToCode-Paste.c 5 سال پیش
Example_-_Bresenham_oval_array.c f547025198 Create Example_-_Bresenham_oval_array.c 5 سال پیش
Example_-_BruteForceCircleFill2.c aceda0abe4 Create Example_-_BruteForceCircleFill2.c 5 سال پیش
Example_-_BruteForceCirclefill.c 4703bd3ed1 Create Example_-_BruteForceCirclefill.c 5 سال پیش
Example_-_Collision_map.c 8e454811a3 Update Example_-_Collision_map.c 5 سال پیش
Example_-_Flood_Path_Map.c f4a1a69b0f Update Example_-_Flood_Path_Map.c 5 سال پیش
Example_-_MapSmoothplayer.c 71e6586f85 Create Example_-_MapSmoothplayer.c 5 سال پیش
Example_-_MiniMap.c 0b91ec21a1 Rename Example-MiniMap.c to Example_-_MiniMap.c 5 سال پیش
Example_-_Orientation_PointvsLine.c a819ec1658 Update Example_-_Orientation_PointvsLine.c 5 سال پیش
Example_-_PlayerJumping.c f5c369fcb7 Create Example_-_PlayerJumping.c 5 سال پیش
Example_-_Rainbow_Backgrounds.c d94cd8e3b1 Update Example_-_Rainbow_Backgrounds.c 5 سال پیش
Example_-_Rayio.c a7118bb0d8 Create Example_-_Rayio.c 5 سال پیش
Example_-_Switch_array_hills.c aab2c57cbc Update Example_-_Switch_array_hills.c 5 سال پیش
Example_-_Turret_TurnToTarget.c 85f589c410 Update Example_-_Turret_TurnToTarget.c 5 سال پیش
File_-_ReadAndWrite_Array.c c93220253e Create File_-_ReadAndWrite_Array.c 5 سال پیش
File_-_ReadDirIntoCharArray.c 741dbfa7be Create File_-_ReadDirIntoCharArray.c 5 سال پیش
File_-_fopen_writefile.c ca4ef6844a Create File_-_fopen_writefile.c 5 سال پیش
Function_-_float_random.c c455c10cf2 Create Function_-_float_random.c 5 سال پیش
Functions_-_Clamp.c ba7d2ef115 Rename Example_-_Clamp.c to Functions_-_Clamp.c 5 سال پیش
Functions_-_angledifference.c fcb60c4129 Rename Example_-_angledifference.c to Functions_-_angledifference.c 5 سال پیش
Functions_-_distance_EuclMan.c 3d23430293 Create Functions_-_distance_EuclMan.c 5 سال پیش
Functions_-_drawroundedrect.c fcdf3a0458 Create Functions_-_drawroundedrect.c 5 سال پیش
Functions_-_getangle.c 5fccf076f0 Create Functions_-_getangle.c 5 سال پیش
Functions_-_scanlinefill_bresenhamline.c af3de8f730 Rename function_-_scanlinefill_bresenhamline.c to Functions_-_scanlinefill_bresenhamline.c 5 سال پیش
README.md abe00d9bcc Update README.md 3 سال پیش
Template_-_BreathFDist_TileMap.c 3a63977c49 Create Template_-_BreathFDist_TileMap.c 5 سال پیش
Template_-_Map_BreathFdist_Smooth.c 4030404c37 Create Template_-_Map_BreathFdist_Smooth.c 5 سال پیش

README.md

Raylib-Examples ( Learn how to code games by studying examples )

My collection of raylib examples. ( https://www.raylib.com/index.html )

For Raylib Version of 4 april 2020 ( Notepad++ windows installer version )

So far every different file in the repo are standalone. GFX and maybe sound wil be included inside the code files as array data.

I might end up storing and creating a few hundred game related code examples in this repo over the next couple of years.


Points of interest for me and this repo are :

*learning C with Raylib
*Learning more about how Rts/Fps/Rpg/Tbs/Shooter/Action/Puzzle games work.
*Tools for eq. Sprite editing(For direct pasting into code)
*Main focus - Minecraft and Civilization 1/2 style games.

Dotate to author (book and motivation funds) https://www.paypal.me/RudyvanEtten/5


There might be periods where I spend time practising other things like music composition and/or pixelart. Thus there might be a time where I spend less or no time coding. My pixelart blog is : http://pixelart001.blogspot.com/ My music is at : https://soundcloud.com/pakz001


How to use these examples :

Each example in here is a standalone .c file. I myself just copy and paste the one I need into notepad++ and save it as a new .c file and it just works. You should also be able to save this repo as a zip and unzip it and be able to load each example and run it.

Possibly a .h file like raymath.h sometimes is not found, this happens with certain examples in the official examples. You can copy that .h files from the /src files into the folder with the example that needs it. That seemed to have worked for me.

The pico8 inspired sprite and map editor in the spriteeditor folder exports the current image as a c array into the clipboard buffer that can then be pasted inside your code. I use this myself. The 'c' key inside the editor is used for this(in the sprite editor section.) (New version should read 8x8 sprite arrays back into the editor with the 'p' key)(save all(f5)loadall(f6)(tab=switch between spriteview and map view.)
Youtube video's of some of the game projects in the repo here :


Video link (youtube) of the Platformer game template(drones)
Watch the video

Video link (youtube) of the Dungeon with dangerous spiders game example.
Watch the video



My other hobby : https://soundcloud.com/pakz001
https://pixelart001.blogspot.com/