xboxscene.org forums

Author Topic: Connect4  (Read 148 times)

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Connect4
« on: April 26, 2004, 12:16:00 AM »

Here's what I got
user posted image

Background is some wallpaper I had lying around.

Doesn't do any win checking now, colors alternate.  (No CPU player)
Logged

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Connect4
« Reply #1 on: April 26, 2004, 05:50:00 AM »

rolleyes.gif
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Connect4
« Reply #2 on: April 26, 2004, 07:08:00 AM »

smile.gif
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Connect4
« Reply #3 on: April 26, 2004, 10:19:00 AM »

Well, I really need to hammer out the rest of the P-n-P spec so that can happen. Now that UnRar is available, I will probably base it on that.


I think a non-graphics/sound version of these games might be possible to include in the internal XML, as items that can be added on painlessly, though...
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Connect4
« Reply #4 on: April 26, 2004, 10:39:00 AM »

That's why I opted not to use any external images in my LightsOut game.

I was considering hard coding the XML stuff into the script so the entire was all contained in one file(for easier installation). Then when you run it for the time it would spit out the XML to a real file.
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Connect4
« Reply #5 on: April 26, 2004, 10:42:00 AM »

As for the Plug&Play, why dont you just do it like so. Make it a standered to use $ActualPath$\Scripts for all scripts. The just do an auto dir on it like you do for XBE stuff.

BTW, Nice one on the Connect4 geniusalz.
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Connect4
« Reply #6 on: April 26, 2004, 06:41:00 PM »

Win-checking works, but it doesn't highlight where the guy has won, and it doesn't end the game when the game is won.

Remember to change the path in the first line of the xas file.

Download Here

I tried animating the pieces falling, but it was too slow to look good.  But hopefully when the drawlist stuff is done, that won't be a problem.
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Connect4
« Reply #7 on: April 26, 2004, 06:56:00 PM »

Neato.
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Connect4
« Reply #8 on: April 27, 2004, 09:49:00 AM »

CODE


<2>
<6>
1

<5>
1

<4>
2


<3>
<6>
2

<5>
1

<4>
2


<4>
<6>
1

<5>
1
Logged

thetruethugg

  • Archived User
  • Sr. Member
  • *
  • Posts: 432
Connect4
« Reply #9 on: April 27, 2004, 10:30:00 AM »

Possible bug, it doesn't show the bottom-most peice for me.  I can take a screenshot if you'd like me to.
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Connect4
« Reply #10 on: April 27, 2004, 01:40:00 PM »

QUOTE (thetruethugg @ Apr 27 2004, 02:30 PM)
Possible bug, it doesn't show the bottom-most peice for me.  I can take a screenshot if you'd like me to.

I'll appreciate that.  And if you could get it to 'dump' the xml contents like flattspott did, that would be good.
Logged

Infared

  • Archived User
  • Newbie
  • *
  • Posts: 28
Connect4
« Reply #11 on: April 27, 2004, 02:39:00 PM »

smile.gif

Logged