xboxscene.org forums

Author Topic: Making A New Game Script  (Read 339 times)

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Making A New Game Script
« on: February 22, 2004, 01:05:00 PM »

Basically I'm try to port something from VisualBasic to an ActionScript cause it's relativly simple codingwise.

Now I was wondering if this sort of Variable is ok.

%Something({i}+2)%
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Making A New Game Script
« Reply #1 on: February 22, 2004, 01:12:00 PM »

I think that will only work if expression support is in already, which I don't think is, so probably not.

But
ADD i 2
%Something{i}% will work

Btw, what's the game?
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Making A New Game Script
« Reply #2 on: February 22, 2004, 01:24:00 PM »

TicTacToe
Logged

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
Making A New Game Script
« Reply #3 on: February 22, 2004, 10:59:00 PM »

smile.gif

tic-toe and tetris, checkers and chess, oh my! smile.gif

at the rate BJ is 'upgrading' actionscript, one day there will be a graphical MUD running on actionscript!

beerchug.gif to BJ and actionscripts!

Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Making A New Game Script
« Reply #4 on: February 22, 2004, 11:59:00 PM »

As I said before, Yahtzee might be doable too.

I was considering doing some sort of Text based RPG
Logged