Create Actor Bug?

Non-platform specific questions.

Create Actor Bug?

Postby andyS » Thu Aug 31, 2006 10:12 am

I have created an Actor called test and made this not visible at start up and with a star graphic.

I then created an Actor called wave1 and set it to visible at start up and with a ball graphic.

I then set an Event on wave1 to create actor event and set the action to script editor.

In the script editor I used the function create actor;

"CreateActor("test", "star", "(none)", "(none)", 75, 75, true);"

Should this show test when I run the program or am I missing something?

I had the same problem with a timer and showing an actor sometimes it would work and sometime not. This also depended on if the wave1 actor was within the visible area (even with Receive events when out of vision to yes)

Is this a bug in 1.3.5?

Many thanks for any help

A newbie
andyS
 
Posts: 6
Joined: Tue Aug 29, 2006 2:55 pm
Score: 0 Give a positive score

Postby andyS » Thu Aug 31, 2006 11:08 am

It looks like this problem is only with my current project. I have tried this with a new project and all works as it should.

I also tried to create an actor with a key press and this deosn't work!
Is it possible to get a crupt project?
andyS
 
Posts: 6
Joined: Tue Aug 29, 2006 2:55 pm
Score: 0 Give a positive score

Postby makslane » Thu Aug 31, 2006 1:14 pm

Can you send me this projects?
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby makslane » Thu Aug 31, 2006 6:16 pm

The levelOne create the waveOne actor, but in a position you can't see.
The 20, 20 position is not in your view. Chage the option 'Relative to creator' to Yes or put the actor in other position will solve the problem.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby andyS » Fri Sep 01, 2006 7:29 am

Many thanks for the quick solution!
I hadn't seen the crosshair marking 0,0
I have now moved the view
andyS
 
Posts: 6
Joined: Tue Aug 29, 2006 2:55 pm
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest