SlideShare uma empresa Scribd logo
1 de 29
Designing and Scripting
 Location Based Games


            Robin Di Capua
             Game Designer



www.gbanga.com
« I’ve
                                               Gamification played
                                                    many video
                                                    games, but I
                                                   never thought
                                                  that a game will
                                                   make me walk
                                                   outside in the
                                                       rain...»
Image courtesy of http://www.navidbaraty.com
                                                  – a 29 years old Gbanga player
                                                                             2
Collect animals and
     save the world

Automated NPC animals

AI behaviour             3
Take over real-world locations
  to become the top family

      Real-world data feed

            Geo-fences
Gbanga Famiglia



                             ca. 150m


                             Item from                      Actual
                             the Police                    Weather
                                Car
                             sidequest



                                                      Gift box item
Establishment    Valuable item        Phonebooth to
                                                      from Santa
 to take over      to collect             call
                                                       sidequest
                                                                      5
Sidequests at
    Phonebooths
Our sidequests are
integrated in Gbanga
Famiglia as location-
based mini-missions for
players to get cool items
and rewards.
Phonebooths can be
found around the world.
Players receive a
random sidequest.           6
Technology overview
          Public (and internal) tools                   Internally hosted



                     Quest
       Game/
                    Developer                       Gbanga                        User




                                            API
       quest
                       Kit                          server                      Interface
        logic
                     (QDK)



                                                     LAMP,           Low-      Location/GPS,
                                    REST Web                        traffic/
       Scripting     Java, Lua                     Memcache,       efficient   iPhone, Java,
                                    API / HTTP
                                                  ORM, Java, LBS   protocol      Symbian
                                                       DB
 Quest design
takes < 2 days
                                                                                               7
Unlimited Possibilities
• Event-Listeners: «Geofences»/Arrivals,
  Game interactions, Timers
• Spawning items, characters/NPC, ghost
  players
• Interact with players: chat, trade, give, notify
• Create highscores, reward players with points
• Communication with third party APIs

                                                     8
Spawn establishments

For example in
Gbanga Famiglia
we listen to player
movements and
then create
establishments
dynamically by
using external APIs
for local searches.
                              9
Dynamic creation on arrival
GTool:registerForEvent(session, “RELOCATION”, “”, “onArrival”)




function onArrival(player, cell)
        local playerName = player:getName()
        local cellName = cell:getName()
        GTool:pl(playerName.." arrived in cell "..cellName)

         –- call ext. API and return bars, clubs, shops etc.
         local establishments = getMyEstablishments(cell)

         for _,e in ipairs(establishments) do
                if e[“type”] == “bar” then
                        createBarInfrastructure(e)
                else if
                        […]
         end
end
                                                                 10
QDK Puppetmaster API
• Fast development
   • Main script < 10 000 lines
    of code
    • Quests take less than 2
    days to be implemented

• LUA based scripting
   • the whole game logic
   is implemented in LUA

• Allows rapid iterations

• Dynamic and flexible

                                  11
Quest economy
• Our game is free and has purchasable items, but how to
  tackle the B2B?

• We also sell customized quests to clients that want to
  promote their product, business or generate walk-in
  customers.

• We approached some businesses with ideas and
  budgets and here are some of our successful examples.




                                                           12
• Goal: generate awareness and walk in customers

• Quest: find and collect Hotel Stoos symbols around
  Germany, Switzerland and Austria and trade them with
  the family boss.

• Visit gbanga.com/stoos to check the leaderboard of the
  best collecting players

• WIN a one night for two at the Stoos Hotel in a superior
  room or a wellness package including a champagne
  apéro and a 3-course dinner.


                                                             13
• Geofences to trigger item spawning only in
  Switzerland, Germany and Austria
• Scripts set in players memory the total
  points achieved

• The website retrieve player stats from our
  database and shows leaderboard and help
  section

                                            14
Gbanga Promo Quest




                     15
