SlideShare a Scribd company logo
1 of 3
Download to read offline
PROBLEM SOLVING IN GAMESALAD
A major issue we had during this project was making the parallax scrolling background. At first, we
thought we had it covered. It seemed simple: we’d drag in 20 odd instances of the same background ,
line them up in an equal alignment horizontally leading off towards the left side of the screen and add a
move behavior to that one background actor a the 180 degree direction and watch as all the instances
moved, in sync, at the same speed. Perfect. It was just like our paper prototype, the background would
be rolled through the screen the old fashioned way. There we were sitting there ready to add to our
fantastic idea, naively assuming that it was entirely possibly just to loop the occurrence of the
background instances, when it occurred to us that our background wasn’t rolling too smoothly and it
lagged the simply yellow rectangle, that at the timed we called Chad.
This was because all the
instances of the background and
later, the buildings over the top were causing an overload of data and we realised that if we added
anymore assets in, the game would be more and more likely to crash frequently. There had to be a way
to decrease the number of instances. We understood that the problem was that too many instances of
the background were present at once; as the instances that had passed through the screen made an
exit off the left side, they just carried on going, meaning that they were inevitably still in the game. We
needed to destroy them so that once they were gone, they were gone. We came to the conclusion that
creating an actor purely just to destroy those instances and creating a spawning actor to renew these
expulsions.
Creating these actors seemed simple and I swiftly created a spawner and a destroyer and proceeded to
add in the rules of when the destroyer destroys the background upon overlap, the spawner spawns a
new background. The cycle and correspondence between the time that the background’s spawned and
destroyed was not equal and the backgrounds and buildings were being destroyed and spawned over
each other, on screen, in a big mess. The spawner needed further indication of when the backgrounds
were meeting the destroyer. A well placed attribute was required here and I later began to understand
whilst creating future assets for the game that attributes are a great communicator for behaviors in
GameSalad. I created an attribute exclusive to the background actor called “overlap”. When a
background was to be destroyed this attribute’s value would be set to 1. A rule was then created in the
spawner to show it that when the overlap attribute’s value was 1, a new instance should be spawned.
This proved to be very effective and actors began to spawn and disappear better. However, once I added
the buildings in over the top and made them move at a slower speed, I noticed that too many were
spawning at one time and that they were overlapping each other. To fix this, I created a simple
debugging system with two integer attributes that added a point to themselves whenever an actor was
spawned and destroyed and displayed them on screen so that I could count them and notice the
difference.
The only further issue we had with this scrolling technique was firstly, shrinking the buildings to the
correct size so that they spawned correctly in the game, an issue that arose from the fact that we
saved the PNGs from Photoshop in the wrong sizes. Secondly, there was a gap between the spawned
buildings on screen and the newly spawned buildings coming on to the screen but this was simply fixed
by altering their position on the x axis.
Gamesalad problems

More Related Content

Similar to Gamesalad problems

Rethink Async with RXJS
Rethink Async with RXJSRethink Async with RXJS
Rethink Async with RXJSdevObjective
 
Rethink Async With RXJS
Rethink Async With RXJSRethink Async With RXJS
Rethink Async With RXJSRyan Anklam
 
1. production experiments 1
1. production experiments 11. production experiments 1
1. production experiments 1AlicjaMorawska
 
2d game engine workflow
2d game engine workflow2d game engine workflow
2d game engine workflowluisfvazquez1
 
A-Rage AGDC (The Australian Game Developers Conference)
A-Rage AGDC (The Australian Game Developers Conference)A-Rage AGDC (The Australian Game Developers Conference)
A-Rage AGDC (The Australian Game Developers Conference)JT Velikovsky
 
Umbra Ignite 2015: Thor Gunnarsson & Reynir Hardarson – Nailing AAA quality i...
Umbra Ignite 2015: Thor Gunnarsson & Reynir Hardarson – Nailing AAA quality i...Umbra Ignite 2015: Thor Gunnarsson & Reynir Hardarson – Nailing AAA quality i...
Umbra Ignite 2015: Thor Gunnarsson & Reynir Hardarson – Nailing AAA quality i...Umbra Software
 
