The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 Viewsi think this is because you do not have a hittest while walking, only while jumping.
it sounds like there is too much volumn in it; it gets all staticy every time it gets loud.
well, if you want you can just do a normal hitTest to make up for the space inbetween those four points or you can write some script to check along the boundary lines; all four of them.
what are you talking about?
http://www.kirupa.com/developer/actionsc ript/shared_objects.htm
here ;)
hey every one! I was just doing an experiment in making a mine sweeper game( I know it is not original). Here is the file(.fla) http://spamtheweb.com/ul/upload/3808/411 80_mine_sweeper.fla
I am wondering how I would be able to make sure the mines are not on top of each other. Would I do another for loop on the frame or put some code in the mines?
Thanks
now that i think of it, that's obvious, thanks.
so I have a simple listener that will trace 4 when I press down. What is/are the error(s)?
var ListenerObject:Object = new Object();
ListenerObject.onMouseDown=function(eventObj:Object){
trace(4)
}
Key.addListener(ListenerObject);
Thanks
not to interrupt or anthing but i was wondering if there was a way to get a soundfont that had all the sounds of the drums like in this video
http://www.youtube.com/watch?v=FHWer4AnY GY&feature=related
-thanks
if you need any help in doing extremely boring tasks I'm the guy.
Does anyone know of a good website that has forums and everything that can help with me fl studio problems?
much appreciated
so i have this ball that has this hitest in it. I need the gravity to be 0 if something is underneath it. not above it or on the side of it. right now it is checking all the sides of the ball and since it is only hitting on a few points (on the bottom), gravity is turned on.
for (i=0; i<360; i += 5) {
X = (Math.cos(i*(Math.PI/180))*radius)+_x;
Y = (Math.sin(i*(Math.PI/180))*radius)+_y;
if ((!_root.ground1.hitTest(X, Y, true)) && (startjump == false)) {
gravity += .4;
} else if ((_root.ground1.hitTest(X, Y, true)) && (startjump == false)) {
gravity = 0;
}
}
At 10/15/08 08:43 PM, dylan-double-c wrote: do i use hit tests to move to a differennt frame?
onClipEvent(enterFame){
if(_root.object1.hitTest(_root.object2))
{
_root.gotoAndStop(#)
}
}
if i wanted to a hit test two mcs using shapflag then how would i do it? I do't want to use the exact location of the origin but 13 pixels added to the y. Here is a not working code:
if (_root.ground1.hitTest(_root.this._x,thi s._y+13,true)) {
trace(1)
}
how would i be albe to do this in working code?
it now says "[type function]/26631"
what is the "type function" part for?
At 10/15/08 06:17 PM, BillysProgrammer wrote: MISTAKE FIXED...again
no, not like that
var loading:Number = _root.getBytesLoaded();
var loadingtotal:Number = _root.getBytesTotal();
onEnterFrame = function () {
loadingtext.text = loading+"/"+loadingtotal;
}
try that, keep all the instances or VARS the same on the dynamic boxes
if this is part of the preloader will i be able to test out the dynamic boxs?
the code is on the main timeline, so should i have
_root.onEnterFrame=function(){} ?
so i have this script on a frame that corresponds to a dynamic text box, whats wrong with it?
var loading:Number = _root.getBytesLoaded();
var loadingtotal:Number = _root.getBytesTotal();
loadingtext = loading+"/"+loadingtotal;
so i have this script in on a frame that corresponds to a dynamic text box, whats wrong with it?
var loading:Number = _root.getBytesLoaded();
var loadingtotal:Number = _root.getBytesTotal();
loadingtext = loading+"/"+loadingtotal;
At 10/14/08 09:53 PM, BillysProgrammer wrote: Make a variable on the main timeline
var health:Number = 100;
<-- Example
Then, make a dynamic text boxs text box VAR "health" (no quotes)
Test It
ok now how do I put in the "health:" part of it?(it displays this always)
I just can't figure out how to make dynamic text boxes work. if i want to diplay _root.health in a text box and i want the textbox to say "health:" _root.health how do i do that?
thanks
here is a really good link to everything you will need and beyond
http://www.newgrounds.com/bbs/topic/6381 83
Ahh, what the heck I'll do one.
how would i be able to do stuff when a button is pressed and then relesed. like if someone pushed the q key something wouldn't happen until they released it.