Skip navigation
NintendoAge
Welcome, Guest! Please Login or Join
Loading...

Geminim demo Updated 12/25

Dec 25, 2007 at 12:01:52 AM
Sivak (44)
avatar
(Sivak -) < Kraid Killer >
Posts: 2370 - Joined: 05/04/2007
Ohio
Profile
Alright.  I wanted to get some thoughts on things so I'm posting a demo of the game.

This version is upgraded quite a bit.  It has a working AI to play against and will always beat you if you make a wrong move.  If you make a right move, it's a little obvious right now, but that should change when I get randomization in there.

So what do y'all think?  Go down to message #6 for the attachment....

-------------------------
My website: Here

Battle Kid 2 demo videos: Playlist
Battle Kid demo videos: Playlist

Check out my current: Want list
Check out my current: Extras list


Edited: 12/29/2007 at 10:51 PM by Sivak

Dec 25, 2007 at 7:23:58 PM
pedro! (24)
This user has been banned -- click for more information.
(Pedro Games) < Lolo Lord >
Posts: 1586 - Joined: 09/11/2007
North Carolina
Profile
what do I need to download to view/use this?

-------------------------
WWW.PEDROGAMES.COM

Dec 25, 2007 at 8:22:57 PM
BootGod (16)
avatar
(Mark Lacey) < Meka Chicken >
Posts: 537 - Joined: 10/01/2006
Minnesota
Profile
You'll need a NES emulator such as Nestopia. Sounds like your catching on quickly Sivak, have fun!

Dec 25, 2007 at 9:00:04 PM
Sivak (44)
avatar
(Sivak -) < Kraid Killer >
Posts: 2370 - Joined: 05/04/2007
Ohio
Profile
Originally posted by: pedro!

what do I need to download to view/use this?


I like FCE Ultra for an emulator myself.

Originally posted by: BootGod

You'll need a NES emulator such as Nestopia. Sounds like your catching on quickly Sivak, have fun!


I now have got a computer AI in that'll always beat you if you make a wrong move.    That was the next big step.  All I really need to do now is add in a random number generator and some music and some credits and we may have a final game.

-------------------------
My website: Here

Battle Kid 2 demo videos: Playlist
Battle Kid demo videos: Playlist

Check out my current: Want list
Check out my current: Extras list

Dec 25, 2007 at 9:14:31 PM
bunnyboy (81)
avatar
(Funktastic B) < Master Higgins >
Posts: 7704 - Joined: 02/28/2007
California
Profile
Random number generator:

Random: 
  ; See "linear-congruential random number generator" for more. 
  ; rand = (rand * 5 + 0x3611) & 0xffff; 
  ; return (rand >> 8) & 0xff; 
  lda   rand_h      ; multiply by 5 
  sta   rand_temp
  lda   rand_l 
  asl   a           ; rand = rand * 4 + rand 
  rol   rand_temp
  asl   a 
  rol   rand_temp
  clc 
  adc   rand_l 
  pha 
  lda   rand_temp
  adc   rand_h 
  sta   rand_h 
  pla               ; rand = rand + 0x3611 
  clc 
  adc   #$11 
  sta   rand_l 
  lda   rand_h 
  adc   #$36 
  sta   rand_h 
  rts               ; return high 8 bits
You need the variables rand_temp, rand_h, and rand_l to be somewhere in ram. The sequence will always be the same with a given seed, so usually games will do something like run a counter and use that as a seed when the player hits the first button.


Edited: 12/25/2007 at 09:15 PM by bunnyboy

Dec 25, 2007 at 11:30:48 PM
Sivak (44)
avatar
(Sivak -) < Kraid Killer >
Posts: 2370 - Joined: 05/04/2007
Ohio
Profile
Well, I apparently can't edit my first message to include the new attachment...  So here it is down here in the middle of the post!

-------------------------
My website: Here

Battle Kid 2 demo videos: Playlist
Battle Kid demo videos: Playlist

Check out my current: Want list
Check out my current: Extras list