Kalan Ray (Magnopus): Bringing the Land of the Dead to Life: The Making of Co...
Kalan Ray (Magnopus): Bringing the Land of the Dead to Life: The Making of Co...Kalan Ray (Magnopus): Bringing the Land of the Dead to Life: The Making of Co...
Kalan Ray (Magnopus): Bringing the Land of the Dead to Life: The Making of Co...AugmentedWorldExpo
 
Elliot Black 3D game Workflow
Elliot Black 3D game WorkflowElliot Black 3D game Workflow
Elliot Black 3D game WorkflowElliotBlack
 
Phantom Doctrine: a Design Post-Mortem
Phantom Doctrine: a Design Post-MortemPhantom Doctrine: a Design Post-Mortem
Phantom Doctrine: a Design Post-MortemKacper Szymczak
 
Medal of Honor:Airborne Art Direction
Medal of Honor:Airborne Art DirectionMedal of Honor:Airborne Art Direction
Medal of Honor:Airborne Art DirectionJustin Thomas
 
Gm tutorial adding depth tutorial by game maker
Gm tutorial   adding depth tutorial by game makerGm tutorial   adding depth tutorial by game maker
Gm tutorial adding depth tutorial by game makerJin Toples
 
The prestige of being a web developer
The prestige of being a web developerThe prestige of being a web developer
The prestige of being a web developerChristian Heilmann
 
Documentation of my 2D game
Documentation of my 2D gameDocumentation of my 2D game
Documentation of my 2D gamerosstapher
 
3. production experiments(2)
3. production experiments(2)3. production experiments(2)
3. production experiments(2)Luke Ross
 

Similar to Gamesalad problems (20)

Rethink Async with RXJS
Rethink Async with RXJSRethink Async with RXJS
Rethink Async with RXJS
 
Rethink Async With RXJS
Rethink Async With RXJSRethink Async With RXJS
Rethink Async With RXJS
 
1. production experiments 1
1. production experiments 11. production experiments 1
1. production experiments 1
 
2d game engine workflow
2d game engine workflow2d game engine workflow
2d game engine workflow
 
A-Rage AGDC (The Australian Game Developers Conference)
A-Rage AGDC (The Australian Game Developers Conference)A-Rage AGDC (The Australian Game Developers Conference)
A-Rage AGDC (The Australian Game Developers Conference)
 
Task 2 Work Flow
Task 2 Work FlowTask 2 Work Flow
Task 2 Work Flow
 
Umbra Ignite 2015: Thor Gunnarsson & Reynir Hardarson – Nailing AAA quality i...
Umbra Ignite 2015: Thor Gunnarsson & Reynir Hardarson – Nailing AAA quality i...Umbra Ignite 2015: Thor Gunnarsson & Reynir Hardarson – Nailing AAA quality i...
Umbra Ignite 2015: Thor Gunnarsson & Reynir Hardarson – Nailing AAA quality i...
 
Workflow
WorkflowWorkflow
Workflow
 
Kalan Ray (Magnopus): Bringing the Land of the Dead to Life: The Making of Co...
Kalan Ray (Magnopus): Bringing the Land of the Dead to Life: The Making of Co...Kalan Ray (Magnopus): Bringing the Land of the Dead to Life: The Making of Co...
Kalan Ray (Magnopus): Bringing the Land of the Dead to Life: The Making of Co...
 
Task 2 workflow
Task 2 workflowTask 2 workflow
Task 2 workflow
 
Workflow
WorkflowWorkflow
Workflow
 
Elliot Black 3D game Workflow
Elliot Black 3D game WorkflowElliot Black 3D game Workflow
Elliot Black 3D game Workflow
 
Documentation
DocumentationDocumentation
Documentation
 
