Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-11-2008, 10:17 AM   #1
Registered User
Join Date: Oct 2007
Posts: 17
Default Problem with drag and drop game

Hia, cheers for having a look.

I'm making a drag and drop game and everything is in place but i have a few problems with the functionality of it.

Basically its a dress up game, when all the right bits of clothing are placed on the person the game plays the end sequence and then goes back to the start.

I have drop targets and items to drop into these targets, when an item is clicked (and held to drag) it swaps the drop target to the next highest level and the item to the level above that one. On release it puts it back where it started....

I'm having a problem with a few of the items of clothing. They wont drop if certain items have already been placed.


When you do manage to get everyhting to drop and the end scene is played out some items remain (usually just one...the hat), the end scene then goes back to the begining and plays through again and keeps repeating.

I'm absolutely stuck, I've been trying things for ages and can't seem to get it to work properly.

If anyone could shed some light on whats going on I'd be really greatful.

The .fla is at the following url

Thanks..I'm pretty new to actionscript so this'll probably be an obvious one
james_littler is offline   Reply With Quote
Old 02-11-2008, 12:36 PM   #2
Registered User
Join Date: Feb 2008
Posts: 13


As my knowledge goes you may need to detect which object is attached and need to call all of them at the end scene just check this attachment.
Attached Files
File Type: zip SnowManSwap_game.zip (159.9 KB, 382 views)
basil_hema is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[AS2] problem with drag and drop game kaos Gaming and Game Development 1 07-30-2006 03:09 PM
Complex drag and drop problem - nested 'if's' (card game) waarbs Gaming and Game Development 1 02-07-2006 01:54 PM
Drag & Drop Peculiar Problem apprentice ActionScript 1.0 (and below) 7 12-31-2003 11:14 AM
drag and drop game with a problem lucymadddison Gaming and Game Development 13 11-28-2003 07:20 AM

All times are GMT. The time now is 04:23 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.