Author Topic: my 100% Assembly game development  (Read 1570 times)

LordAdef

  • Member
  • ***
  • Posts: 255
Re: my 100% Assembly game development
« Reply #15 on: May 09, 2017, 08:15:53 AM »
Quote
The "known thing" is that user needs feedback if required files are missing ;)

Indeed, I only sent the exe.

Hutch, just in case, I attached the Main_v8.13 with the other files.

LordAdef

  • Member
  • ***
  • Posts: 255
Re: my 100% Assembly game development
« Reply #16 on: May 09, 2017, 08:33:47 AM »
This one is a solely a test, since HSE found the main plane flickering.

There are 2 planes, can you see any difference in flickering?

The plane on the left is the current one
The one on the right is bitblited to the double buffer instead.

I sense this may solve HSE´s issue, let´s see. I´m curious

Siekmanski

  • Member
  • *****
  • Posts: 1094
Re: my 100% Assembly game development
« Reply #17 on: May 09, 2017, 08:42:03 AM »
Hi Alex,

The right one doesn't flicker but the left one does.
The ABt text also flickers.

LordAdef

  • Member
  • ***
  • Posts: 255
Re: my 100% Assembly game development
« Reply #18 on: May 09, 2017, 08:56:25 AM »
Hi Alex,

The right one doesn't flicker but the left one does.
The ABt text also flickers.

Interesting... here at my machines they look the same. Doing the plane and bullets to the screen would save me some instructions... but this test shows that I must move them to the back buffer and keep them all tight there.

Thanks Marinus

ps: I forgot to clean that ABt from the UI. It´s a really cool feature I´m testing, but not just for me! I´ll post that idea separately soon (it´s going to useful for us too...)

anunitu

  • Member
  • ****
  • Posts: 897
Re: my 100% Assembly game development
« Reply #19 on: May 09, 2017, 10:53:10 AM »
I applaud you for doing a game in assembler. I have always heard it is very difficult,but I think it is just you need to be more exact in your programming. I think higher level languages allow a programmer to be less exact and may encourage less stringent methods.

Go for it!!!!   

HSE

  • Member
  • ****
  • Posts: 532
  • <AMD>< 7-32>
Re: my 100% Assembly game development
« Reply #20 on: May 09, 2017, 11:45:22 AM »
Ja, Ja. Fantastic!!

right perfect :t

left flickering. An interesting effect, look like flying under terrain.

Letters ABt also flickering.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4813
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: my 100% Assembly game development
« Reply #21 on: May 09, 2017, 12:08:23 PM »
Hi Alex,

The version posted in Reply #15 work fine.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

LordAdef

  • Member
  • ***
  • Posts: 255
Re: my 100% Assembly game development
« Reply #22 on: May 09, 2017, 05:14:39 PM »
HSE,

Thanks again mate. Since it´s not flickering here, I would never know. But I´m glad I quickly spotted the solution, I might be turning into Noob level 2, in the Noob Richter Scale

Hutch,
Quote
The version posted in Reply #15 work fine.
Thanks and it was my fault.

Anunitu,
Quote
I applaud you for doing a game in assembler. I have always heard it is very difficult,but I think it is just you need to be more exact in your programming. I think higher level languages allow a programmer to be less exact and may encourage less stringent methods.

Glad to see you here!
It´s harder on me, since I´m too new to Assembly. A game with levels as I´m making imposes extra difficulties too.
Well, it´s a bit harder. But it´s doable and I´m up for the task. Obviously I´m having the support of you guys, otherwise I would be stuck far behind. Game is a big world. If I can finish this one (and I will) I will be proud and, if people play it, we may say "see, it´s fast, it´s small, it´s all made in Assembly by someone who just started... so let´s bring asm back to the table asap please!".. or something similar.

anunitu

  • Member
  • ****
  • Posts: 897
Re: my 100% Assembly game development
« Reply #23 on: May 09, 2017, 06:50:18 PM »
Many of the early games on Nintindo were done in assembler,one reason was less memory and attempting to get every last advantage from those early chips. Some people are still active programming for those old chips,creating new games for the emulators.

See here.
https://www.gamedev.net/topic/343677-what-were-snes-games-programmed-in/

LordAdef

  • Member
  • ***
  • Posts: 255
Re: my 100% Assembly game development
« Reply #24 on: May 09, 2017, 07:08:49 PM »
Many of the early games on Nintindo were done in assembler,one reason was less memory and attempting to get every last advantage from those early chips. Some people are still active programming for those old chips,creating new games for the emulators.

See here.
https://www.gamedev.net/topic/343677-what-were-snes-games-programmed-in/

And many others indeed. I was actually referring to main stream game programming. But you are right, there are many things coming back like chiptunes, arcade games and so on. I like that

jj2007

  • Moderator
  • Member
  • *****
  • Posts: 7552
  • Assembler is fun ;-)
    • MasmBasic
Re: my 100% Assembly game development
« Reply #25 on: May 09, 2017, 09:02:30 PM »
Dunny does a good job on SpecBas. My first "real" computer was a Spectrum :P

anunitu

  • Member
  • ****
  • Posts: 897
Re: my 100% Assembly game development
« Reply #26 on: May 09, 2017, 11:57:30 PM »
I started my journey into assembler on a C64,and the 6502 chip. Then I saved enough to by an IBM box,and started on MASM.  Back in the late 80's

LordAdef

  • Member
  • ***
  • Posts: 255
Re: my 100% Assembly game development
« Reply #27 on: May 10, 2017, 04:45:42 AM »
Dunny does a good job on SpecBas. My first "real" computer was a Spectrum :P

Funny, I've started with my father's trs-80 but the first I owned was a computer called TK85, a brazilian machine of the zx Spectrum class, rubber keys etc...

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4813
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: my 100% Assembly game development
« Reply #28 on: May 10, 2017, 01:53:55 PM »
Apart from a HP 11C calculator, the first computer I played with was a z80 in a military style metal case where the lid contained the keyboard. Was busy running a business so I never got a chance to play with it much which was a blessing because when I started on x86 PCs, I did not have pre-conceived ideas about what it should do. Has a 286 for a month before I built a DX486 and its been one toy after another up to the current boat anchor.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

LordAdef

  • Member
  • ***
  • Posts: 255
Re: my 100% Assembly game development
« Reply #29 on: May 16, 2017, 06:27:40 PM »
Hi guys,

I spent 3 days with this fantastic OOP-ish idea with incredibly Avant-garde design  :dazzled: (for submarine bullets)...
...After nearly killing myself 3 times... I got it right, in a simpler way, in 2 hours. Why do we complicate things?

Now, submarines in game. If you face them they will shoot you back.
Would you test it for me? Exe only, There is a big mess to clean up now  :badgrin:

We are getting there... Now artillery.

Cheers
Alex