Phantom Doctrine: a Design Post-Mortem
Phantom Doctrine: a Design Post-MortemPhantom Doctrine: a Design Post-Mortem
Phantom Doctrine: a Design Post-Mortem
 
Medal of Honor:Airborne Art Direction
Medal of Honor:Airborne Art DirectionMedal of Honor:Airborne Art Direction
Medal of Honor:Airborne Art Direction
 
Work flow
Work flowWork flow
Work flow
 
Gm tutorial adding depth tutorial by game maker
Gm tutorial   adding depth tutorial by game makerGm tutorial   adding depth tutorial by game maker
Gm tutorial adding depth tutorial by game maker
 
The prestige of being a web developer
The prestige of being a web developerThe prestige of being a web developer
The prestige of being a web developer
 
Documentation of my 2D game
Documentation of my 2D gameDocumentation of my 2D game
Documentation of my 2D game
 
3. production experiments(2)
3. production experiments(2)3. production experiments(2)
3. production experiments(2)
 

More from Josh Matthews

More from Josh Matthews (20)

Unit 17 - Graphic design
Unit 17 - Graphic designUnit 17 - Graphic design
Unit 17 - Graphic design
 
Unit 34 - Further research
Unit 34 - Further researchUnit 34 - Further research
Unit 34 - Further research
 
Unit 16 - Photography
Unit 16 - PhotographyUnit 16 - Photography
Unit 16 - Photography
 
Unit 34 - Further research
Unit 34 - Further researchUnit 34 - Further research
Unit 34 - Further research
 
Mm os and rpgs
Mm os and rpgsMm os and rpgs
Mm os and rpgs
 
T shirt analysis
T shirt analysisT shirt analysis
T shirt analysis
 
Future trends
Future trendsFuture trends
Future trends
 
Evaluation of news report
Evaluation of news reportEvaluation of news report
Evaluation of news report
 
Chad marketing campaign
Chad marketing campaignChad marketing campaign
Chad marketing campaign
 
Graphic design products for chad
Graphic design products for chadGraphic design products for chad
Graphic design products for chad
 
Unit01 a02-
Unit01 a02-Unit01 a02-
Unit01 a02-
 
Questionaire
QuestionaireQuestionaire
Questionaire
 
Treatment - Drama
Treatment - DramaTreatment - Drama
Treatment - Drama
 
Unit 1 AO2
Unit 1 AO2Unit 1 AO2
Unit 1 AO2
 
Fruit ninja app logo analysis
Fruit ninja app logo analysisFruit ninja app logo analysis
Fruit ninja app logo analysis
 
Unit 1 AO2
Unit 1 AO2Unit 1 AO2
Unit 1 AO2
 
Ai presentation (1) 2
Ai presentation (1) 2Ai presentation (1) 2
Ai presentation (1) 2
 
Ai presentation (1) 2
Ai presentation (1) 2Ai presentation (1) 2
Ai presentation (1) 2
 
Titanfall structure
Titanfall structureTitanfall structure
Titanfall structure
 
Titanfall structure
Titanfall structureTitanfall structure
Titanfall structure
 

Recently uploaded

How consumers use technology and the impacts on their lives
How consumers use technology and the impacts on their livesHow consumers use technology and the impacts on their lives
How consumers use technology and the impacts on their livesMathuraa
 
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Analysis of Sineing Website and how to fix
Analysis of Sineing Website and how to fixAnalysis of Sineing Website and how to fix
Analysis of Sineing Website and how to fixDHARMENDER PRATAP
 
Distribution Ad Platform_ The Role of Distribution Ad Network.pdf
Distribution Ad Platform_ The Role of  Distribution Ad Network.pdfDistribution Ad Platform_ The Role of  Distribution Ad Network.pdf
Distribution Ad Platform_ The Role of Distribution Ad Network.pdfTransports Advertising
 
personal branding kit for music business
personal branding kit for music businesspersonal branding kit for music business
personal branding kit for music businessbrjohnson6
 
