RICOCHET INFINITY

For all things Ricochet...
It is currently Sun May 19, 2013 1:29 pm

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: start item off screen, then move afer on screen brick all hi
PostPosted: Tue Jan 20, 2009 12:33 am 
Offline

Joined: Sat Jan 17, 2009 10:05 pm
Posts: 44
HI, I am fairly new to this, and submitted my first game (ABC) recently. Now I am trying to do more.

I have been trying different ways to start an item off screen, then move after all on screen bricks are hit. Every time I try & script a sequence the game ends when final block on first screnn is hit. I tried to work on Background Layer, thinking that was the answer, but can't tell if I am in background, since I can still see all my bricks, and when I do anything, it appears on my main screen.

I have tried to do from instructions (help), have tried 'wait for brick to be destroyed', and I can do as in instruction, but when I change slightly, like, Move between two points, it doesn't funtion correctly.

I tried to find one in someones elses game, and check sequence, but I can't select anything off the first screen, so I can't get function.

wahat I want is to have a second layer from my first screen.

can anyone help? Thank you.
dina


Top
 Profile  
 
 Post subject: Re: start item off screen, then move afer on screen brick all hi
PostPosted: Tue Jan 20, 2009 4:09 am 
Offline
Ghost Buster
Ghost Buster
User avatar

Joined: Thu Jan 12, 2006 11:58 pm
Posts: 22612
Location: Tennessee, USA
It sounds like you are doing it correctly. What I would do is probably the same as you have done.

Sequence
>Move to point (x 0 & y -1000) in 0 seconds
>Wait for brick to be destroyed (put in name of brick)
>Move to point (x 0 & y 0) in 3 seconds

The only other thing I can think of is...did you tell the sequence to "stop" at the end? If you didn't, it tried to keep repeating the sequence which can make a level look really weird when playing.

_________________
Image
If I don't get my Infinity, I'm going back to bed!


Top
 Profile  
 
 Post subject: Re: start item off screen, then move afer on screen brick all hi
PostPosted: Tue Jan 20, 2009 11:50 am 
Offline

Joined: Sat Jan 17, 2009 10:05 pm
Posts: 44
Thanks for trying. I did what you said, but it still does not function correctly.
Quote:
I have great faith in fools, self confidense, my friends call it. Edgar Allen Poe


Top
 Profile  
 
 Post subject: Re: start item off screen, then move afer on screen brick all hi
PostPosted: Tue Jan 20, 2009 12:42 pm 
Offline
Ghost Buster
Ghost Buster
User avatar

Joined: Thu Jan 12, 2006 11:58 pm
Posts: 22612
Location: Tennessee, USA
I just caught something you mentioned in your first post. You said the level ends before the second group of bricks comes back on screen. The bricks that are being sent off screen...do they have a "destroy self if offscreen" plugin?

_________________
Image
If I don't get my Infinity, I'm going back to bed!


Top
 Profile  
 
 Post subject: Re: start item off screen, then move afer on screen brick all hi
PostPosted: Wed Jan 21, 2009 3:06 am 
Offline

Joined: Sat Jan 17, 2009 10:05 pm
Posts: 44
Big Mamma, first, thans for trying to help, I appreciate your patience.

no, they are not set to destruct off screen, what I mean is, I have seen other's games where you see a pattern, and when you break the last brick, another set of bricks comes on screen. I can't get this to happen. If I delay by # of minutes, then what if you finish before the # of minutes specified. I tried to use the Expression/Wait for desired # of bricks, but can not figure how to get it to work.
I can get the movement to wait to come on screen, but I have to choose they brick to wait for, which means I have to know which will be the last brick 'standing', which I can not know.

keep tying to help me, I will keep trying to get it.


Top
 Profile  
 
 Post subject: Re: start item off screen, then move afer on screen brick all hi
PostPosted: Wed Jan 21, 2009 4:46 am 
Offline
Ghost Buster
Ghost Buster
User avatar

Joined: Fri Sep 03, 2004 4:41 am
Posts: 22980
Location: British Columbia, Canada
Don't you have to name all the bricks on the screen the same, so when they are all destroyed then the bricks off screen show up?


Top
 Profile  
 
 Post subject: Re: start item off screen, then move afer on screen brick all hi
PostPosted: Wed Jan 21, 2009 9:38 am 
Offline

Joined: Sat Jan 17, 2009 10:05 pm
Posts: 44
thought I had it, but still not... I've seen it on many others screens, but of course, now that I want to find a example I can't find one quick. The ones I have seen, I got to Edit mode, but can't seem to find the scripting. I try to look for bricks, off to the right, (under the round status), where they are 'hidden' but can not find bricks, so the author must be doing something different from me.

Again, what I want to do is:
in one level, have some bricks waiting, and only have them come out after all bricks showing are gone.

I can get my off screen to wait for a certain amount of time, BUT, since I don't know how long it will take someone to clear the field, this will not work as I want. I can also get waiting bricks to wait for a particular brick to be gone, BUT again, since I don't know what will be last brick standing, it doesn't do what I want.

Heeeellllppppp !!!!


Thanks. :D
dina


Top
 Profile  
 
 Post subject: Re: start item off screen, then move afer on screen brick all hi
PostPosted: Wed Jan 21, 2009 4:05 pm 
Offline
Ghost Buster
Ghost Buster
User avatar

Joined: Thu Jan 12, 2006 11:58 pm
Posts: 22612
Location: Tennessee, USA
If we look at this as a phase I, phase II type of level, did you name all the bricks in phase I the same name? Also, are all the bricks with the same name able to be destroyed? If you have a marker or deflector or some other type of brick on the playfield that cannot be destroyed, it would mess up the play.

_________________
Image
If I don't get my Infinity, I'm going back to bed!


Top
 Profile  
 
 Post subject: Re: start item off screen, then move afer on screen brick all hi
PostPosted: Wed Jan 21, 2009 4:10 pm 
Offline
Ricochet Developer
Ricochet Developer
User avatar

Joined: Fri Apr 09, 2004 1:52 pm
Posts: 8519
Location: California
Start with a much simpler case to figure out the technique before applying it to your grand level design.

Make a new levels
Make two bricks named "Phase1"
Make a third back that has the script:
Sequence
**Step1: MoveToPoint(2000,2000) (off screen)
**Step2: WaitForBrickToBeDestroyed(Phase1)
**Step3:MoveToPoint(0,0) (back where it started
**Repeat: do NOT repeat sequence

Be sure to NOT put these three steps in the "simulates" plug-in slots. You need to add a Sequence plug-in and put them inside of there.

When you play this level the 3rd brick should go off screen immediately and then come back when both of the "phase1" bricks are destroyed.

Once you get this working try building up from there.


Top
 Profile  
 
 Post subject: Re: start item off screen, then move afer on screen brick all hi
PostPosted: Thu Jan 22, 2009 4:15 am 
Offline

Joined: Sat Jan 17, 2009 10:05 pm
Posts: 44
THANKS ! got it now. :lol:
dina


Top
 Profile  
 
 Post subject: Re: start item off screen, then move afer on screen brick all hi
PostPosted: Thu Jan 22, 2009 4:27 am 
Offline
Ghost Buster
Ghost Buster
User avatar

Joined: Thu Jan 12, 2006 11:58 pm
Posts: 22612
Location: Tennessee, USA
That's wonderful!!! But tell us...what was the hang-up that prevented it from working before?

_________________
Image
If I don't get my Infinity, I'm going back to bed!


Top
 Profile  
 
 Post subject: Re: start item off screen, then move afer on screen brick all hi
PostPosted: Fri Jan 23, 2009 3:47 am 
Offline

Joined: Sat Jan 17, 2009 10:05 pm
Posts: 44
I tried 'moving between two bricks', and I couldn't get it to work, but when James said to Move to a point, it worked fine, so I used 2 of Move to a point. I think I was trying to put a 'wait' function in-between 'move between two points', so it wasn't working correctly.

Dina


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: Heritrix [Crawler] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group