Author Topic: Space Invaders  (Read 23100 times)

Offline avcaballero

  • Full Member
  • **
  • Posts: 132
  • Country: es
    • Abre los Ojos al Ensamblador
Space Invaders
« on: January 03, 2014, 06:53:51 AM »
Hello. This is my version of Space Invaders classic game. It is far from finished and left many things, and when this happens I will dedicated it to my wife and two sons who enjoy a lot playing with it. Hey!, you are great! ;)

FAQ:
Q. Where are the source codes?
A. I've got them, but you haven't. It is freeware, not open source, at least for the moment.

Q. How interesting, can I unasembly it?
A. Hmm. Yes, you can, but you shouldn't.

Q. How can I play?
A. <- / -> to move your ship, ctl to shoot.

Good fun and happy weekend, guys.

Offline encryptor256

  • Full Member
  • **
  • Posts: 250
  • Country: lv
  • Win64 .
    • On Youtube: encryptor256
Re: Space Invaders
« Reply #1 on: January 03, 2014, 09:58:30 AM »
Hi!

One faq entry is missing:
FAQ:
Q. What os it's runs on?
A. Windows.

Cool game, tested, works, but game is too slow, like: movements left, right and shooting too.

5x faster could be fine.

+ Full screen mode could be useful too.
« Last Edit: January 03, 2014, 10:03:21 AM by encryptor256 »
Encryptor256's Investigation \ Research Department.

Offline avcaballero

  • Full Member
  • **
  • Posts: 132
  • Country: es
    • Abre los Ojos al Ensamblador
Re: Space Invaders
« Reply #2 on: January 03, 2014, 10:38:29 AM »
Hi, encryptor256. I didn't know the game when it was borned, but i think that this is as is, ie you can only shoot one time (only one shoot of your ship is alived). This makes that it seems to be rather slow, but the play is as is (if anyone knows it, can tell us). It is true that the ship don't respond inmediately... it is one thing to be enhanced... After each level, enemies goes and shoots faster, but you don't... It's a suicide mission :(

Offline encryptor256

  • Full Member
  • **
  • Posts: 250
  • Country: lv
  • Win64 .
    • On Youtube: encryptor256
Re: Space Invaders
« Reply #3 on: January 03, 2014, 10:56:17 AM »

After playing a little bit longer, it seems, that ship moves faster. So, it's fine, even shooting!
After finishing first level, i didn't managed to get to next level.
Size indicator: ~44kb, smells like GCC, am i right?
Did you made it in assembly?
Sprites created in mspaint?

Encryptor256's Investigation \ Research Department.

Offline avcaballero

  • Full Member
  • **
  • Posts: 132
  • Country: es
    • Abre los Ojos al Ensamblador
Re: Space Invaders
« Reply #4 on: January 03, 2014, 11:15:22 AM »
yeah, each time you kill an enemy, they get angry and move faster. They can kill you too, of course. No next level at the moment, that's because I said it is far from finished :), that and many other things.

Yes, sprites in mspaint.

Regards

Offline avcaballero

  • Full Member
  • **
  • Posts: 132
  • Country: es
    • Abre los Ojos al Ensamblador
Re: Space Invaders
« Reply #5 on: January 05, 2014, 08:10:51 PM »
Hello, this is an enhanced version, with levels, etc. Much things to be added yet...
Regards

Offline HD1920.1

  • Jr. Member
  • *
  • Posts: 40
Re: Space Invaders
« Reply #6 on: February 06, 2014, 01:35:25 PM »
Cool game, but when the enemy kills you, you cannot use the next life and have to restart the game. Really annoying.

Offline avcaballero

  • Full Member
  • **
  • Posts: 132
  • Country: es
    • Abre los Ojos al Ensamblador
Re: Space Invaders
« Reply #7 on: February 06, 2014, 02:05:26 PM »
Hmmmm. Yes, well. This is one of the first video games in the world and, if i'm not wrong, the game is as is  ;D

Regards

Offline HD1920.1

  • Jr. Member
  • *
  • Posts: 40
Re: Space Invaders
« Reply #8 on: February 06, 2014, 02:45:14 PM »
Additionally, the updated version includes a trojan horse!  >:(

Offline avcaballero

  • Full Member
  • **
  • Posts: 132
  • Country: es
    • Abre los Ojos al Ensamblador
Re: Space Invaders
« Reply #9 on: February 06, 2014, 04:21:42 PM »
Are you really sure? Many times av gives false positive, specially with uncommon tools. No place for angry face. Which tool gives you this warning?

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: Space Invaders
« Reply #10 on: February 06, 2014, 05:38:10 PM »
Quote
Many times av gives false positive
Yeah! I forget which av tool it was that identified every bootsector on my drive as a virus. (there were a lot of them - some quite "non-standard" - I was impressed...) Another av tool (Kaspersky, as I recall, but don't sue me if I'm wrong) identified Nasm itself as a virus.

I can't run it (too stubborn), but I've looked at it and I don't see anything that looks "funny" to me. Looks like it was assembled as "-f obj" (confuses Agner Fog's "objconv", 'cause we get some of the constants wrong). Pity there isn't source with it... just sayin'...

What makes you say that, HD1920.1?

Best,
Frank


Offline avcaballero

  • Full Member
  • **
  • Posts: 132
  • Country: es
    • Abre los Ojos al Ensamblador
Re: Space Invaders
« Reply #11 on: February 06, 2014, 05:47:16 PM »
Yeah. Not much time to work with it. Not a heaven code, so... here it is, compile it with tinyc. Have fun.

Offline encryptor256

  • Full Member
  • **
  • Posts: 250
  • Country: lv
  • Win64 .
    • On Youtube: encryptor256
Re: Space Invaders
« Reply #12 on: February 06, 2014, 06:16:14 PM »
(Maybe)

That's a trick!

HD1920.1, managed to squeeze out the source code from avcaballero. Hooray!!! :D

FAQ:
Q. Where are the source codes?
A. I've got them, but you haven't. It is freeware, not open source, at least for the moment.

Cascade of events:
1. avcaballero: "No source code, friends, just exe!".
2. HD1920.1: "There is a virus!".
3. avcaballero: "Okay, okay, just take it!". :D


Encryptor256's Investigation \ Research Department.

Offline avcaballero

  • Full Member
  • **
  • Posts: 132
  • Country: es
    • Abre los Ojos al Ensamblador
Re: Space Invaders
« Reply #13 on: February 06, 2014, 07:17:01 PM »
He he, this guy must be from the competence...  :D

I actually though about making another tuto, this time about video games... when i have time. That's the reason of "not for now".

If I'm honest, what bothers me more is people who use things that not recognize ... ???

Offline Rob Neff

  • Forum Moderator
  • Full Member
  • *****
  • Posts: 429
  • Country: us
Re: Space Invaders
« Reply #14 on: February 06, 2014, 09:36:34 PM »
If I'm honest, what bothers me more is people who use things that not recognize ... ???

Yes, I'm sure many of us, myself included, fall victim to that line of reasoning every once in a while.

I just keep telling myself that it is for the greater good of mankind in general.

That, plus all the new friends you DO eventually meet along the way!  8)