[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies Uncovered[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies UncoveredSearch Engine Journal
 
BDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15SearchNorwich
 
BDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Brand experience Dream Center Peoria Presentation.pdf
Brand experience Dream Center Peoria Presentation.pdfBrand experience Dream Center Peoria Presentation.pdf
Brand experience Dream Center Peoria Presentation.pdftbatkhuu1
 
Enhancing Business Visibility PR Firms in San Francisco
Enhancing Business Visibility PR Firms in San FranciscoEnhancing Business Visibility PR Firms in San Francisco
Enhancing Business Visibility PR Firms in San Franciscosanfranciscoprfirms
 
Brand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdfBrand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdftbatkhuu1
 
What is Google Search Console and What is it provide?
What is Google Search Console and What is it provide?What is Google Search Console and What is it provide?
What is Google Search Console and What is it provide?riteshhsociall
 
Major SEO Trends in 2024 - Banyanbrain Digital
Major SEO Trends in 2024 - Banyanbrain DigitalMajor SEO Trends in 2024 - Banyanbrain Digital
Major SEO Trends in 2024 - Banyanbrain DigitalBanyanbrain
 
BDSM⚡Call Girls in Sector 19 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 19 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 19 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 19 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Rise and fall of Kulula.com, an airline won consumers by different marketing ...
Rise and fall of Kulula.com, an airline won consumers by different marketing ...Rise and fall of Kulula.com, an airline won consumers by different marketing ...
Rise and fall of Kulula.com, an airline won consumers by different marketing ...ssusereaa7d9
 
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptxDigital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptxZACGaming
 
Alpha Media March 2024 Buyers Guide.pptx
Alpha Media March 2024 Buyers Guide.pptxAlpha Media March 2024 Buyers Guide.pptx
Alpha Media March 2024 Buyers Guide.pptxDave McCallum
 
Elevate Your Advertising Game: Introducing Billion Broadcaster Lift Advertising
Elevate Your Advertising Game: Introducing Billion Broadcaster Lift AdvertisingElevate Your Advertising Game: Introducing Billion Broadcaster Lift Advertising
Elevate Your Advertising Game: Introducing Billion Broadcaster Lift AdvertisingVikasYadav194549
 

Recently uploaded (20)

How consumers use technology and the impacts on their lives
How consumers use technology and the impacts on their livesHow consumers use technology and the impacts on their lives
How consumers use technology and the impacts on their lives
 
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
 
Analysis of Sineing Website and how to fix
Analysis of Sineing Website and how to fixAnalysis of Sineing Website and how to fix
Analysis of Sineing Website and how to fix
 
Distribution Ad Platform_ The Role of Distribution Ad Network.pdf
Distribution Ad Platform_ The Role of  Distribution Ad Network.pdfDistribution Ad Platform_ The Role of  Distribution Ad Network.pdf
Distribution Ad Platform_ The Role of Distribution Ad Network.pdf
 
personal branding kit for music business
personal branding kit for music businesspersonal branding kit for music business
personal branding kit for music business
 
[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies Uncovered[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies Uncovered
 
BDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort Service
 
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
 
BDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort Service
 
Brand experience Dream Center Peoria Presentation.pdf
Brand experience Dream Center Peoria Presentation.pdfBrand experience Dream Center Peoria Presentation.pdf
Brand experience Dream Center Peoria Presentation.pdf
 
Enhancing Business Visibility PR Firms in San Francisco
Enhancing Business Visibility PR Firms in San FranciscoEnhancing Business Visibility PR Firms in San Francisco
Enhancing Business Visibility PR Firms in San Francisco
 
Brand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdfBrand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdf
 
What is Google Search Console and What is it provide?
What is Google Search Console and What is it provide?What is Google Search Console and What is it provide?
What is Google Search Console and What is it provide?
 
Major SEO Trends in 2024 - Banyanbrain Digital
Major SEO Trends in 2024 - Banyanbrain DigitalMajor SEO Trends in 2024 - Banyanbrain Digital
Major SEO Trends in 2024 - Banyanbrain Digital
 
BDSM⚡Call Girls in Sector 19 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 19 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 19 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 19 Noida Escorts >༒8448380779 Escort Service
 
Rise and fall of Kulula.com, an airline won consumers by different marketing ...
Rise and fall of Kulula.com, an airline won consumers by different marketing ...Rise and fall of Kulula.com, an airline won consumers by different marketing ...
Rise and fall of Kulula.com, an airline won consumers by different marketing ...
 
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptxDigital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
 
Alpha Media March 2024 Buyers Guide.pptx
Alpha Media March 2024 Buyers Guide.pptxAlpha Media March 2024 Buyers Guide.pptx
Alpha Media March 2024 Buyers Guide.pptx
 
Elevate Your Advertising Game: Introducing Billion Broadcaster Lift Advertising
Elevate Your Advertising Game: Introducing Billion Broadcaster Lift AdvertisingElevate Your Advertising Game: Introducing Billion Broadcaster Lift Advertising
Elevate Your Advertising Game: Introducing Billion Broadcaster Lift Advertising
 
Buy Linkedin Sales Navigator at Cheap Price
Buy Linkedin Sales Navigator at Cheap PriceBuy Linkedin Sales Navigator at Cheap Price
Buy Linkedin Sales Navigator at Cheap Price
 

Gamesalad problems

  • 1. PROBLEM SOLVING IN GAMESALAD A major issue we had during this project was making the parallax scrolling background. At first, we thought we had it covered. It seemed simple: we’d drag in 20 odd instances of the same background , line them up in an equal alignment horizontally leading off towards the left side of the screen and add a move behavior to that one background actor a the 180 degree direction and watch as all the instances moved, in sync, at the same speed. Perfect. It was just like our paper prototype, the background would be rolled through the screen the old fashioned way. There we were sitting there ready to add to our fantastic idea, naively assuming that it was entirely possibly just to loop the occurrence of the background instances, when it occurred to us that our background wasn’t rolling too smoothly and it lagged the simply yellow rectangle, that at the timed we called Chad. This was because all the instances of the background and later, the buildings over the top were causing an overload of data and we realised that if we added anymore assets in, the game would be more and more likely to crash frequently. There had to be a way to decrease the number of instances. We understood that the problem was that too many instances of the background were present at once; as the instances that had passed through the screen made an exit off the left side, they just carried on going, meaning that they were inevitably still in the game. We needed to destroy them so that once they were gone, they were gone. We came to the conclusion that creating an actor purely just to destroy those instances and creating a spawning actor to renew these expulsions. Creating these actors seemed simple and I swiftly created a spawner and a destroyer and proceeded to add in the rules of when the destroyer destroys the background upon overlap, the spawner spawns a new background. The cycle and correspondence between the time that the background’s spawned and destroyed was not equal and the backgrounds and buildings were being destroyed and spawned over each other, on screen, in a big mess. The spawner needed further indication of when the backgrounds were meeting the destroyer. A well placed attribute was required here and I later began to understand whilst creating future assets for the game that attributes are a great communicator for behaviors in GameSalad. I created an attribute exclusive to the background actor called “overlap”. When a background was to be destroyed this attribute’s value would be set to 1. A rule was then created in the spawner to show it that when the overlap attribute’s value was 1, a new instance should be spawned. This proved to be very effective and actors began to spawn and disappear better. However, once I added the buildings in over the top and made them move at a slower speed, I noticed that too many were spawning at one time and that they were overlapping each other. To fix this, I created a simple debugging system with two integer attributes that added a point to themselves whenever an actor was spawned and destroyed and displayed them on screen so that I could count them and notice the difference.
  • 2. The only further issue we had with this scrolling technique was firstly, shrinking the buildings to the correct size so that they spawned correctly in the game, an issue that arose from the fact that we saved the PNGs from Photoshop in the wrong sizes. Secondly, there was a gap between the spawned buildings on screen and the newly spawned buildings coming on to the screen but this was simply fixed by altering their position on the x axis.