| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Feb 2001
Posts: 41
|
hi there,
i'm really right in the middle of making it so, it's unfinished, but a lot of the ain features are there: http://www.flash-i.com/hidden/sxtray.html ok, here i go 1. if you notice, there are some trees near to where you start off which 'grow' when it detects a hittarget from the sheep. now the problem is - when you go near the tree again, it goes back small and then tweens up to being big again... is there any way so that once it's big.. it stays big 2. ok, this is my main problem that i really have no idea about.. . as you'll see if you play the game when the light blue bg ends, the sheep can continue to travel into the black, how can i stop this... the ultimate main problem >> part b) ... i want the bg to be longer than the stage so it's a quite a long level for the game... how do i achieve this? ... any help with the actual actionscripting would be great along with where to place it in the movie... (ps. i don't want it to repeat the background or anything... i want one massive playable level ------ if anyone can provide me with any significant help, i'll put you in the credits... my last game is listed at ultrashock.com ... it's the least i could do ![]() many thanks, jeev |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
can't help with question 1 without knowing how the trees work. I assume it works like this: when the sheep hits the trees they grow. So if you don't want them to grow again you can use a basic conditional:
Code:
treesNotHit = true; // this code goes in Frame 1 of your movie Code:
if (treesNotHit) {
if (your hittest code) {
// grow code
treesNotHit = false;
}
}
The other problem could be overcome in much the same way. You could effectively dissable your right button when the sheep reaches the right hand side of the screen for instance, again using an IF.
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
Thing
Join Date: Jun 2001
Location: UK
Posts: 2,418
|
As for the continual scrolling.....
Have you seen the fla for the 'Barney's' style menu? The menu items are placed vertically on the screen but when you run the fla it joins them up so they scroll vertically as one long menu item. I don't claim to know enough about Flash to be able to build a game yet but it may be possible to use a similar technique to fool the eye and achieve the effect you want. ...maybe... I can post you the fla if you want. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Q] Do we need those forums??? | CyanBlue | General Chat | 59 | 07-27-2004 12:13 PM |
| Position Available: Flash Game Programmer | loveboat | Projects and Positions | 0 | 08-25-2003 08:49 PM |
| Any Flash Game Devs around? | Goosey | Gaming and Game Development | 2 | 03-06-2003 07:57 AM |
| Another Game questions, might be useful for gamers. | Mutty | Gaming and Game Development | 1 | 08-11-2002 06:12 AM |