Fortune Cookie Demo

Game Editor comments and discussion.

Fortune Cookie Demo

Postby catacomber » Wed Apr 23, 2008 11:36 pm

Am following the Fortune Cookie Demo, but when I go to add script to the actor

FortuneCookieBackground

Create Actor
Script Actor

init_NR_RAND();
shuffle_NR_RAND();

I get a compilation error: undeclared identifier for both of them

is that because they're functions I have to declare? Is it because it's an older demo?

If I have to declare these functions or somehow add them to the game, how do I do it?

I see a comment in one of the scripts:

The init_NR_RAND,shuffle_NR_RAND, and get_NR_RAND are located in the "Global code"
//These routines were generously contributed to the GE community by GE Forum Member: Jazz-e-Bob.

But I don't see them built into the game now in any way.
User avatar
catacomber
 
Posts: 195
Joined: Fri Sep 28, 2007 5:36 pm
Score: 10 Give a positive score

Re: Fortune Cookie Demo

Postby makslane » Thu Apr 24, 2008 12:43 am

Can't see the problem.
I've downlaoded the demo and works for me.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Fortune Cookie Demo

Postby catacomber » Thu Apr 24, 2008 12:47 am

The demo works for me as a demo but I'm rebuilding it from scratch. I'm following the creation of it, adding all the actors and scripts as it is in the demo. Maybe once I have all the pieces in it will be fine.

But it looks as though in rebuilding the demo, I would have to add those functions into game editor--I don't see where those two functions are built into the current version of game editor. They're very useful functions. : )
User avatar
catacomber
 
Posts: 195
Joined: Fri Sep 28, 2007 5:36 pm
Score: 10 Give a positive score

Re: Fortune Cookie Demo

Postby makslane » Thu Apr 24, 2008 1:11 am

Will works after put the funcions in the Global Code editor
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Fortune Cookie Demo

Postby catacomber » Thu Apr 24, 2008 1:41 am

I C IT!!!!! :D :D :D :D :D :D :D

Thanks to you and Pyrometal. : ) ) )

Thank you!
User avatar
catacomber
 
Posts: 195
Joined: Fri Sep 28, 2007 5:36 pm
Score: 10 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron