samroar04

Untitled

Feb 5th, 2014
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. HTML
  2.  
  3. <html>
  4. <head>
  5. <title>Lazy Foo' Productions</title>
  6. <link rel="stylesheet" type="text/css" href="lazy.css">
  7. </head>
  8. <body>
  9. <div id="header">Lazy Foo's Productions</div>
  10. <div id="menu1">
  11. <a href="sdlforums">SDL Forums</a>
  12. <a href="sdl tutorials">SDL Tutorials</a>
  13. <a href="articles">Articles</a>
  14. <a href="opengl">OpenGL Tutorials</a>
  15. <a href="openg">OpenGL Forums</a>
  16. </div>
  17. <div id="unusual">
  18. <u><a href="learn">Learn C,C++,C#</a></u>
  19. <br>www.Shiksha.com/C++-Courses</br>
  20. Find Top IT Institutes in India.Get all info on Courses,Admission,Fe
  21. </div>
  22. <div id="menu2">
  23. <a href="news">News</a>
  24. <a href="faq">FAQs</a>
  25. <a href="games">Games</a>
  26. <a href="contact">Contact</a>
  27. <a href="donations">Donations</a>
  28. </div>
  29. <div id="begun">
  30. <div id ="beginhead"><br>Beginning Game Programming</br></div>
  31. <div id="date"><br>Last Updates 21/12/12</br></div>
  32. <div id="begin">
  33. <br>These tutorials were made to help programmers start out in game programming. I tried to keep them as simple and to the point as possible. They are a perpetual work in progress, and will be improved over time.</br>
  34. <br>They use C++ as the programming language because it is considered the game industry's standard. SDL is used as the API because it is cross platform, and relatively easy to use.</br>
  35. <br>Make sure to check out the <a href="frequent">Frequently Asked SDL Tutorial Questions</a></br>
  36. </div>
  37. </div>
  38. <div id="table1">
  39. <table>
  40. <tr id="first">
  41. <th colspan = "6">Table of Contents</th>
  42. </tr>
  43. <tr>
  44. <td>Lesson1<a href="set"><br>Setting up SDL</br></a> and<a href="get"><br>Getting an image on the screen</br></a></td>
  45. <td>Lesson2<a href="Optimized"><br> Optimized Surface Loading and Blitting</br></a></td>
  46. <td>Lesson3<a href="extension"><br> Extension Libraries and Loading Other mage Formats</br></a></td>
  47. <td>Lesson4<a href="event"><br> Event Driven Programming</br></a></td>
  48. <td>Lesson5<a href="color"><br> Color Keying</br></a></td>
  49. <td>Lesson6<a href="clip"><br>Clip Blitting and Sprite Sheets</br></a></td>
  50. </tr>
  51. </table>
  52. </div>
  53. </body>
  54. </html>
  55.  
  56. CSS
  57.  
  58. body {
  59. background-color: #000;
  60. }
  61. #header {
  62. color: #fff;
  63. text-align: center;
  64. font-family: monospace;
  65. font-size: 34px;
  66. }
  67. #menu1 {
  68. text-align: center;
  69. font-family: monospace;
  70. font-size: 17px;
  71. margin-top: 20px;
  72. padding-left: 20px;
  73. }
  74. #menu1 a {
  75. color: #EADC64;
  76. }
  77. #unusual {
  78. display: block;
  79. background-color: #036;
  80. border: 1px solid #69C;
  81. text-align: center;
  82. margin: 20px 300px;
  83. font-size: 13px;
  84. color: #AECCEB;
  85. }
  86. #unusual a {
  87. color: #fff;
  88. }
  89. #menu2 {
  90. text-align: center;
  91. font-family: monospace;
  92. font-size: 17px;
  93. }
  94. #menu2 a {
  95. color: #EADC64;
  96. }
  97. #beginhead {
  98. font-size: 35px;
  99. color: #fff;
  100. text-align: center;
  101. }
  102. #date {
  103. font-size: 12px;
  104. color: #fff;
  105. text-align: center;
  106. }
  107. #begin {
  108. font-size: 18px;
  109. color: #fff;
  110. padding-left: 10px;
  111. }
  112. #begin a {
  113. color: #6E6BD1;
  114. }
  115. #begun {
  116. display: block;
  117. background-color: #004;;
  118. font-family: monospace;
  119. margin: 50px 80px;
  120. border: 1px;
  121. border-color: #fff;
  122. }
  123. #table1 table {
  124. display: block;
  125. margin: 50px 80px;
  126. }
  127. #table1 th {
  128. background color: #22F;
  129. text-align: center;
  130. border:1px solid #fff;
  131. height: 30px;
  132. color: #fff;
  133. font-family: monospace;
  134. background-color: #22F;
  135. }
  136. #table1 td {
  137. text-align: center;
  138. color: #fff;
  139. background-color: #114;
  140. font-family: monospace;
  141. border:1px solid #fff;
  142. }
  143. #table1 td a {
  144. color:#88F;
  145. font-family: monospace;
  146. }
Advertisement
Add Comment
Please, Sign In to add comment