• A quest for the Apple reseller Dataquest

• Players can get discounts and the top players can win an
  iMac

• Similarly to the Hotel Stoos quest players collect this
  time iMac parts and have to assemble an iMac object

• The iMac item will contain a link to redeem a discount
  voucher

• A website will show the leaderboard of the players that
  collected most items

                                                            16
Find all computer
       parts
    Collect and
assemble computers
 Get voucher link
  Go to Dataquest
  shop for discount
Increase your score
 on the leaderboard
• Capture-the-flag: this quest saw
  students from two universities
  of Zurich fight to take-over cells
  around the two campus



• The quest was developed for
  the users of the student social
  network Spocal, a swiss startup
  located also in Zurich.

                                       18
• Implementation: we created two new mafia families
  representing the respective universities.

• Players could then take over areas of the rival university
  to score more points

• A leaderboard was showing the points of each team
  (red/blue) depending on how many establishments were
  taken over




                                                           19
Our quests…
• …generally use our game Famiglia as a backbone to
  have a context and motivate our existing users to
  engage in such quests

• …have different scale (city, country, worldwide)

• …can fit all types of budgets

• …are very fast to implement with our API

• …more examples: Xmas Quest, Easter Quest, Maya
  Quest etc.

                                                      20
The future
• Currently working on
   – mobile HTML5

   – an Erlang server

   – WYSIWYG script editor

• Currently talking to publishers for different regions

• Looking for talented geeks and gurus




                                                          21
THANK YOU
http://www.gbanga.com
 robin@ gbanga.com

  Twitter: @gbanga



                        22
Backup Slides




                23
How does Gbanga Famiglia work
                                     INTERACTION
  RELOCATION

                    Create
                establishments
SCRIPT
STARTS


  TRADE        Trade                 Challenge
               items
                                             IF WIN
                 Increase        Take over
                 power of         location
                   family                        24
25
26
27
28
Purchasable Items

•   Police Megaphone: The Police Megaphone enables you to take-over the Mafia establishments at that location with 100%
    success. Pocket.


•   Respec' Da Bass: Increase street cred and intimidate rivals. Drop the Respec' Da Bass at any location to challenge the Mafia
    establishments there and in 10 additional neighbouring Cells.


•   G-Bolt: The G-Bolt power-up gives you the amazing ability to take-over every Cell you visit within a period of 10 minutes. Additionally
    you'll automatically collect valuable items located at each location visited. Drop it in a Cell to activate and start running!


•   Bouncer: Drop the bouncer in a Cell you own to defend it against 99% of rival Famiglia attacks! Can be dropped and collected repeatedly
    at different locations. The bouncer's weakness are special attack items.


•   Mafia Villa: Own your private Splendid Mafia Villa! Drop it at your favourite location to show everyone who's the top Mafioso in the
    neighbourhood!


•   Shady Fabrics Factory: Placed in an empty Cell the Shady Fabrics Factory creates 5 Warehouse establishments which will initially join
    your Famiglia. Factories cannot be taken from you. But the Warehouses might be taken over by rivals.


•   Weekly Candy Lab: Drop a Weekly Candy Lab in a CELL, the Lab then produces one "Precious Candy Item" (500,000 CASH), which
    appear in the Cell every Friday. You must go back to the lab to collect your Candy!




                                                                                                                                              29

Mais conteúdo relacionado

Semelhante a Develop Conference 2012 talk

StateScriptingInUncharted2
StateScriptingInUncharted2StateScriptingInUncharted2
StateScriptingInUncharted2gcarlton
 
iBasket: The story of an HTML5 game
iBasket: The story of an HTML5 gameiBasket: The story of an HTML5 game
iBasket: The story of an HTML5 gameIker Jamardo
 
Social Game Engine
Social Game EngineSocial Game Engine
Social Game EnginePapayaMobile
 
