News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Resources for Game development

Started by LordAdef, April 06, 2018, 09:40:35 AM

Previous topic - Next topic

LordAdef

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

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

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?
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

LordAdef

Quote from: Lonewolff 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?


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

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?
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

Lonewolff

Quote from: LordAdef on April 11, 2018, 05:19:37 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.