Highlighted

Help with a js coding task.

New Here ,
Apr 24, 2020

Copy link to clipboard

Copied

Screenshot_1.jpg

 

Hey everyone, i found a tutorial about a drag and drop game, where you drag an item to a set location, the question is as follows: i need this in a game im making but with 15 different objects and i don't think duplicating this code 15 times changing the values for every on my object is the best way posible, can you guys help me with ideas?

TOPICS
ActionScript, Code, How to

Views

173

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Help with a js coding task.

New Here ,
Apr 24, 2020

Copy link to clipboard

Copied

Screenshot_1.jpg

 

Hey everyone, i found a tutorial about a drag and drop game, where you drag an item to a set location, the question is as follows: i need this in a game im making but with 15 different objects and i don't think duplicating this code 15 times changing the values for every on my object is the best way posible, can you guys help me with ideas?

TOPICS
ActionScript, Code, How to

Views

174

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 24, 2020 0

Have something to add?

Join the conversation