Say hello to the new PlayFab!
Say hello to the new PlayFab!Say hello to the new PlayFab!
Say hello to the new PlayFab!Thomas Robbins
 
Mobile Game Hacking: Defense Against the Dark Arts | James Ahn
Mobile Game Hacking: Defense Against the Dark Arts | James AhnMobile Game Hacking: Defense Against the Dark Arts | James Ahn
Mobile Game Hacking: Defense Against the Dark Arts | James AhnJessica Tams
 
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016Codemotion
 
Super Gun Kids: The Making Of by Iain Lobb
Super Gun Kids: The Making Of by Iain LobbSuper Gun Kids: The Making Of by Iain Lobb
Super Gun Kids: The Making Of by Iain Lobbmochimedia
 
Mono for Game Developers - AltDevConf 2012
Mono for Game Developers - AltDevConf 2012Mono for Game Developers - AltDevConf 2012
Mono for Game Developers - AltDevConf 2012Xamarin
 
Developing on StackMob - Flying Monkey Interactive Evaluates BaaS
Developing on StackMob - Flying Monkey Interactive Evaluates BaaS Developing on StackMob - Flying Monkey Interactive Evaluates BaaS
Developing on StackMob - Flying Monkey Interactive Evaluates BaaS StackMob Inc
 
BlackBerry Jam Asia 2013 - Gaming on BlackBerry
BlackBerry Jam Asia 2013 - Gaming on BlackBerryBlackBerry Jam Asia 2013 - Gaming on BlackBerry
BlackBerry Jam Asia 2013 - Gaming on BlackBerrySegitiga.Net
 
Rapid Game Development with RUby and Gosu – Ruby Manor 4
Rapid Game Development with RUby and Gosu – Ruby Manor 4Rapid Game Development with RUby and Gosu – Ruby Manor 4
Rapid Game Development with RUby and Gosu – Ruby Manor 4benko
 
Making an independend MMO - The Albion Online Story
Making an independend MMO - The Albion Online StoryMaking an independend MMO - The Albion Online Story
Making an independend MMO - The Albion Online StoryDavid Salz
 
Designing a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile gamesDesigning a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile gamesiFunFactory Inc.
 

Semelhante a Develop Conference 2012 talk (20)

StateScriptingInUncharted2
StateScriptingInUncharted2StateScriptingInUncharted2
StateScriptingInUncharted2
 
iBasket: The story of an HTML5 game
iBasket: The story of an HTML5 gameiBasket: The story of an HTML5 game
iBasket: The story of an HTML5 game
 
Social Game Engine
Social Game EngineSocial Game Engine
Social Game Engine
 
Pc54
Pc54Pc54
Pc54
 
Hacking for salone: drone races
Hacking for salone: drone racesHacking for salone: drone races
Hacking for salone: drone races
 
Corona SDK For Fun and Profit
Corona SDK For Fun and ProfitCorona SDK For Fun and Profit
Corona SDK For Fun and Profit
 
Say hello to the new PlayFab!
Say hello to the new PlayFab!Say hello to the new PlayFab!
Say hello to the new PlayFab!
 
Mobile Game Hacking: Defense Against the Dark Arts | James Ahn
Mobile Game Hacking: Defense Against the Dark Arts | James AhnMobile Game Hacking: Defense Against the Dark Arts | James Ahn
Mobile Game Hacking: Defense Against the Dark Arts | James Ahn
 
2012 03-26
2012 03-262012 03-26
2012 03-26
 
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
 
Super Gun Kids: The Making Of by Iain Lobb
Super Gun Kids: The Making Of by Iain LobbSuper Gun Kids: The Making Of by Iain Lobb
Super Gun Kids: The Making Of by Iain Lobb
 
Mono for Game Developers - AltDevConf 2012
Mono for Game Developers - AltDevConf 2012Mono for Game Developers - AltDevConf 2012
Mono for Game Developers - AltDevConf 2012
 
