User Tools

Site Tools


code_snippets:code_snippet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
code_snippets:code_snippet [2024/10/07 14:12] – [Platform Info] mrvalentinecode_snippets:code_snippet [2024/10/22 07:17] (current) – [Loading and Drawing Tiled Maps] mrvalentine
Line 21: Line 21:
  
 ---- ----
 +
 +==== Drawing When Loaded ====
  
 [[code_snippets:drawing_when_loaded|Drawing When Loaded]] [[code_snippets:drawing_when_loaded|Drawing When Loaded]]
Line 26: Line 28:
  
 Did you know you can start your game while assets are still loading? here is a basic example of it. Did you know you can start your game while assets are still loading? here is a basic example of it.
 +
 +----
 +
 +==== Device Reset With Loading ====
 +
 +[[code_snippets:device_reset_with_loading|Device Reset With Loading]]
 +
 +
 +Here is a basic implementation of handling Device Reset events, with the content loading implementation.
 +
 +----
 +
 +==== PSX Scaling ====
 +
 +[[code_snippets:psx_scaling|PSX Scaling]]
 +
 +The code required to draw PSX scale resolution games, in Wide Screen!
  
 ---- ----
Line 33: Line 52:
 Code that is a little longer than 5-10 lines of code excluding comments. Code that is a little longer than 5-10 lines of code excluding comments.
  
 +----
 +
 +==== Frameless Window Draggable ====
  
 [[code_snippets:frameless_window_draggable|Frameless Window Draggable]] [[code_snippets:frameless_window_draggable|Frameless Window Draggable]]
Line 39: Line 61:
  
 ---- ----
 +
 +==== Loading and Drawing Tiled Maps ====
  
 [[code_snippets:loading_drawing_tiled_maps|Loading and Drawing Tiled Maps]] [[code_snippets:loading_drawing_tiled_maps|Loading and Drawing Tiled Maps]]
  
 This is a roll your own implementation for loading Tiled maps, you can also use MonoGame.Extended to load them too, but this helps you to understand the roll your own process. This is a roll your own implementation for loading Tiled maps, you can also use MonoGame.Extended to load them too, but this helps you to understand the roll your own process.
 +
 +----
 +
 +==== Animated Custom Mouse Cursor ====
 +
 +[[code_snippets:animated_custom_mouse_cursor|Animated Custom Mouse Cursor]]
 +
 +Code to use a custom mouse cursor and also immediate mode is explained briefly.
  
 ---- ----
code_snippets/code_snippet.1728310379.txt.gz · Last modified: 2024/10/07 14:12 by mrvalentine