The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.36 / 5.00 33,851 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 12,195 ViewsAt 10/11/10 07:09 PM, fishmonster wrote: var speed:Number = 0;
You need to set this to something higher than 0 if you want movement.
the walking animation is all in frame 2, i nested it inside a movie clip.
Not totally sure what the problem is here, are you sure there is no stop() in the nested movieclip?
You can just do it like this.
bar.gotoAndPlay(loadPercentage)
At 10/11/10 06:56 PM, fishmonster wrote: the character does turn left and right
Is speed still set to 0 like in the first code?
but he does not move and the walking animation in frame 2 does not play
While the key is down it is constantly sent to frame 2, is the rest of the walking animation on frame 3 onwards?
At 10/11/10 06:07 PM, fishmonster wrote: i forgot to put the code in,
You can just add half the height to the y value.
if (_root.ground.hitTest(_x, _y + _height/2, true)) {
We can't just give you the code for a whole game, if you have any particular problems with actionscript you can ask them here . You will have to learn actionscript or get a programmer.
At 10/11/10 08:47 AM, gumOnShoe wrote: And exactly how many of those let you filter by score, date, & genre?
Fair enough.
Also, how many are ugly?
Actually yours is pretty ugly.
It's not exactly an original idea, although well done for making your own.
Click to view.
Click to view.
Click to view.
Click to view.
You can use || for or
if(value1 == 10 || value2 == 10){
}
At 10/10/10 10:50 AM, Prometheus13 wrote: strange, i saw that ARMORGAMES too
They made a post on another forum to increase the amount of people that would see it. What exactly are you trying to say?
You could try and find the CS3 trial and use your key with it.
Are we talking about the main menu? That seemed pretty good to me.
But it already has a menu.
Then as I said, put them in an array.
var biteys:Array = new Array(bitey1,bitey2,bitey3,bitey4)
var mouseListener:Object = new Object();
mouseListener.onMouseDown = function() {
for(var i = 0;i < biteys.length;i++){
if(biteys[i].hitTest(_root._xmouse,_root.ymouse,true){
biteys[i].startDrag();
}
}
}
I think it's given to people that have their game sponsored by Newgrounds.
I'm not totally sure what you're trying to do. if all the mcs are on the stage why do you need code that works for any amount ?
That can be done with an array.
Have a function to create a "bitey". Then you can loop though and get each one.
var array:Array = new Array();
function createBitey(){
var bitey:MovieClip = new MovieClip()
array.push(bitey)
}
for(var i = 0;i<array.length;i++){
array[i].x = 10
}
Put all of them in an array, then you can loop though the array.
var array:Array = new Array(1,2,3,4,5,6);
for(var i = 0; i < array.length;i++){
trace(i);
}
The ContextMenuItem has a caption property just change this when you toggle the sound or whatever.
http://www.adobe.com/livedocs/flash/9.0/
ActionScriptLangRefV3/flash/ui/ContextMe nuItem.html#caption
At 10/4/10 09:59 AM, mysteryentry wrote: you arent funny, theres no reference to your joke. And what is Ed thats something that fat americans do in american isnt it when they learn to drive?
Ed is short for education, something you are clearly lacking.
Check out the livedocs everything about it should be there.
Context menu:
http://www.adobe.com/livedocs/flash/9.0/
ActionScriptLangRefV3/flash/ui/ContextMe nu.html
Context menu item:
http://www.adobe.com/livedocs/flash/9.0/
ActionScriptLangRefV3/flash/ui/ContextMe nuItem.html
At 10/2/10 08:41 PM, elementell wrote:At 10/2/10 08:40 PM, Callum123456 wrote:Simple hit test objects, but I can't do that if everything is the object, then the bounding box is everywhereAt 10/2/10 08:36 PM, elementell wrote: but then how would I do collision?How are you doing your collision now?
Also, how could I control the character if he's in the movieclip, I can't script inside movieclips.
It's still simple.
if(container.player.hitTestObject(container.enemy)){
//code
}
At 10/2/10 08:36 PM, elementell wrote: but then how would I do collision?
How are you doing your collision now?
Put everything(including the player) in a container MovieClip. Then use the following code.
Source
container.x = -player.x + SCREEN_WIDTH/2;
container.y = -player.y + SCREEN_HEIGHT/2;
At 10/2/10 05:56 PM, Shrubs wrote: What smoothing would be the best?
It's probably best to mess around with it and find a value you like.
What are the rules on loading things from the web? for my game currently I am using a URLRequest to get the sounds, is this allowed? Or will I need to create the sounds using actionscript?
After selecting the brush tool open the properties panel and there should be a smoothing option.
At 10/2/10 02:35 PM, Deadclever23 wrote:At 10/2/10 10:09 AM, GustTheASGuy wrote: I was hoping one of you idiots had finally started using haXe.Question though?
What IDE do you recommend for haXe?
I would say Flash develop but then I'm not Gust, he will probably have a better suggestion.
At 10/2/10 02:24 PM, brandon31998 wrote: No. As in Macromedia Flash Professional 8. You need this program to make cartoons and games.
Flash 8 is like 5 years old. You should try and get a later version.