10 things you can do at the edge
10 things you can do at the edge10 things you can do at the edge
10 things you can do at the edge
 
Developing on StackMob - Flying Monkey Interactive Evaluates BaaS
Developing on StackMob - Flying Monkey Interactive Evaluates BaaS Developing on StackMob - Flying Monkey Interactive Evaluates BaaS
Developing on StackMob - Flying Monkey Interactive Evaluates BaaS
 
Creating Casual Games for Windows 8
Creating Casual Games for Windows 8Creating Casual Games for Windows 8
Creating Casual Games for Windows 8
 
BlackBerry Jam Asia 2013 - Gaming on BlackBerry
BlackBerry Jam Asia 2013 - Gaming on BlackBerryBlackBerry Jam Asia 2013 - Gaming on BlackBerry
BlackBerry Jam Asia 2013 - Gaming on BlackBerry
 
Rapid Game Development with RUby and Gosu – Ruby Manor 4
Rapid Game Development with RUby and Gosu – Ruby Manor 4Rapid Game Development with RUby and Gosu – Ruby Manor 4
Rapid Game Development with RUby and Gosu – Ruby Manor 4
 
Making an independend MMO - The Albion Online Story
Making an independend MMO - The Albion Online StoryMaking an independend MMO - The Albion Online Story
Making an independend MMO - The Albion Online Story
 
Project Vinland
Project VinlandProject Vinland
Project Vinland
 
Designing a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile gamesDesigning a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile games
 

Último

A Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' Mother
A Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' MotherA Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' Mother
A Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' Motherget joys
 
NO1 Certified kala ilam Expert In Peshwar Kala Jadu Specialist In Peshwar Kal...
NO1 Certified kala ilam Expert In Peshwar Kala Jadu Specialist In Peshwar Kal...NO1 Certified kala ilam Expert In Peshwar Kala Jadu Specialist In Peshwar Kal...
NO1 Certified kala ilam Expert In Peshwar Kala Jadu Specialist In Peshwar Kal...Amil Baba Dawood bangali
 
ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024
ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024
ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024Durkin Entertainment LLC
 
NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...
NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...
NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...Amil Baba Dawood bangali
 
Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...
Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...
Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...Amil baba
 
Statement Of Intent - - Copy.documentfile
Statement Of Intent - - Copy.documentfileStatement Of Intent - - Copy.documentfile
Statement Of Intent - - Copy.documentfilef4ssvxpz62
 
Taken Pilot Episode Story pitch Document
Taken Pilot Episode Story pitch DocumentTaken Pilot Episode Story pitch Document
Taken Pilot Episode Story pitch Documentf4ssvxpz62
 
THE MEDIC, A STORY for entertainment.docx
THE MEDIC, A STORY for entertainment.docxTHE MEDIC, A STORY for entertainment.docx
THE MEDIC, A STORY for entertainment.docxazuremorn
 
Behind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdf
Behind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdfBehind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdf
Behind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdfEnzo Zelocchi Fan Page
 
Fight Scene Storyboard (Action/Adventure Animation)
Fight Scene Storyboard (Action/Adventure Animation)Fight Scene Storyboard (Action/Adventure Animation)
Fight Scene Storyboard (Action/Adventure Animation)finlaygoodall2
 
What Life Would Be Like From A Different Perspective (saltyvixenstories.com)
What Life Would Be Like From A Different Perspective (saltyvixenstories.com)What Life Would Be Like From A Different Perspective (saltyvixenstories.com)
What Life Would Be Like From A Different Perspective (saltyvixenstories.com)Salty Vixen Stories & More
 
Biswanath Byam Samiti Open Quiz 2022 by Qui9 Grand Finale
Biswanath Byam Samiti Open Quiz 2022 by Qui9 Grand FinaleBiswanath Byam Samiti Open Quiz 2022 by Qui9 Grand Finale
Biswanath Byam Samiti Open Quiz 2022 by Qui9 Grand FinaleQui9 (Ultimate Quizzing)
 
Bald Philosopher, a story for entertainment.docx
Bald Philosopher, a story for entertainment.docxBald Philosopher, a story for entertainment.docx
Bald Philosopher, a story for entertainment.docxazuremorn
 
Aesthetic Design Inspiration by Slidesgo.pptx
Aesthetic Design Inspiration by Slidesgo.pptxAesthetic Design Inspiration by Slidesgo.pptx
Aesthetic Design Inspiration by Slidesgo.pptxsayemalkadripial4
 
Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...
Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...
Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...TeslaStakeHolder
 
Princess Jahan's Tuition Classes, a story for entertainment
Princess Jahan's Tuition Classes, a story for entertainmentPrincess Jahan's Tuition Classes, a story for entertainment
Princess Jahan's Tuition Classes, a story for entertainmentazuremorn
 

Último (20)

A Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' Mother
A Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' MotherA Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' Mother
A Spotlight on Darla Leigh Pittman Rodgers: Aaron Rodgers' Mother
 
S10_E02_How to Pimp Social Media 101.pptx
S10_E02_How to Pimp Social Media 101.pptxS10_E02_How to Pimp Social Media 101.pptx
S10_E02_How to Pimp Social Media 101.pptx
 
NO1 Certified kala ilam Expert In Peshwar Kala Jadu Specialist In Peshwar Kal...
NO1 Certified kala ilam Expert In Peshwar Kala Jadu Specialist In Peshwar Kal...NO1 Certified kala ilam Expert In Peshwar Kala Jadu Specialist In Peshwar Kal...
NO1 Certified kala ilam Expert In Peshwar Kala Jadu Specialist In Peshwar Kal...
 
ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024
ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024
ECOLUXE pre-ESPYS Ultimate Sports Lounge 2024
 
NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...
NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...
NO1 Certified Black magic specialist,Expert in Pakistan Amil Baba kala ilam E...
 
Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...
Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...
Uk-NO1 Amil In Karachi Best Amil In Karachi Bangali Baba In Karachi Aamil In ...
 
Statement Of Intent - - Copy.documentfile
Statement Of Intent - - Copy.documentfileStatement Of Intent - - Copy.documentfile
Statement Of Intent - - Copy.documentfile
 
Taken Pilot Episode Story pitch Document
Taken Pilot Episode Story pitch DocumentTaken Pilot Episode Story pitch Document
Taken Pilot Episode Story pitch Document
 
THE MEDIC, A STORY for entertainment.docx
THE MEDIC, A STORY for entertainment.docxTHE MEDIC, A STORY for entertainment.docx
THE MEDIC, A STORY for entertainment.docx
 
Behind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdf
Behind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdfBehind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdf
Behind the Scenes The Life of Enzo Zelocchi, a Hollywood Film Producer.pdf
 
Fight Scene Storyboard (Action/Adventure Animation)
Fight Scene Storyboard (Action/Adventure Animation)Fight Scene Storyboard (Action/Adventure Animation)
Fight Scene Storyboard (Action/Adventure Animation)
 
Moveable Feast_Travel-Lifestyle-Culture Quiz.pptx
Moveable Feast_Travel-Lifestyle-Culture Quiz.pptxMoveable Feast_Travel-Lifestyle-Culture Quiz.pptx
Moveable Feast_Travel-Lifestyle-Culture Quiz.pptx
 
What Life Would Be Like From A Different Perspective (saltyvixenstories.com)
What Life Would Be Like From A Different Perspective (saltyvixenstories.com)What Life Would Be Like From A Different Perspective (saltyvixenstories.com)
What Life Would Be Like From A Different Perspective (saltyvixenstories.com)
 
Biswanath Byam Samiti Open Quiz 2022 by Qui9 Grand Finale
Biswanath Byam Samiti Open Quiz 2022 by Qui9 Grand FinaleBiswanath Byam Samiti Open Quiz 2022 by Qui9 Grand Finale
Biswanath Byam Samiti Open Quiz 2022 by Qui9 Grand Finale
 
S10_E06-Sincerely,The Friday Club- Prelims Farewell Quiz.pptx
S10_E06-Sincerely,The Friday Club- Prelims Farewell Quiz.pptxS10_E06-Sincerely,The Friday Club- Prelims Farewell Quiz.pptx
S10_E06-Sincerely,The Friday Club- Prelims Farewell Quiz.pptx
 
Bald Philosopher, a story for entertainment.docx
Bald Philosopher, a story for entertainment.docxBald Philosopher, a story for entertainment.docx
Bald Philosopher, a story for entertainment.docx
 
Aesthetic Design Inspiration by Slidesgo.pptx
Aesthetic Design Inspiration by Slidesgo.pptxAesthetic Design Inspiration by Slidesgo.pptx
Aesthetic Design Inspiration by Slidesgo.pptx
 
Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...
Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...
Flying Avocado Cat Cryptocurrency Created, Coded, Generated and Named by Grok...
 
Sincerely, The Friday Club - Farewell Quiz-Finals.pptx
Sincerely, The Friday Club - Farewell Quiz-Finals.pptxSincerely, The Friday Club - Farewell Quiz-Finals.pptx
Sincerely, The Friday Club - Farewell Quiz-Finals.pptx
 
Princess Jahan's Tuition Classes, a story for entertainment
Princess Jahan's Tuition Classes, a story for entertainmentPrincess Jahan's Tuition Classes, a story for entertainment
Princess Jahan's Tuition Classes, a story for entertainment
 

