Author Topic: Resources for Game development  (Read 168 times)

LordAdef

  • Member
  • ***
  • Posts: 496
Resources for Game development
« on: April 06, 2018, 09:40:35 AM »
Hi everyone,

I thought we could build a database of useful resources here in this topic. This way we keep them in one location.


1. Iczelion tutorials:

     Not specific related to game development but a number #1 source of info in the MASM world (apart from masm32.com obviously  :eusa_dance: ):

http://win32assembly.programminghorizon.com/tutorials.html


2. Caballero webpage:

      Caballero is a member of this forum and has made several fantastic tutorials:

http://www.abreojosensamblador.net/Index.html


3. Handmade Hero:

     Handmade hero is a project created by the engine game developer Casey Muratori.
     The project consists of making a full professional game 100% online and without the use of libraries. everything is coded on the fly and every day is recorded, archived and available to anyone.
     Besided that, every day is commented and you can search for any key word in a search field. That will take you to the info you need. Preatty neat.

    ps: It´s written in C (in fact it´s C with touches of C++).

https://hero.handmade.network/episode/code

Lonewolff

  • Member
  • **
  • Posts: 201
Re: Resources for Game development
« Reply #1 on: April 06, 2018, 01:16:15 PM »
I was intruigued with #3 when you said he wasn't using any libraries, so I took a look. He is though, he is using the Win32 API.

Maybe you meant no third party non MS libraries?

daydreamer

  • Member
  • ***
  • Posts: 300
  • I hate C++ right now
Re: Resources for Game development
« Reply #2 on: April 06, 2018, 11:54:02 PM »
so when you end up with lots of C++ code to learn for example d3d9 example code , recommend you to take a look at some OOP ASM, that support equates and macros that is very helpful and let you concentrate on your game development rather than change every float to real4 and other porting C++ code to masm etc
I dont know if ATC is still around?
Quote from Flashdance
Nick  :  When you give up your dream, you die.

LordAdef

  • Member
  • ***
  • Posts: 496
Re: Resources for Game development
« Reply #3 on: April 11, 2018, 05:19:37 AM »
I was intruigued with #3 when you said he wasn't using any libraries, so I took a look. He is though, he is using the Win32 API.

Maybe you meant no third party non MS libraries?


Sorry Wolff, that's what I mean. In fact it would be unreal to make a game in C without interacting with the Win API.
He will also port the graphics to OpenGl in the future, before shipping. Because of portability and hardware acceleration. But up to now everything in the engine is in cpu.

daydreamer

  • Member
  • ***
  • Posts: 300
  • I hate C++ right now
Re: Resources for Game development
« Reply #4 on: April 14, 2018, 09:59:44 PM »
here is what I found, so I could share a possibility to use only one or few calls to d3d to render trianglestrips, with put degenerate triangles between each object/sprite
https://msdn.microsoft.com/en-us/library/windows/desktop/bb206274(v=vs.85).aspx
maybe make a proc/macro that can be put in your objects/sprites code loop might be helpful?
Quote from Flashdance
Nick  :  When you give up your dream, you die.

Lonewolff

  • Member
  • **
  • Posts: 201
Re: Resources for Game development
« Reply #5 on: April 15, 2018, 08:57:56 AM »
Sorry Wolff, that's what I mean. In fact it would be unreal to make a game in C without interacting with the Win API.

Yeah, unfortunately probably can't be done in a win32 application. Even if you did get something on the screen the system would probably turd itself and flag the project as "Not responding".

Can be done from DOS though. But then you get the added fun of hardware incompatibilities, trying to detect and setup soundcards and things.