-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtutorials.html
More file actions
1440 lines (1282 loc) · 77.8 KB
/
Copy pathtutorials.html
File metadata and controls
1440 lines (1282 loc) · 77.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tutorials - CNA Game Development Guides</title>
<meta name="description" content="129 step-by-step CNA tutorials covering everything from your first window to release-specific renderer, platform, effects and C API workflows. Beginner to expert.">
<meta property="og:type" content="website">
<meta property="og:site_name" content="CNA">
<meta property="og:url" content="https://libcna.com/tutorials.html">
<meta property="og:title" content="Tutorials - CNA Game Development Guides">
<meta property="og:description" content="129 step-by-step CNA tutorials covering everything from your first window to release-specific renderer, platform, effects and C API workflows. Beginner to expert.">
<link rel="stylesheet" href="css/style.css">
<link rel="icon" href="favicon.svg" type="image/svg+xml">
<link rel="canonical" href="https://libcna.com/tutorials.html">
<style>
/* ---- Tutorial-specific styles ---- */
.tut-jump-nav {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 1.5rem;
}
.tut-jump-link {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.3rem 0.85rem;
border-radius: 999px;
font-size: 0.8rem;
font-weight: 600;
text-decoration: none;
transition: opacity 0.15s, transform 0.15s;
}
.tut-jump-link:hover { opacity: 0.85; transform: translateY(-1px); text-decoration: none; }
.tut-jump-link--green { background: rgba(63,185,80,0.15); color: #3fb950; border: 1px solid rgba(63,185,80,0.4); }
.tut-jump-link--blue { background: rgba(88,166,255,0.12); color: #58a6ff; border: 1px solid rgba(88,166,255,0.4); }
.tut-jump-link--orange { background: rgba(210,153,34,0.15); color: #d29922; border: 1px solid rgba(210,153,34,0.4); }
.tut-jump-link--red { background: rgba(248,81,73,0.12); color: #f85149; border: 1px solid rgba(248,81,73,0.4); }
.tut-progress-bar-wrap {
background: var(--bg-tertiary);
border-radius: 999px;
height: 6px;
overflow: hidden;
margin-top: 0.75rem;
max-width: 340px;
}
.tut-progress-bar {
height: 100%;
background: linear-gradient(90deg, #3fb950, #58a6ff);
border-radius: 999px;
}
.tut-progress-label {
font-size: 0.78rem;
color: var(--text-muted);
margin-top: 0.35rem;
}
/* Section header card */
.tut-section-card {
display: flex;
align-items: flex-start;
gap: 1.25rem;
padding: 1.5rem 1.75rem;
border-radius: var(--radius-lg);
margin-bottom: 2rem;
border: 1px solid;
}
.tut-section-card--green { background: rgba(63,185,80,0.06); border-color: rgba(63,185,80,0.3); }
.tut-section-card--blue { background: rgba(88,166,255,0.06); border-color: rgba(88,166,255,0.3); }
.tut-section-card--orange { background: rgba(210,153,34,0.06); border-color: rgba(210,153,34,0.3); }
.tut-section-card--red { background: rgba(248,81,73,0.06); border-color: rgba(248,81,73,0.3); }
.tut-section-icon { font-size: 2rem; flex-shrink: 0; }
.tut-section-card h2 { margin: 0 0 0.35rem; font-size: 1.5rem; }
.tut-section-card p { margin: 0; font-size: 0.9rem; }
.diff-badge {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.2rem 0.65rem;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
margin-bottom: 0.4rem;
}
.diff-badge::before {
content: '';
width: 6px; height: 6px;
border-radius: 50%;
background: currentColor;
display: block;
}
.diff-badge--green { background: rgba(63,185,80,0.15); color: #3fb950; border: 1px solid rgba(63,185,80,0.35); }
.diff-badge--blue { background: rgba(88,166,255,0.12); color: #58a6ff; border: 1px solid rgba(88,166,255,0.35); }
.diff-badge--orange { background: rgba(210,153,34,0.15); color: #d29922; border: 1px solid rgba(210,153,34,0.35); }
.diff-badge--red { background: rgba(248,81,73,0.12); color: #f85149; border: 1px solid rgba(248,81,73,0.35); }
.tut-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.75rem;
margin-top: 0.35rem;
}
.tut-meta-item {
font-size: 0.8rem;
color: var(--text-muted);
}
/* Tutorial item grid */
.tut-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
gap: 0.5rem;
}
.tut-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.7rem 0.9rem;
background: var(--bg-secondary);
border: 1px solid var(--border);
border-radius: var(--radius-md);
text-decoration: none;
color: var(--text-primary);
transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.tut-item:hover {
border-color: var(--border-light);
background: var(--bg-hover);
box-shadow: 0 2px 12px rgba(0,0,0,0.3);
text-decoration: none;
color: var(--text-primary);
}
.tut-num {
font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
font-size: 0.75rem;
font-weight: 700;
color: var(--text-muted);
min-width: 2.1rem;
flex-shrink: 0;
}
.tut-title {
flex: 1;
font-size: 0.875rem;
font-weight: 500;
line-height: 1.3;
}
.tut-time {
font-size: 0.72rem;
color: var(--text-muted);
white-space: nowrap;
flex-shrink: 0;
}
/* Colour-coded left border per difficulty */
.tut-item--green { border-left: 2px solid rgba(63,185,80,0.5); }
.tut-item--blue { border-left: 2px solid rgba(88,166,255,0.5); }
.tut-item--orange { border-left: 2px solid rgba(210,153,34,0.5); }
.tut-item--red { border-left: 2px solid rgba(248,81,73,0.5); }
.tut-item--green:hover { border-left-color: #3fb950; }
.tut-item--blue:hover { border-left-color: #58a6ff; }
.tut-item--orange:hover { border-left-color: #d29922; }
.tut-item--red:hover { border-left-color: #f85149; }
/* Available indicator */
.tut-item--available .tut-title { color: var(--text-primary); }
/* Search hint bar */
.search-hint {
display: flex;
align-items: center;
gap: 0.75rem;
background: var(--bg-tertiary);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 0.65rem 1rem;
font-size: 0.85rem;
color: var(--text-secondary);
}
.search-hint kbd {
display: inline-block;
background: var(--bg-secondary);
border: 1px solid var(--border-light);
border-bottom-width: 2px;
border-radius: 4px;
padding: 0.1rem 0.45rem;
font-size: 0.75rem;
font-family: inherit;
color: var(--text-primary);
}
@media (max-width: 640px) {
.tut-grid { grid-template-columns: 1fr; }
.tut-section-card { flex-direction: column; gap: 0.75rem; }
.tut-jump-nav { gap: 0.35rem; }
}
</style>
<link rel="stylesheet" href="css/prism-tomorrow.min.css">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ItemList",
"name": "CNA Tutorial Series",
"description": "129 step-by-step tutorials for C++ game development with CNA, from beginner to expert.",
"url": "https://libcna.com/tutorials.html",
"numberOfItems": 129,
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Introduction to CNA", "url": "https://libcna.com/docs/tutorials/01-introduction.html" },
{ "@type": "ListItem", "position": 2, "name": "Setting Up Your Dev Environment", "url": "https://libcna.com/docs/tutorials/02-setup.html" },
{ "@type": "ListItem", "position": 3, "name": "Your First CNA Window", "url": "https://libcna.com/docs/tutorials/03-first-window.html" },
{ "@type": "ListItem", "position": 4, "name": "The Game Class Lifecycle", "url": "https://libcna.com/docs/tutorials/04-game-lifecycle.html" },
{ "@type": "ListItem", "position": 5, "name": "The Game Loop: Update and Draw", "url": "https://libcna.com/docs/tutorials/05-game-loop.html" },
{ "@type": "ListItem", "position": 6, "name": "Drawing Your First 2D Shape", "url": "https://libcna.com/docs/tutorials/06-first-shape.html" },
{ "@type": "ListItem", "position": 7, "name": "Working with Colors", "url": "https://libcna.com/docs/tutorials/07-colors.html" },
{ "@type": "ListItem", "position": 8, "name": "Loading and Drawing Textures", "url": "https://libcna.com/docs/tutorials/08-textures.html" },
{ "@type": "ListItem", "position": 9, "name": "Drawing Text with SpriteFont", "url": "https://libcna.com/docs/tutorials/09-spritefont.html" },
{ "@type": "ListItem", "position": 10, "name": "Handling Keyboard Input", "url": "https://libcna.com/docs/tutorials/10-keyboard.html" },
{ "@type": "ListItem", "position": 11, "name": "Handling Mouse Input", "url": "https://libcna.com/docs/tutorials/11-mouse.html" },
{ "@type": "ListItem", "position": 12, "name": "Moving Sprites and Basic Animation", "url": "https://libcna.com/docs/tutorials/12-moving-sprites.html" },
{ "@type": "ListItem", "position": 13, "name": "Sprite Sheets and Frame Animation", "url": "https://libcna.com/docs/tutorials/13-sprite-sheets.html" },
{ "@type": "ListItem", "position": 14, "name": "Playing Sound Effects", "url": "https://libcna.com/docs/tutorials/14-sound-effects.html" },
{ "@type": "ListItem", "position": 15, "name": "Playing Background Music", "url": "https://libcna.com/docs/tutorials/15-background-music.html" },
{ "@type": "ListItem", "position": 16, "name": "Basic Collision Detection", "url": "https://libcna.com/docs/tutorials/16-collision-detection.html" },
{ "@type": "ListItem", "position": 17, "name": "2D Camera and Viewport", "url": "https://libcna.com/docs/tutorials/17-camera-2d.html" },
{ "@type": "ListItem", "position": 18, "name": "Game States — Menus and Scenes", "url": "https://libcna.com/docs/tutorials/18-game-states.html" },
{ "@type": "ListItem", "position": 19, "name": "Saving and Loading Data", "url": "https://libcna.com/docs/tutorials/19-save-load.html" },
{ "@type": "ListItem", "position": 20, "name": "Building and Running Your Game", "url": "https://libcna.com/docs/tutorials/20-build-run.html" },
{ "@type": "ListItem", "position": 21, "name": "SpriteBatch Deep Dive", "url": "https://libcna.com/docs/tutorials/21-spritebatch.html" },
{ "@type": "ListItem", "position": 22, "name": "Blend Modes and Alpha Compositing", "url": "https://libcna.com/docs/tutorials/22-blend-modes.html" },
{ "@type": "ListItem", "position": 23, "name": "Render Targets for Off-Screen Rendering", "url": "https://libcna.com/docs/tutorials/23-render-targets.html" },
{ "@type": "ListItem", "position": 24, "name": "Post-Processing with Render Targets", "url": "https://libcna.com/docs/tutorials/24-post-processing.html" },
{ "@type": "ListItem", "position": 25, "name": "SpriteSortMode and Layering", "url": "https://libcna.com/docs/tutorials/25-sprite-sort-mode.html" },
{ "@type": "ListItem", "position": 26, "name": "Tilemaps and Tile-Based Worlds", "url": "https://libcna.com/docs/tutorials/26-tilemaps.html" },
{ "@type": "ListItem", "position": 27, "name": "Scrolling Backgrounds and Parallax", "url": "https://libcna.com/docs/tutorials/27-parallax.html" },
{ "@type": "ListItem", "position": 28, "name": "Particle Systems in 2D", "url": "https://libcna.com/docs/tutorials/28-particles-2d.html" },
{ "@type": "ListItem", "position": 29, "name": "UI Elements: Buttons and Menus", "url": "https://libcna.com/docs/tutorials/29-ui-elements.html" },
{ "@type": "ListItem", "position": 30, "name": "GamePad and Controller Input", "url": "https://libcna.com/docs/tutorials/30-gamepad.html" },
{ "@type": "ListItem", "position": 31, "name": "Your First 3D Triangle", "url": "https://libcna.com/docs/tutorials/31-first-3d-triangle.html" },
{ "@type": "ListItem", "position": 32, "name": "BasicEffect and 3D Lighting", "url": "https://libcna.com/docs/tutorials/32-basiceffect.html" },
{ "@type": "ListItem", "position": 33, "name": "Matrices and Transformations", "url": "https://libcna.com/docs/tutorials/33-matrices.html" },
{ "@type": "ListItem", "position": 34, "name": "3D Camera Setup and Control", "url": "https://libcna.com/docs/tutorials/34-camera-3d.html" },
{ "@type": "ListItem", "position": 35, "name": "Loading 3D Models", "url": "https://libcna.com/docs/tutorials/35-model-loading.html" },
{ "@type": "ListItem", "position": 36, "name": "Texturing 3D Models", "url": "https://libcna.com/docs/tutorials/36-model-texturing.html" },
{ "@type": "ListItem", "position": 37, "name": "Multiple Light Sources", "url": "https://libcna.com/docs/tutorials/37-multiple-lights.html" },
{ "@type": "ListItem", "position": 38, "name": "Vertex Buffers and Index Buffers", "url": "https://libcna.com/docs/tutorials/38-vertex-buffers.html" },
{ "@type": "ListItem", "position": 39, "name": "Depth Buffer and Z-Fighting", "url": "https://libcna.com/docs/tutorials/39-depth-buffer.html" },
{ "@type": "ListItem", "position": 40, "name": "Primitive Types", "url": "https://libcna.com/docs/tutorials/40-primitive-types.html" },
{ "@type": "ListItem", "position": 41, "name": "Vector2, Vector3, Vector4 Math", "url": "https://libcna.com/docs/tutorials/41-math-vectors.html" },
{ "@type": "ListItem", "position": 42, "name": "Matrix Operations and Transforms", "url": "https://libcna.com/docs/tutorials/42-matrix-ops.html" },
{ "@type": "ListItem", "position": 43, "name": "Quaternions for Smooth Rotation", "url": "https://libcna.com/docs/tutorials/43-quaternions.html" },
{ "@type": "ListItem", "position": 44, "name": "Bounding Volumes and Spatial Queries", "url": "https://libcna.com/docs/tutorials/44-bounding-volumes.html" },
{ "@type": "ListItem", "position": 45, "name": "ContentManager and Asset Pipeline", "url": "https://libcna.com/docs/tutorials/45-content-manager.html" },
{ "@type": "ListItem", "position": 46, "name": "Custom Content Readers", "url": "https://libcna.com/docs/tutorials/46-content-reader.html" },
{ "@type": "ListItem", "position": 47, "name": "GameComponent and DrawableGameComponent", "url": "https://libcna.com/docs/tutorials/47-game-component.html" },
{ "@type": "ListItem", "position": 48, "name": "Fixed vs Variable Timestep", "url": "https://libcna.com/docs/tutorials/48-timestep.html" },
{ "@type": "ListItem", "position": 49, "name": "Touch Input and Gestures", "url": "https://libcna.com/docs/tutorials/49-touch-input.html" },
{ "@type": "ListItem", "position": 50, "name": "Accelerometer and Sensors", "url": "https://libcna.com/docs/tutorials/50-accelerometer.html" },
{ "@type": "ListItem", "position": 51, "name": "Custom Vertex Types", "url": "https://libcna.com/docs/tutorials/51-custom-vertex.html" },
{ "@type": "ListItem", "position": 52, "name": "Writing Custom Shaders (ShaderEffect)", "url": "https://libcna.com/docs/tutorials/52-custom-shaders.html" },
{ "@type": "ListItem", "position": 53, "name": "Shader Uniforms and EffectParameter", "url": "https://libcna.com/docs/tutorials/53-effect-parameter.html" },
{ "@type": "ListItem", "position": 54, "name": "AlphaTestEffect and Alpha Masking", "url": "https://libcna.com/docs/tutorials/54-alpha-test.html" },
{ "@type": "ListItem", "position": 55, "name": "DualTextureEffect for Lightmaps", "url": "https://libcna.com/docs/tutorials/55-dual-texture.html" },
{ "@type": "ListItem", "position": 56, "name": "EnvironmentMapEffect for Reflections", "url": "https://libcna.com/docs/tutorials/56-environment-map.html" },
{ "@type": "ListItem", "position": 57, "name": "SkinnedEffect and Skeletal Animation", "url": "https://libcna.com/docs/tutorials/57-skinned-effect.html" },
{ "@type": "ListItem", "position": 58, "name": "Normal Mapping", "url": "https://libcna.com/docs/tutorials/58-normal-mapping.html" },
{ "@type": "ListItem", "position": 59, "name": "Shadow Mapping", "url": "https://libcna.com/docs/tutorials/59-shadow-mapping.html" },
{ "@type": "ListItem", "position": 60, "name": "Instanced Rendering", "url": "https://libcna.com/docs/tutorials/60-instancing.html" },
{ "@type": "ListItem", "position": 61, "name": "Occlusion Queries", "url": "https://libcna.com/docs/tutorials/61-occlusion-query.html" },
{ "@type": "ListItem", "position": 62, "name": "Multiple Render Targets (MRT)", "url": "https://libcna.com/docs/tutorials/62-mrt.html" },
{ "@type": "ListItem", "position": 63, "name": "Stencil Buffer Effects", "url": "https://libcna.com/docs/tutorials/63-stencil-buffer.html" },
{ "@type": "ListItem", "position": 64, "name": "Cubemaps and Skyboxes", "url": "https://libcna.com/docs/tutorials/64-cubemaps.html" },
{ "@type": "ListItem", "position": 65, "name": "MSAA Anti-Aliasing", "url": "https://libcna.com/docs/tutorials/65-msaa.html" },
{ "@type": "ListItem", "position": 66, "name": "Post-Processing: Blur and Bloom", "url": "https://libcna.com/docs/tutorials/66-bloom.html" },
{ "@type": "ListItem", "position": 67, "name": "Deferred Rendering", "url": "https://libcna.com/docs/tutorials/67-deferred-rendering.html" },
{ "@type": "ListItem", "position": 68, "name": "Terrain Rendering", "url": "https://libcna.com/docs/tutorials/68-terrain.html" },
{ "@type": "ListItem", "position": 69, "name": "Water and Reflections", "url": "https://libcna.com/docs/tutorials/69-water.html" },
{ "@type": "ListItem", "position": 70, "name": "Procedural Geometry", "url": "https://libcna.com/docs/tutorials/70-procedural-geometry.html" },
{ "@type": "ListItem", "position": 71, "name": "Memory Management in C++", "url": "https://libcna.com/docs/tutorials/71-memory-management.html" },
{ "@type": "ListItem", "position": 72, "name": "Choosing a Renderer", "url": "https://libcna.com/docs/tutorials/72-backend-selection.html" },
{ "@type": "ListItem", "position": 73, "name": "Performance Profiling and Optimization", "url": "https://libcna.com/docs/tutorials/73-profiling.html" },
{ "@type": "ListItem", "position": 74, "name": "Frustum Culling", "url": "https://libcna.com/docs/tutorials/74-frustum-culling.html" },
{ "@type": "ListItem", "position": 75, "name": "Level of Detail (LOD)", "url": "https://libcna.com/docs/tutorials/75-lod.html" },
{ "@type": "ListItem", "position": 76, "name": "Spatial Partitioning", "url": "https://libcna.com/docs/tutorials/76-spatial-partitioning.html" },
{ "@type": "ListItem", "position": 77, "name": "Asset Streaming and Async Loading", "url": "https://libcna.com/docs/tutorials/77-async-loading.html" },
{ "@type": "ListItem", "position": 78, "name": "Multi-threading Considerations", "url": "https://libcna.com/docs/tutorials/78-multithreading.html" },
{ "@type": "ListItem", "position": 79, "name": "Debugging Rendering Issues", "url": "https://libcna.com/docs/tutorials/79-debugging.html" },
{ "@type": "ListItem", "position": 80, "name": "Cross-Platform Build Guide", "url": "https://libcna.com/docs/tutorials/80-cross-platform.html" },
{ "@type": "ListItem", "position": 81, "name": "Emscripten: Building for WebAssembly", "url": "https://libcna.com/docs/tutorials/81-emscripten.html" },
{ "@type": "ListItem", "position": 82, "name": "Android Build and Deployment", "url": "https://libcna.com/docs/tutorials/82-android.html" },
{ "@type": "ListItem", "position": 83, "name": "Migrating from MonoGame/FNA to CNA", "url": "https://libcna.com/docs/tutorials/83-migrate-monogame.html" },
{ "@type": "ListItem", "position": 84, "name": "Migrating from XNA to CNA", "url": "https://libcna.com/docs/tutorials/84-migrate-xna.html" },
{ "@type": "ListItem", "position": 85, "name": "The Vulkan Renderer: Setup and Quirks", "url": "https://libcna.com/docs/tutorials/85-vulkan-backend.html" },
{ "@type": "ListItem", "position": 86, "name": "The bgfx Renderer: Features and Limitations", "url": "https://libcna.com/docs/tutorials/86-bgfx-backend.html" },
{ "@type": "ListItem", "position": 87, "name": "Writing a Custom Renderer", "url": "https://libcna.com/docs/tutorials/87-custom-backend.html" },
{ "@type": "ListItem", "position": 88, "name": "Native OS Integration with CNA::Devices", "url": "https://libcna.com/docs/tutorials/88-device-layer.html" },
{ "@type": "ListItem", "position": 89, "name": "Extending CNA with sharp-runtime", "url": "https://libcna.com/docs/tutorials/89-sharp-runtime.html" },
{ "@type": "ListItem", "position": 90, "name": "Integration with easy-gl Directly", "url": "https://libcna.com/docs/tutorials/90-easy-gl.html" },
{ "@type": "ListItem", "position": 91, "name": "Building a 2D Platformer", "url": "https://libcna.com/docs/tutorials/91-platformer.html" },
{ "@type": "ListItem", "position": 92, "name": "Building a Top-Down RPG", "url": "https://libcna.com/docs/tutorials/92-top-down-rpg.html" },
{ "@type": "ListItem", "position": 93, "name": "Building a First-Person 3D Game", "url": "https://libcna.com/docs/tutorials/93-fps-game.html" },
{ "@type": "ListItem", "position": 94, "name": "Building a Puzzle Game", "url": "https://libcna.com/docs/tutorials/94-puzzle-game.html" },
{ "@type": "ListItem", "position": 95, "name": "Speedy Blupi: A Real-World CNA Port", "url": "https://libcna.com/docs/tutorials/95-speedy-blupi.html" },
{ "@type": "ListItem", "position": 96, "name": "Physics Integration (Box2D / Bullet)", "url": "https://libcna.com/docs/tutorials/96-physics.html" },
{ "@type": "ListItem", "position": 97, "name": "Networking and Multiplayer Basics", "url": "https://libcna.com/docs/tutorials/97-networking.html" },
{ "@type": "ListItem", "position": 98, "name": "Localization and Multiple Languages", "url": "https://libcna.com/docs/tutorials/98-localization.html" },
{ "@type": "ListItem", "position": 99, "name": "Unit Testing CNA Game Logic", "url": "https://libcna.com/docs/tutorials/99-unit-testing.html" },
{ "@type": "ListItem", "position": 100, "name": "Shipping Your CNA Game", "url": "https://libcna.com/docs/tutorials/100-shipping.html" },
{ "@type": "ListItem", "position": 101, "name": "Querying Renderer Capabilities", "url": "https://libcna.com/docs/tutorials/101-renderer-capabilities.html" },
{ "@type": "ListItem", "position": 102, "name": "The OpenGL Family", "url": "https://libcna.com/docs/tutorials/102-opengl-family.html" },
{ "@type": "ListItem", "position": 103, "name": "Direct3D 11 and 12 on Windows", "url": "https://libcna.com/docs/tutorials/103-direct3d-windows.html" },
{ "@type": "ListItem", "position": 104, "name": "The Historical DirectX Ladder", "url": "https://libcna.com/docs/tutorials/104-directx-ladder.html" },
{ "@type": "ListItem", "position": 105, "name": "Browser-Native Renderers", "url": "https://libcna.com/docs/tutorials/105-browser-renderers.html" },
{ "@type": "ListItem", "position": 106, "name": "2D Vector Renderers", "url": "https://libcna.com/docs/tutorials/106-vector-renderers.html" },
{ "@type": "ListItem", "position": 107, "name": "CPU-Only Renderers: Software, PortableGL, Headless and Stub", "url": "https://libcna.com/docs/tutorials/107-cpu-renderers.html" },
{ "@type": "ListItem", "position": 108, "name": "FNA3D: Running XNA's Real Compiled Stock Effects", "url": "https://libcna.com/docs/tutorials/108-fna3d.html" },
{ "@type": "ListItem", "position": 109, "name": "Metal on macOS", "url": "https://libcna.com/docs/tutorials/109-metal-macos.html" },
{ "@type": "ListItem", "position": 110, "name": "Loading glTF 2.0 Models at Runtime", "url": "https://libcna.com/docs/tutorials/110-gltf-models.html" },
{ "@type": "ListItem", "position": 111, "name": "The CNJ Format and the gltf_to_cnj Tool", "url": "https://libcna.com/docs/tutorials/111-cnj-pipeline.html" },
{ "@type": "ListItem", "position": 112, "name": "Skeletal Animation from glTF", "url": "https://libcna.com/docs/tutorials/112-gltf-animation.html" },
{ "@type": "ListItem", "position": 113, "name": "Morph Targets", "url": "https://libcna.com/docs/tutorials/113-morph-targets.html" },
{ "@type": "ListItem", "position": 114, "name": "PBR Materials with PbrEffect and SkinnedPbrEffect", "url": "https://libcna.com/docs/tutorials/114-pbr-materials.html" },
{ "@type": "ListItem", "position": 115, "name": "CNAEXT: Extending Beyond XNA", "url": "https://libcna.com/docs/tutorials/115-cnaext-overview.html" },
{ "@type": "ListItem", "position": 116, "name": "CNAEXT Post-Process Effects: ASCII, CRT, Depth and Colour Matrix", "url": "https://libcna.com/docs/tutorials/116-post-process-effects.html" },
{ "@type": "ListItem", "position": 117, "name": "The CNA::Devices Layer: Building With It, and Without It", "url": "https://libcna.com/docs/tutorials/117-devices-layer.html" },
{ "@type": "ListItem", "position": 118, "name": "Procedural Audio with DynamicSoundEffectInstance", "url": "https://libcna.com/docs/tutorials/118-dynamic-audio.html" },
{ "@type": "ListItem", "position": 119, "name": "3D Positional Audio", "url": "https://libcna.com/docs/tutorials/119-3d-audio.html" },
{ "@type": "ListItem", "position": 120, "name": "XACT: AudioEngine, SoundBank, WaveBank and Cue", "url": "https://libcna.com/docs/tutorials/120-xact.html" },
{ "@type": "ListItem", "position": 121, "name": "Video Playback with VideoPlayer", "url": "https://libcna.com/docs/tutorials/121-video-playback.html" },
{ "@type": "ListItem", "position": 122, "name": "MediaLibrary and Audio Visualization", "url": "https://libcna.com/docs/tutorials/122-media-library.html" },
{ "@type": "ListItem", "position": 123, "name": "Achievements and Leaderboards with Local Persistence", "url": "https://libcna.com/docs/tutorials/123-achievements.html" },
{ "@type": "ListItem", "position": 124, "name": "WebAssembly Gotchas: Game Lifetime, Storage and Video", "url": "https://libcna.com/docs/tutorials/124-web-gotchas.html" },
{ "@type": "ListItem", "position": 125, "name": "Headless and Pixel Testing, and the XNA Oracle Corpus", "url": "https://libcna.com/docs/tutorials/125-pixel-testing.html" },
{ "@type": "ListItem", "position": 126, "name": "Build Several Renderers and Select One at Runtime", "url": "https://libcna.com/docs/tutorials/126-multi-renderer-build.html" },
{ "@type": "ListItem", "position": 127, "name": "Choose Platform, Renderer, and Audio Independently", "url": "https://libcna.com/docs/tutorials/127-platform-audio-selection.html" },
{ "@type": "ListItem", "position": 128, "name": "Load Compiled XNA Effects on Supported Renderers", "url": "https://libcna.com/docs/tutorials/128-compiled-xna-effects.html" },
{ "@type": "ListItem", "position": 129, "name": "Inspect the Experimental C API Boundary", "url": "https://libcna.com/docs/tutorials/129-c-api-first-program.html" }
]
}
</script>
<script>(function(){try{var t=localStorage.getItem("cna-theme");if(t==="light"||t==="dark")document.documentElement.setAttribute("data-theme",t);}catch(e){}})();</script>
</head>
<body>
<a class="skip-link" href="#main-content">Skip to content</a>
<nav class="nav">
<div class="nav-container">
<a href="index.html" class="nav-brand">CNA</a>
<button class="nav-toggle" aria-label="Toggle navigation" aria-expanded="false">
<span></span><span></span><span></span>
</button>
<div class="nav-menu">
<a href="index.html" class="nav-link">Home</a>
<a href="about.html" class="nav-link">About</a>
<a href="features.html" class="nav-link">Features</a>
<a href="architecture.html" class="nav-link">Architecture</a>
<a href="documentation.html" class="nav-link">Documentation</a>
<a href="tutorials.html" class="nav-link active">Tutorials</a>
<a href="demos.html" class="nav-link">Demos</a>
<a href="showcase.html" class="nav-link">Showcase</a>
<a href="videos.html" class="nav-link">Videos</a>
<a href="roadmap.html" class="nav-link">Roadmap</a>
<a href="contact.html" class="nav-link">Contact</a>
<a href="search.html" class="nav-link">Search</a>
<a href="https://github.com/openeggbert/cna" class="nav-link nav-link--github" target="_blank" rel="noopener">GitHub</a>
<a href="https://discord.gg/vrnc4n6DaE" class="nav-link nav-link--discord" target="_blank" rel="noopener">Discord</a>
</div>
<button class="theme-toggle" type="button" aria-label="Switch to light theme" title="Switch to light theme">
<svg class="theme-icon-light" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 17a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-2a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.5 4.9l1.4-1.4 2.1 2.1-1.4 1.4L3.5 4.9zm13.5 13.5l1.4-1.4 2.1 2.1-1.4 1.4-2.1-2.1zM19.1 3.5l1.4 1.4-2.1 2.1-1.4-1.4 2.1-2.1zM5.6 17l1.4 1.4-2.1 2.1-1.4-1.4L5.6 17zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"/></svg>
<svg class="theme-icon-dark" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12.3 22a10 10 0 0 1-1.6-19.9c.6-.1 1 .5.8 1a7.9 7.9 0 0 0 9.7 10.6c.5-.2 1 .3.9.8A10 10 0 0 1 12.3 22z"/></svg>
</button>
</div>
</nav>
<main id="main-content">
<!-- ================================================================
Page header / hero
================================================================ -->
<div class="page-header">
<div class="container">
<span class="section-label">Tutorials</span>
<h1>CNA Tutorials</h1>
<p>From zero to shipping — 129 step-by-step guides for C++ game development with CNA, including four guides added for the first tagged pre-release.</p>
<div class="tut-progress-bar-wrap">
<div class="tut-progress-bar" style="width: 100%"></div>
</div>
<p class="tut-progress-label">All 129 tutorials available</p>
<nav class="tut-jump-nav" aria-label="Jump to difficulty section">
<a href="#beginner" class="tut-jump-link tut-jump-link--green">✓ Beginner — 01–20</a>
<a href="#intermediate" class="tut-jump-link tut-jump-link--blue">✓ Intermediate — 21–50</a>
<a href="#advanced" class="tut-jump-link tut-jump-link--orange">✓ Advanced — 51–80</a>
<a href="#expert" class="tut-jump-link tut-jump-link--red">✓ Expert — 81–100</a>
<a href="#renderers" class="tut-jump-link tut-jump-link--orange">✓ Renderers in Depth — 101–109</a>
<a href="#content-ext" class="tut-jump-link tut-jump-link--orange">✓ 3D Content and CNA Extensions — 110–117</a>
<a href="#subsystems" class="tut-jump-link tut-jump-link--red">✓ Audio, Media, Services and Verification — 118–125</a></nav>
</div>
</div>
<!-- Search hint -->
<section style="padding: 1.5rem 1.5rem 0;">
<div class="container">
<div class="search-hint">
<span>🔍</span>
<span>Looking for a specific topic? Press <kbd>Ctrl</kbd> + <kbd>F</kbd> (or <kbd>⌘</kbd> + <kbd>F</kbd> on macOS) to search this page by keyword.</span>
</div>
</div>
</section>
<!-- ================================================================
Section 1 — Beginner (01–20)
================================================================ -->
<section class="section" id="beginner">
<div class="container">
<div class="tut-section-card tut-section-card--green">
<div class="tut-section-icon">🌱</div>
<div>
<span class="diff-badge diff-badge--green">Beginner</span>
<h2>Getting Started</h2>
<p>No prior game-development experience required. Install CNA, open a window, draw sprites, play sounds, handle input, and ship your first game — from scratch in C++.</p>
<div class="tut-meta">
<span class="tut-meta-item">20 tutorials</span>
<span class="tut-meta-item">•</span>
<span class="tut-meta-item">⏰ 10–20 min each</span>
<span class="tut-meta-item">•</span>
<span class="tut-meta-item status-badge status-done">Available now</span>
</div>
</div>
</div>
<div class="tut-grid">
<a href="docs/tutorials/01-introduction.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">01</span>
<span class="tut-title">Introduction to CNA</span>
<span class="tut-time">10 min</span>
</a>
<a href="docs/tutorials/02-setup.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">02</span>
<span class="tut-title">Setting Up Your Dev Environment</span>
<span class="tut-time">12 min</span>
</a>
<a href="docs/tutorials/03-first-window.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">03</span>
<span class="tut-title">Your First CNA Window</span>
<span class="tut-time">12 min</span>
</a>
<a href="docs/tutorials/04-game-lifecycle.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">04</span>
<span class="tut-title">The Game Class Lifecycle</span>
<span class="tut-time">10 min</span>
</a>
<a href="docs/tutorials/05-game-loop.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">05</span>
<span class="tut-title">The Game Loop: Update and Draw</span>
<span class="tut-time">15 min</span>
</a>
<a href="docs/tutorials/06-first-shape.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">06</span>
<span class="tut-title">Drawing Your First 2D Shape</span>
<span class="tut-time">12 min</span>
</a>
<a href="docs/tutorials/07-colors.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">07</span>
<span class="tut-title">Working with Colors</span>
<span class="tut-time">8 min</span>
</a>
<a href="docs/tutorials/08-textures.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">08</span>
<span class="tut-title">Loading and Drawing Textures</span>
<span class="tut-time">15 min</span>
</a>
<a href="docs/tutorials/09-spritefont.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">09</span>
<span class="tut-title">Drawing Text with SpriteFont</span>
<span class="tut-time">12 min</span>
</a>
<a href="docs/tutorials/10-keyboard.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">10</span>
<span class="tut-title">Handling Keyboard Input</span>
<span class="tut-time">10 min</span>
</a>
<a href="docs/tutorials/11-mouse.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">11</span>
<span class="tut-title">Handling Mouse Input</span>
<span class="tut-time">10 min</span>
</a>
<a href="docs/tutorials/12-moving-sprites.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">12</span>
<span class="tut-title">Moving Sprites and Basic Animation</span>
<span class="tut-time">15 min</span>
</a>
<a href="docs/tutorials/13-sprite-sheets.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">13</span>
<span class="tut-title">Sprite Sheets and Frame Animation</span>
<span class="tut-time">18 min</span>
</a>
<a href="docs/tutorials/14-sound-effects.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">14</span>
<span class="tut-title">Playing Sound Effects</span>
<span class="tut-time">12 min</span>
</a>
<a href="docs/tutorials/15-background-music.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">15</span>
<span class="tut-title">Playing Background Music</span>
<span class="tut-time">10 min</span>
</a>
<a href="docs/tutorials/16-collision-detection.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">16</span>
<span class="tut-title">Basic Collision Detection</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/17-camera-2d.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">17</span>
<span class="tut-title">2D Camera and Viewport</span>
<span class="tut-time">15 min</span>
</a>
<a href="docs/tutorials/18-game-states.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">18</span>
<span class="tut-title">Game States — Menus and Scenes</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/19-save-load.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">19</span>
<span class="tut-title">Saving and Loading Data</span>
<span class="tut-time">15 min</span>
</a>
<a href="docs/tutorials/20-build-run.html" class="tut-item tut-item--green tut-item--available">
<span class="tut-num">20</span>
<span class="tut-title">Building and Running Your Game</span>
<span class="tut-time">12 min</span>
</a>
</div>
</div>
</section>
<!-- ================================================================
Section 2 — Intermediate (21–50)
================================================================ -->
<section class="section section--alt" id="intermediate">
<div class="container">
<div class="tut-section-card tut-section-card--blue">
<div class="tut-section-icon">⚒️</div>
<div>
<span class="diff-badge diff-badge--blue">Intermediate</span>
<h2>Core Systems</h2>
<p>Go deeper into 2D rendering, enter the third dimension, work with matrices and math, manage assets, and add gamepad and touch input to your games.</p>
<div class="tut-meta">
<span class="tut-meta-item">30 tutorials</span>
<span class="tut-meta-item">•</span>
<span class="tut-meta-item">⏰ 15–25 min each</span>
<span class="tut-meta-item">•</span>
<span class="tut-meta-item status-badge status-done">Available now</span>
</div>
</div>
</div>
<div class="tut-grid">
<a href="docs/tutorials/21-spritebatch.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">21</span>
<span class="tut-title">SpriteBatch Deep Dive</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/22-blend-modes.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">22</span>
<span class="tut-title">Blend Modes and Alpha Compositing</span>
<span class="tut-time">15 min</span>
</a>
<a href="docs/tutorials/23-render-targets.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">23</span>
<span class="tut-title">Render Targets for Off-Screen Rendering</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/24-post-processing.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">24</span>
<span class="tut-title">Post-Processing with Render Targets</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/25-sprite-sort-mode.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">25</span>
<span class="tut-title">SpriteSortMode and Layering</span>
<span class="tut-time">15 min</span>
</a>
<a href="docs/tutorials/26-tilemaps.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">26</span>
<span class="tut-title">Tilemaps and Tile-Based Worlds</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/27-parallax.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">27</span>
<span class="tut-title">Scrolling Backgrounds and Parallax</span>
<span class="tut-time">18 min</span>
</a>
<a href="docs/tutorials/28-particles-2d.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">28</span>
<span class="tut-title">Particle Systems in 2D</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/29-ui-elements.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">29</span>
<span class="tut-title">UI Elements: Buttons and Menus</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/30-gamepad.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">30</span>
<span class="tut-title">GamePad and Controller Input</span>
<span class="tut-time">15 min</span>
</a>
<a href="docs/tutorials/31-first-3d-triangle.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">31</span>
<span class="tut-title">Your First 3D Triangle</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/32-basiceffect.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">32</span>
<span class="tut-title">BasicEffect and 3D Lighting</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/33-matrices.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">33</span>
<span class="tut-title">Matrices and Transformations</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/34-camera-3d.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">34</span>
<span class="tut-title">3D Camera Setup and Control</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/35-model-loading.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">35</span>
<span class="tut-title">Loading 3D Models</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/36-model-texturing.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">36</span>
<span class="tut-title">Texturing 3D Models</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/37-multiple-lights.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">37</span>
<span class="tut-title">Multiple Light Sources</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/38-vertex-buffers.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">38</span>
<span class="tut-title">Vertex Buffers and Index Buffers</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/39-depth-buffer.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">39</span>
<span class="tut-title">Depth Buffer and Z-Fighting</span>
<span class="tut-time">15 min</span>
</a>
<a href="docs/tutorials/40-primitive-types.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">40</span>
<span class="tut-title">Primitive Types</span>
<span class="tut-time">15 min</span>
</a>
<a href="docs/tutorials/41-math-vectors.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">41</span>
<span class="tut-title">Vector2, Vector3, Vector4 Math</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/42-matrix-ops.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">42</span>
<span class="tut-title">Matrix Operations and Transforms</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/43-quaternions.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">43</span>
<span class="tut-title">Quaternions for Smooth Rotation</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/44-bounding-volumes.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">44</span>
<span class="tut-title">Bounding Volumes and Spatial Queries</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/45-content-manager.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">45</span>
<span class="tut-title">ContentManager and Asset Pipeline</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/46-content-reader.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">46</span>
<span class="tut-title">Custom Content Readers</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/47-game-component.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">47</span>
<span class="tut-title">GameComponent and DrawableGameComponent</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/48-timestep.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">48</span>
<span class="tut-title">Fixed vs Variable Timestep</span>
<span class="tut-time">15 min</span>
</a>
<a href="docs/tutorials/49-touch-input.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">49</span>
<span class="tut-title">Touch Input and Gestures</span>
<span class="tut-time">15 min</span>
</a>
<a href="docs/tutorials/50-accelerometer.html" class="tut-item tut-item--blue tut-item--available">
<span class="tut-num">50</span>
<span class="tut-title">Accelerometer and Sensors</span>
<span class="tut-time">15 min</span>
</a>
</div>
</div>
</section>
<!-- ================================================================
Section 3 — Advanced (51–80)
================================================================ -->
<section class="section" id="advanced">
<div class="container">
<div class="tut-section-card tut-section-card--orange">
<div class="tut-section-icon">🔥</div>
<div>
<span class="diff-badge diff-badge--orange">Advanced</span>
<h2>Graphics and Architecture</h2>
<p>Write custom shaders, build deferred rendering pipelines, profile and optimize your game, implement shadows and reflections, and architect scalable multi-platform projects.</p>
<div class="tut-meta">
<span class="tut-meta-item">30 tutorials</span>
<span class="tut-meta-item">•</span>
<span class="tut-meta-item">⏰ 25–35 min each</span>
<span class="tut-meta-item">•</span>
<span class="tut-meta-item status-badge status-done">Available now</span>
</div>
</div>
</div>
<div class="tut-grid">
<a href="docs/tutorials/51-custom-vertex.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">51</span>
<span class="tut-title">Custom Vertex Types</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/52-custom-shaders.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">52</span>
<span class="tut-title">Writing Custom Shaders (ShaderEffect)</span>
<span class="tut-time">30 min</span>
</a>
<a href="docs/tutorials/53-effect-parameter.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">53</span>
<span class="tut-title">Shader Uniforms and EffectParameter</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/54-alpha-test.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">54</span>
<span class="tut-title">AlphaTestEffect and Alpha Masking</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/55-dual-texture.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">55</span>
<span class="tut-title">DualTextureEffect for Lightmaps</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/56-environment-map.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">56</span>
<span class="tut-title">EnvironmentMapEffect for Reflections</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/57-skinned-effect.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">57</span>
<span class="tut-title">SkinnedEffect and Skeletal Animation</span>
<span class="tut-time">30 min</span>
</a>
<a href="docs/tutorials/58-normal-mapping.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">58</span>
<span class="tut-title">Normal Mapping</span>
<span class="tut-time">30 min</span>
</a>
<a href="docs/tutorials/59-shadow-mapping.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">59</span>
<span class="tut-title">Shadow Mapping</span>
<span class="tut-time">35 min</span>
</a>
<a href="docs/tutorials/60-instancing.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">60</span>
<span class="tut-title">Instanced Rendering</span>
<span class="tut-time">30 min</span>
</a>
<a href="docs/tutorials/61-occlusion-query.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">61</span>
<span class="tut-title">Occlusion Queries</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/62-mrt.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">62</span>
<span class="tut-title">Multiple Render Targets (MRT)</span>
<span class="tut-time">30 min</span>
</a>
<a href="docs/tutorials/63-stencil-buffer.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">63</span>
<span class="tut-title">Stencil Buffer Effects</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/64-cubemaps.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">64</span>
<span class="tut-title">Cubemaps and Skyboxes</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/65-msaa.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">65</span>
<span class="tut-title">MSAA Anti-Aliasing</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/66-bloom.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">66</span>
<span class="tut-title">Post-Processing: Blur and Bloom</span>
<span class="tut-time">30 min</span>
</a>
<a href="docs/tutorials/67-deferred-rendering.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">67</span>
<span class="tut-title">Deferred Rendering</span>
<span class="tut-time">35 min</span>
</a>
<a href="docs/tutorials/68-terrain.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">68</span>
<span class="tut-title">Terrain Rendering</span>
<span class="tut-time">35 min</span>
</a>
<a href="docs/tutorials/69-water.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">69</span>
<span class="tut-title">Water and Reflections</span>
<span class="tut-time">35 min</span>
</a>
<a href="docs/tutorials/70-procedural-geometry.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">70</span>
<span class="tut-title">Procedural Geometry</span>
<span class="tut-time">30 min</span>
</a>
<a href="docs/tutorials/71-memory-management.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">71</span>
<span class="tut-title">Memory Management in C++</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/72-backend-selection.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">72</span>
<span class="tut-title">Choosing a Renderer</span>
<span class="tut-time">20 min</span>
</a>
<a href="docs/tutorials/73-profiling.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">73</span>
<span class="tut-title">Performance Profiling and Optimization</span>
<span class="tut-time">30 min</span>
</a>
<a href="docs/tutorials/74-frustum-culling.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">74</span>
<span class="tut-title">Frustum Culling</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/75-lod.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">75</span>
<span class="tut-title">Level of Detail (LOD)</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/76-spatial-partitioning.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">76</span>
<span class="tut-title">Spatial Partitioning</span>
<span class="tut-time">30 min</span>
</a>
<a href="docs/tutorials/77-async-loading.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">77</span>
<span class="tut-title">Asset Streaming and Async Loading</span>
<span class="tut-time">30 min</span>
</a>
<a href="docs/tutorials/78-multithreading.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">78</span>
<span class="tut-title">Multi-threading Considerations</span>
<span class="tut-time">30 min</span>
</a>
<a href="docs/tutorials/79-debugging.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">79</span>
<span class="tut-title">Debugging Rendering Issues</span>
<span class="tut-time">25 min</span>
</a>
<a href="docs/tutorials/80-cross-platform.html" class="tut-item tut-item--orange tut-item--available">
<span class="tut-num">80</span>
<span class="tut-title">Cross-Platform Build Guide</span>
<span class="tut-time">30 min</span>
</a>
</div>
</div>
</section>
<!-- ================================================================
Section 4 — Expert (81–100)
================================================================ -->
<section class="section section--alt" id="expert">
<div class="container">
<div class="tut-section-card tut-section-card--red">
<div class="tut-section-icon">👑</div>
<div>
<span class="diff-badge diff-badge--red">Expert</span>
<h2>Real-World and Platform</h2>
<p>Ship to WebAssembly and Android, port from XNA and MonoGame, extend CNA with custom renderers and language runtimes, build complete game projects, and integrate physics and networking.</p>