| Welcome to Brackenwood. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| My game; please help | |
|---|---|
| Tweet Topic Started: Feb 12 2006, 08:58 PM (332 Views) | |
| flash_bass | Feb 12 2006, 08:58 PM Post #1 |
|
Brackenwood Lightweight
|
I am making a game at the moment and there are a few things i will need help with but ill post them in segments . new segments will apear once i fix the last problem. please help ill be greatfull and you name will go in the credits. [size=7]1st segment:[/size] i have some script to make a guy walk, stand on platforms and not go throu walls the thing is this script will only work once i export it as a flash 6 file not allowing me to add certian new fetures... is there a way to convert the script so it'l work in flash 8 without any (or few) changes... thank you from kieran heres the script on the character ive got
on the ground the instance name is PLATFORMS and ive got this script on them
and there are two walls with the instance name of rightbound and leftbound they have no script |
![]() |
|
| smoscar_01 | Feb 13 2006, 01:47 AM Post #2 |
|
Mid-Level ActionScripter
|
it should work perfectly published on flash 8 (just erasing the last '{' on the character code) and maybe adding this
this way you can get a lot of control of your character position in further things without moving the pivot position of the object |
![]() |
|
| flash_bass | Feb 13 2006, 08:14 PM Post #3 |
|
Brackenwood Lightweight
|
nah it doesnt work he just falls straight through the ground |
![]() |
|
| smoscar_01 | Feb 14 2006, 02:18 AM Post #4 |
|
Mid-Level ActionScripter
|
did you erase the last '{' ?
I already give it a try, maybe its a name recognition problem for example plaform instead of platform
|
![]() |
|
| pez | Feb 14 2006, 09:40 AM Post #5 |
|
Brackenwood Lightweight
|
make sure you name/refer to everything correctly. naming is case sensitive, so if, for example, your movie clip's called "Platforms", referring to is as "platforms" wouldn't work. |
![]() |
|
| flash_bass | Feb 14 2006, 09:08 PM Post #6 |
|
Brackenwood Lightweight
|
ahhh none of these have worked. thanks for the help. the thing is it works when i export it as flash 6 but when i try flash 8 my character just falls throught the ground
|
![]() |
|
| smoscar_01 | Feb 15 2006, 08:08 AM Post #7 |
|
Mid-Level ActionScripter
|
look heres the game so far...it still has a lot of errors but heey maybe they'll be fixed in further segments
:lol: NOTE: Ive already sent the fla file to your email (click the game screen to play it) (TIPS: add a mask to the character and the collision must be just with the feet and the platform )
|
![]() |
|
| flash_bass | Feb 15 2006, 08:16 PM Post #8 |
|
Brackenwood Lightweight
|
Yes yes yes i figured out what was rong in flash 6 the action script mussent be case sensative and i didnt think to change it when i exported as 8 but i did and it worked yes thanks for you help smoscar and pez |
![]() |
|
| flash_bass | Feb 15 2006, 10:19 PM Post #9 |
|
Brackenwood Lightweight
|
now i need hittest i need a movie clip to take my character to another frame but it will only work when youve got the amount of apples in the level and if you dont and try to go through itl desplay a message is this possible
|
![]() |
|
| smoscar_01 | Feb 16 2006, 08:58 AM Post #10 |
|
Mid-Level ActionScripter
|
yes it is possible, Ill give you some tips for you to experiment with them alright? you can declare a counter variable
and each time an apple is eaten youll have to do something like this
now when your character touches the exit movieclip it will only let you out IF the counter equals the amount of apples needed but IF not then you can adjust the properties _x and _y of an alert movieclip
|
![]() |
|
| flash_bass | Feb 16 2006, 08:18 PM Post #11 |
|
Brackenwood Lightweight
|
im no action scripter ive already got my apples action script mayb i should send the fla over msn what time do u come on smoscar
|
![]() |
|
| smoscar_01 | Feb 17 2006, 01:35 AM Post #12 |
|
Mid-Level ActionScripter
|
you say the time or send it to smoscar.01@gmail.com Ive got a lot of available space there
:lol: maybe we could set a time for a step by step helpy tutorial :lol: |
![]() |
|
| flash_bass | Feb 17 2006, 07:47 PM Post #13 |
|
Brackenwood Lightweight
|
yeah sounds great im usaly on from 6 to 8 austalian perth time i dono what that is compered to where ever you live
ill email you the fla so you can have a look any way thank you |
![]() |
|
| crumb | Feb 17 2006, 08:33 PM Post #14 |
|
Rufum Ru Sudily!
|
likeing it Kerien, can't wait for the finished product
|
![]() |
|
| smoscar_01 | Feb 18 2006, 07:50 AM Post #15 |
|
Mid-Level ActionScripter
|
ok those are 7 hours of difference, you say the time, and I didnt recieved your mail
|
![]() |
|
| smoscar_01 | Feb 19 2006, 05:00 AM Post #16 |
|
Mid-Level ActionScripter
|
ok Ive already received it, but just the swf file
well it doesnt really matterswhat you have to do is get a var named counter and another for the total amount of apples at the first frame code, something like this:
then youll have to add 1 to counter everytime an apple is eaten: (this code would have to be at the apple code)
and finally youll have to ask, when the character 'hits' the warp object, if he can continue (this code needs to be at the exit code), lets say you also draw an alert box with the message 'Not enough apples' and link it to ActionScript
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Actionscript · Next Topic » |






)
is this possible
im no action scripter ive already got my apples action script mayb i should send the fla over msn what time do u come on smoscar
5:11 AM Jul 12