Develop Conference 2012 talk

  • 1. Designing and Scripting Location Based Games Robin Di Capua Game Designer www.gbanga.com
  • 2. « I’ve Gamification played many video games, but I never thought that a game will make me walk outside in the rain...» Image courtesy of http://www.navidbaraty.com – a 29 years old Gbanga player 2
  • 3. Collect animals and save the world Automated NPC animals AI behaviour 3
  • 4. Take over real-world locations to become the top family Real-world data feed Geo-fences
  • 5. Gbanga Famiglia ca. 150m Item from Actual the Police Weather Car sidequest Gift box item Establishment Valuable item Phonebooth to from Santa to take over to collect call sidequest 5
  • 6. Sidequests at Phonebooths Our sidequests are integrated in Gbanga Famiglia as location- based mini-missions for players to get cool items and rewards. Phonebooths can be found around the world. Players receive a random sidequest. 6
  • 7. Technology overview Public (and internal) tools Internally hosted Quest Game/ Developer Gbanga User API quest Kit server Interface logic (QDK) LAMP, Low- Location/GPS, REST Web traffic/ Scripting Java, Lua Memcache, efficient iPhone, Java, API / HTTP ORM, Java, LBS protocol Symbian DB Quest design takes < 2 days 7
  • 8. Unlimited Possibilities • Event-Listeners: «Geofences»/Arrivals, Game interactions, Timers • Spawning items, characters/NPC, ghost players • Interact with players: chat, trade, give, notify • Create highscores, reward players with points • Communication with third party APIs 8
  • 9. Spawn establishments For example in Gbanga Famiglia we listen to player movements and then create establishments dynamically by using external APIs for local searches. 9
  • 10. Dynamic creation on arrival GTool:registerForEvent(session, “RELOCATION”, “”, “onArrival”) function onArrival(player, cell) local playerName = player:getName() local cellName = cell:getName() GTool:pl(playerName.." arrived in cell "..cellName) –- call ext. API and return bars, clubs, shops etc. local establishments = getMyEstablishments(cell) for _,e in ipairs(establishments) do if e[“type”] == “bar” then createBarInfrastructure(e) else if […] end end 10
  • 11. QDK Puppetmaster API • Fast development • Main script < 10 000 lines of code • Quests take less than 2 days to be implemented • LUA based scripting • the whole game logic is implemented in LUA • Allows rapid iterations • Dynamic and flexible 11
  • 12. Quest economy • Our game is free and has purchasable items, but how to tackle the B2B? • We also sell customized quests to clients that want to promote their product, business or generate walk-in customers. • We approached some businesses with ideas and budgets and here are some of our successful examples. 12
  • 13. • Goal: generate awareness and walk in customers • Quest: find and collect Hotel Stoos symbols around Germany, Switzerland and Austria and trade them with the family boss. • Visit gbanga.com/stoos to check the leaderboard of the best collecting players • WIN a one night for two at the Stoos Hotel in a superior room or a wellness package including a champagne apéro and a 3-course dinner. 13
  • 14. • Geofences to trigger item spawning only in Switzerland, Germany and Austria • Scripts set in players memory the total points achieved • The website retrieve player stats from our database and shows leaderboard and help section 14
  • 16. • A quest for the Apple reseller Dataquest • Players can get discounts and the top players can win an iMac • Similarly to the Hotel Stoos quest players collect this time iMac parts and have to assemble an iMac object • The iMac item will contain a link to redeem a discount voucher • A website will show the leaderboard of the players that collected most items 16
  • 17. Find all computer parts Collect and assemble computers Get voucher link Go to Dataquest shop for discount Increase your score on the leaderboard
  • 18. • Capture-the-flag: this quest saw students from two universities of Zurich fight to take-over cells around the two campus • The quest was developed for the users of the student social network Spocal, a swiss startup located also in Zurich. 18
  • 19. • Implementation: we created two new mafia families representing the respective universities. • Players could then take over areas of the rival university to score more points • A leaderboard was showing the points of each team (red/blue) depending on how many establishments were taken over 19
  • 20. Our quests… • …generally use our game Famiglia as a backbone to have a context and motivate our existing users to engage in such quests • …have different scale (city, country, worldwide) • …can fit all types of budgets • …are very fast to implement with our API • …more examples: Xmas Quest, Easter Quest, Maya Quest etc. 20
  • 21. The future • Currently working on – mobile HTML5 – an Erlang server – WYSIWYG script editor • Currently talking to publishers for different regions • Looking for talented geeks and gurus 21
  • 22. THANK YOU http://www.gbanga.com robin@ gbanga.com Twitter: @gbanga 22
  • 24. How does Gbanga Famiglia work INTERACTION RELOCATION Create establishments SCRIPT STARTS TRADE Trade Challenge items IF WIN Increase Take over power of location family 24
  • 25. 25
  • 26. 26
  • 27. 27
  • 28. 28
  • 29. Purchasable Items • Police Megaphone: The Police Megaphone enables you to take-over the Mafia establishments at that location with 100% success. Pocket. • Respec' Da Bass: Increase street cred and intimidate rivals. Drop the Respec' Da Bass at any location to challenge the Mafia establishments there and in 10 additional neighbouring Cells. • G-Bolt: The G-Bolt power-up gives you the amazing ability to take-over every Cell you visit within a period of 10 minutes. Additionally you'll automatically collect valuable items located at each location visited. Drop it in a Cell to activate and start running! • Bouncer: Drop the bouncer in a Cell you own to defend it against 99% of rival Famiglia attacks! Can be dropped and collected repeatedly at different locations. The bouncer's weakness are special attack items. • Mafia Villa: Own your private Splendid Mafia Villa! Drop it at your favourite location to show everyone who's the top Mafioso in the neighbourhood! • Shady Fabrics Factory: Placed in an empty Cell the Shady Fabrics Factory creates 5 Warehouse establishments which will initially join your Famiglia. Factories cannot be taken from you. But the Warehouses might be taken over by rivals. • Weekly Candy Lab: Drop a Weekly Candy Lab in a CELL, the Lab then produces one "Precious Candy Item" (500,000 CASH), which appear in the Cell every Friday. You must go back to the lab to collect your Candy! 29