Jump to content
  • Advertisement

8Observer8

Member
  • Content Count

    261
  • Joined

  • Last visited

  • Days Won

    8

8Observer8 last won the day on March 19

8Observer8 had the most liked content!

Community Reputation

281 Neutral

3 Followers

About 8Observer8

  • Rank
    Member

Personal Information

  • Role
    3D Artist
    Programmer
  • Interests
    Art
    Programming
    QA

Social

  • Github
    8Observer8

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 8Observer8

    How math is used in game development?

    2004 - 04 - Beginning Math and Physics for Game Programmers - Wendy Stahler 2011 - 06 - Mathematics for 3D Game Programming and Computer Graphics - 3rd edition - Eric Lengyel 2011 - 11 - 3D Math Primer for Graphics and Game Development - F. Dunn, I. Parberry 2013 - 04 - Physics for Game Developers - 2nd Edition - David M. Bourg, Bryan Bywalec 2014 - 05 - Physics for JavaScript Games, Animation, and Simulations - Adrian Dobre, Dev Ramtal
  2. 8Observer8

    GameDev Books

    I added book links to "Math and Physics" section.
  3. 8Observer8

    GameDev Books

    Updated 3/27/2019 I created a new section: Math and Physics I added a new link on this nice book: Beginning Math and Physics for Game Programmers I study how to write my own game engines using modern OpenGL/C# and WebGL/TypeScript. I advice you this book: C# Game Programming: For Serious Game Creation. This book shows how to write your own game engine with maintainable code using TDD. This is a great book. It is not for GameDev only. It shows how to develop big projects in general. I know that you like to write games using Game Engines like Unity. By this book you will know basics of Linear Algebra, Shader Math, Game Physics and so on. Shader Math is important for Unity too because you need to write shaders for Unity. HLSL and GLSL are very similar. It is a great book really. Behaviour-Driven Development: 2014 - 10 - BDD in Action: Behavior-driven development for the whole software lifecycle - John Ferguson Smart. Source Code: https://www.manning.com/books/bdd-in-action Test-Driven Development: 2013 - 12 - The Art of Unit Testing: with examples in C# - 2nd Edition - Roy Osherove. Source Code: https://github.com/royosherove/aout2 Writing Games: 2010 - 06 - C# Game Programming: For Serious Game Creation. Source Code: 9781435455566.zip (121 MB) 2015 - 09 - Build your own 2D Game Engine and Create Great Web Games Using HTML5, JavaScript, and WebGL by Kelvin Sung, Jebediah Pavleas, Fernando Arnez, and Jason Pace. Source Code: https://github.com/apress/build-your-own-2d-game-engine 2017 - 10 - Pro HTML5 Games - 2nd Edition - A.R. Shankar. Source Code: https://github.com/apress/pro-html5-games-17 2018 - 04 - Unity in Action - 2nd Edition - J. Hocking. Source Code: https://www.manning.com/books/unity-in-action-second-edition Computer graphics: 2013 - 07 - WebGL Programming Guide - K. Matsuda, R. Lea. Source Code: https://sites.google.com/site/webglbook/ 2013 - 06 - Computer Graphics Principles and Practice - 3rd Edition - John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, Kurt Akeley. Source Code: http://cgpp.net/about.xml Math and Physics: 2004 - 04 - Beginning Math and Physics for Game Programmers - Wendy Stahler 2011 - 06 - Mathematics for 3D Game Programming and Computer Graphics - 3rd edition - Eric Lengyel 2011 - 11 - 3D Math Primer for Graphics and Game Development - F. Dunn, I. Parberry 2013 - 04 - Physics for Game Developers - 2nd Edition - David M. Bourg, Bryan Bywalec 2014 - 05 - Physics for JavaScript Games, Animation, and Simulations - Adrian Dobre, Dev Ramtal Multiplayer: 2015 - 05 - Multiplayer Game Development with HTML5 - Rodrigo Silveira. Source Code: https://www.packtpub.com/code_download/21527 2015 - 10 - Multiplayer Game Programming -  Josh Glazer, Sanjay Madhav. Source Code: https://github.com/MultiplayerBook/MultiplayerBook
  4. You can keep your TXT files locally on the Plunker playground. For example, you have the TXT file that contains you level like this: Level_001.txt 10000 00100 00100 00100 20000 Playground As you can see I read the file with XMLHTTPRequest and print it on the page.
  5. 8Observer8

    How math is used in game development?

    This series for video lessons: Math for Game Developers contains 112 lessons for beginners. Author uses C++ but you can implement example in any language and even engine like Unity. These knowledges will be useful everywhere. Especially if you love Geometry and Linear Algebra.
  6. 8Observer8

    win32 breakout

    Yes, this tutorial is awesome! I will translate the code to OpenGL and WebGL.
  7. I realised these two situations (XMLHttpRequest and FileReader) in TypeScript. Playground Source Code on GitHub Source Code:
  8. I think, we have two different situations: The program allows to user to load files from his computer (from his hard driver) by click on the "Choose" button. In this case you need to use FileReader We have some text files in our project folder, for example, levels for our game in text format, OBJ file for 3D models, shader files and so on. And we have to load them from the HTTP server. In this case you need to use XMLHttpRequest We need some information from topic starter to understand what he wants.
  9. I think the FileReader instance can be used only with an input element. If you want to load local data from the server you need to use the XMLHttpRequest instance. Am I right? This code works if you need to load data from project folder and remote server: public static LoadUsingXMLHttpRequest( filePath: string, callback: (fileContent: string) => void): void { let request = new XMLHttpRequest(); request.onreadystatechange = () => { if (request.readyState === 4 && request.status !== 404) { callback(request.responseText); } }; request.open("GET", filePath, true); request.send(); }
  10. The readAsText() method can get the Blob or File instances. I can get the File instance from the FileList that is returned by files[0]: let input = document.createElement("input") as HTMLInputElement; let file = input.files[0]; But how to create the File instance without the HTML input element? I tried to google but I see examples with the HTML input element. My current code: public static LoadUsingFileReader( filePath: string, callback: (fileContent: string) => void): void { let reader = new FileReader(); reader.onload = () => { callback(reader.result as string); } let input = document.createElement("input") as HTMLInputElement; let file = input.files[0]; reader.readAsText(file); }
  11. Thank you for information. I did not know about FileReader. I read about Blob and File. Could you show an example how to read a text from this .txt file: https://www.w3.org/TR/PNG/iso_8859-1.txt
  12. I use the method that I read in the book: WebGL Programming Guide Authors describe in the Appendix F "Load Shader Programs from Files" how to load text files (GLSL shaders) from the project folder. You can run the JavaScript example in JSFiddle: https://jsfiddle.net/8Observer8/wdn9ubhj/ I wrote a simple example in TypeScript. You can run it in playground by click. My example just get text from here: https://www.w3.org/TR/PNG/iso_8859-1.txt and put it on the page. Playground
  13. Playground for WebGL and TypeScript version: https://plnkr.co/edit/7gjdZi2GNHZvtHQEMc4Y?p=preview Original Tutorial: https://noobtuts.com/python/snake-game ToDo List for OpenGL 3.1, OpenTK and C# will be here: https://trello.com/c/x8VwvUJr/3-snake-2d-from-noobtuts-in-opengl-31-and-c ToDo List for WebGL and TypeScript will be here: https://trello.com/c/9nuOiOqX/2-snake-2d-from-noobtuts-in-webgl-and-typescript
  14. 8Observer8

    Blender: How To Start With 3D Modeling?

    Thank you for links. I study Blender too. I want to add one of my favorite teacher - "Alan Thorn". But his courses are not free: http://3dmotive.com/softwares/blender-modo.html You can find some of his courses on Lynda too. I completed some of his courses. I need a practice. I will public results in my blog. We can discuss something. Now it is empty blog but you can follow if you want.
  15. See how it is simple to deploy your application that based of my boilerplate on Heroku: Create a new repository on Github Create a new Node.js web application on Heroku: https://www.heroku.com Set "GitHub" in "Deployment method" on the Deploy tab of heroku Push your changes on GitHub Your server and client well be deployed automatically on Heroku. Heroku will be automatically deploy your app from Github every time when you push your commits on GitHub. See the "Activity" tab when deployment will be finished.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!