The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.38 / 5.00 36,385 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 13,902 Viewshow come the box at the end of the level doesn't work when the charector goes over it
_root.onEnterFrame=function(){
if(_root.character.hitTest(_root.levelEnd)
){
_root.nextFrame();
onEnterFrame=null
}
}
yes charecter (but spelled right) and levelEnd
if(_root.character.hitTest(_root.levelEnd)
){
make that into one line, newgrounds automatically shorten's it.
At 3/4/06 03:51 AM, -Vengeance- wrote: if(_root.character.hitTest(_root.levelEnd)
){
make that into one line, newgrounds automatically shorten's it.
Flash doens't read whitespace though(right...) If you want to solve your own problems, throw a "trace("");" into the middle of that funtion
At 3/4/06 03:56 AM, kevinvvfry wrote: yes
post the errors....
sorry i fell asleep on the keybored earlier but it still doesn't work
At 3/4/06 12:37 PM, kevinvvfry wrote: sorry i fell asleep on the keybored earlier but it still doesn't work
What did the errors say?
At 3/4/06 12:37 PM, kevinvvfry wrote: sorry i fell asleep on the keybored earlier but it still doesn't work
nextFrame(); doesn't always work if theres a stop(); command I find. Try using _root.gotoAndPlay(#); instead.
#=frame number.
**Error** Scene=Scene 1, layer=level, frame=5:Line 2: Unexpected '}' encountered
if(_root.character.hitTest(_root.levelEnd)
)}
Total ActionScript Errors: 1 Reported Errors: 1
At 3/4/06 12:44 PM, kevinvvfry wrote: **Error** Scene=Scene 1, layer=level, frame=5:Line 2: Unexpected '}' encountered
if(_root.character.hitTest(_root.levelEnd)
)}
Total ActionScript Errors: 1 Reported Errors: 1
Put
if (_root.character.hitTest(_root.levelEnd))}
on one line.
log onto aim itll be eiser we can talk like that
At 3/4/06 12:49 PM, kevinvvfry wrote: log onto aim itll be eiser we can talk like that
I don't have aim.
At 3/4/06 12:54 PM, Cybex wrote:At 3/4/06 12:49 PM, kevinvvfry wrote: log onto aim itll be eiser we can talk like thatI don't have aim.
oh well then it still doesntwork im so confused
At 3/4/06 12:54 PM, Cybex wrote: I don't have aim.
Sure ya dont -_O ,!,
At 3/4/06 12:55 PM, kevinvvfry wrote:At 3/4/06 12:54 PM, Cybex wrote:oh well then it still doesntwork im so confusedAt 3/4/06 12:49 PM, kevinvvfry wrote: log onto aim itll be eiser we can talk like thatI don't have aim.
What error message comes up now?
_root doesn't accept onEnterFrame() commands, surely?
Might be a step in the right direction for other people to sort out. I'm none to sure how to handle hittests
...