Be a Supporter!
Help with actionscript 2 game Posted April 13th, 2014 in Programming

Hello, I'm trying to learn how to make a game in actionscript and am having some trouble with making a win screen for the player. A game over screen is in place, which removes all the enemies plus the player, but I want the game to remove all the enemy symbols and leave the player onscreen for the win game.

this is what I have for the ship classes win screen so far. Whenevr the final boss is killed it shows the screen but does not destroy all the enemies

function destroyAllEnemies()
{

for(var i = 0; i< enemies.length; i++)
{

enemies[i].explode();
}
}

function wingame()
{
this._visible = true;

_root.Boss.win._visible = true;

destroyAllEnemies();

again im not so good with this, there is more code to this so if i need to post more of the code then please let me know, didnt want to post it first because its about 200 lines. any help is much appreciated.

Cheers

GrimChuclate

Response to: help with javascript for fancybox Posted October 17th, 2013 in Programming

At 10/17/13 08:23 AM, liljim wrote:
At 10/17/13 07:45 AM, GrimChuclate wrote: cool thank you. I tried that and the first image works perfectly. However the rest of the gallery doesn't load the preview image or in some of them not even the preview image box or link to view the larger version. any suggestions?
You've mucked up some of your markup, replace '"title' with '" title'.

That aside, the images you're linking to don't exist on the filesystem.

urg, I don't know why it wasn't on the filesystem, but its finally fixed and working now. (a couple of files weren't linking properly, the extensions were all in caps lock instead of lower case? also the javascript was doing something strange. i dunno)

but thank you very much for the help!

Response to: help with javascript for fancybox Posted October 17th, 2013 in Programming

At 10/17/13 05:17 AM, liljim wrote:
At 10/16/13 05:51 PM, GrimChuclate wrote: how would I go about doing these things? I'm a complete noob when it comes to this so really sorry. I'm using dreamweaver cs3 for this.
Edit the file attributes of the image (you can probably click the image and edit the location of the file in dreamweaver) and change "my gallery" to "my%20gallery".

Alternatively (and you should do this regardless): avoid using spaces and any other non-alphanumeric characters in your file and directory names. Stick to lower case, too. If you need to use space-like-characters, replace them with underscores or hyphens.

e.g.:

my_gallery/my-file.jpg

(So, rename your local "my gallery" directory to "my_gallery" or "mygallery" or whatever, reference and upload that directory).

cool thank you. I tried that and the first image works perfectly. However the rest of the gallery doesn't load the preview image or in some of them not even the preview image box or link to view the larger version. any suggestions?

Response to: help with javascript for fancybox Posted October 16th, 2013 in Programming

At 10/16/13 04:15 PM, WoogieNoogie wrote: It seems that your background image URL needs to be encoded. Your directory "my gallery" needs to read "my%20gallery" in the CSS for the background image. It works when you click it, because most browsers will auto-encode a space when clicking a link.

You will also probably need to constrain the background image to fit into the area with CSS. I'm just doing some on-page testing though, so I don't have the exact code to fix it.

Hey WoogleNoogle

how would I go about doing these things? I'm a complete noob when it comes to this so really sorry. I'm using dreamweaver cs3 for this.

help with javascript for fancybox Posted October 16th, 2013 in Programming

yo
was wondering if anyone could help me with some javascript programming for my website. I'm still new to javascript and html and I'm trying to get my images to load with a fancybox plugin. however the tutorial i was following included a 'preview' area which for me doesn't work. I just want the user to click on the thumbnail and have a high res photo of the image loading on the same page. I've tried googling solutions but to no success. Below's a link to my site page I'm having the trouble with. the first, 7th and 8th image load in fancybox when you click on 'view large image' but the others don't. Any help/suggestions to what I can do is much appreciated

http://jackwmurray.com/2D/concept%20art.html

Pretty photoshop backgrounds. Posted September 17th, 2010 in Art

I want to create a pretty looking background in photoshop for an animation being done in flash, similar to the music video el Manana by Gorillaz
im not saying i want to recreate it or copy the style, caz the stuff they do is insanely awesome, i just want to know how to get the luscious, vivid and dynamic colours and use them in photoshop so that i can use it as backgrounds.

http://www.youtube.com/watch?v=ISz_M_tIT 4s&ob=av2e

cheers

Pretty backgrounds for photoshop Posted September 17th, 2010 in Where is / How to?

I want to create a pretty looking background in photoshop for an animation being done in flash, similar to the music video el Manana by Gorillaz
im not saying i want to recreate it or copy the style, caz the stuff they do is insanely awesome, i just want to know how to get the luscious, vivid and dynamic colours and use them in photoshop so that i can use it as backgrounds.

http://www.youtube.com/watch?v=ISz_M_tIT 4s&ob=av2e

cheers.