Let players design their own levels with BonusLevel

Today I am going to introduce you a service that will allow players to design their own levels of your game.

I am talking about BonusLevel

BonusLevel

The concept of the site it to provide an API that allows players create and share their own levels.

This may be helpful when you are great at programming but don’t have level design skills, or want to release a level pack every month or two (who said “like Bloons”?).

Once there are enough great levels created by the community, you can export the levels and make a standalone version of your game that you can distribute wherever you want (who said “like Bloons” again?).

BonusLevel API provides some interesting features allowing you to group your levels in categories, or make them playable only after beating another level (the famous unlocking system).

The look & feel of the interface can be customized and skinned for a better integration in your game graphics.

I asked some more information to BonusLevel creator, Jean-Philippe Sarda, and that’s what he said:

«The API is based on 2 swf.

One is the game engine and the oher one is the level editor, both provided by the game developer.

Basically, the game engine only has to implement a playLevel(data:String (as2)/ByteArray(as3)) method.

Also the game engine has to call a levelCompleted() method to manage scores.

The level editor has to implement a similar editLevel method but also a method getLevelData() method that is used to save the level data on our servers.

The GUI to play, select, and create the levels is all managed by the site. The developer don’t have to implement any GUI on the game engine or in the level editor.

Despite this might be seen as a strong point of the system (a big save of time for the developer and also a common GUI to play all he game for the players), some game developers could wish to customize the GUI. So the GUI is skinnable by the developer.

In the next steps, I will implement a third swf provided by the game developer, that will allow to fully customize the GUI.

Once the API is implemented, the game take advantage of the common features of the system.

Also all improvement added to the sytem will immediately benefit to all games of the site.

– The game author can manage a list of adminsitrators/moderators for the game levels
– The game author can manage a list of testers allowed to play the game before it’s public
– The levels are moderated, this is an essential feature as we don’t want to get the players too confused with bad levels.

The levels can have 5 states : “to be evaluated” (first state adter the level is uploaded), “to be edited” (a moderator has decided the level is not good enough to be accepted but it could be accepted if it’s edited a little more), “rejected” (the level is not good enough to be accepted), “accepted” (the level is good engouh to be shown on home page), “official levels” (best levels, used for scores)

– Levels can be rated and/or commented by members
– Levels thumbnail can be created nad saved to our servers by the level designer.
– the game author can create different category for the levels (for example “easy”, “medium”, “hard”).
– Levels data can be exported by the game author and used to make an offline version of the game

The site is quite young but great level designers have already sign up.

This is one of the strenght of the site, as these brilliant people will help the game developer to build the levels, and they will give invaluable feedback before the game goes public.

There is also an API to save user data on the servers, like player preferences (key preferences for example), like player money and items in an adventure games for example etc… »

I am going to test the API very soon, meanwhile if you want to start playing with it register to BonusLevel and leave a comment telling us what do you think about it.

Get the most popular Phaser 3 book

Through 202 pages, 32 source code examples and an Android Studio project you will learn how to build cross platform HTML5 games and create a complete game along the way.

Get the book

215 GAME PROTOTYPES EXPLAINED WITH SOURCE CODE
// 1+2=3
// 100 rounds
// 10000000
// 2 Cars
// 2048
// A Blocky Christmas
// A Jumping Block
// A Life of Logic
// Angry Birds
// Angry Birds Space
// Artillery
// Astro-PANIC!
// Avoider
// Back to Square One
// Ball Game
// Ball vs Ball
// Ball: Revamped
// Balloon Invasion
// BallPusher
// Ballz
// Bar Balance
// Bejeweled
// Biggification
// Block it
// Blockage
// Bloons
// Boids
// Bombuzal
// Boom Dots
// Bouncing Ball
// Bouncing Ball 2
// Bouncy Light
// BoxHead
// Breakout
// Bricks
// Bubble Chaos
// Bubbles 2
// Card Game
// Castle Ramble
// Chronotron
// Circle Chain
// Circle Path
// Circle Race
// Circular endless runner
// Cirplosion
// CLOCKS - The Game
// Color Hit
// Color Jump
// ColorFill
// Columns
// Concentration
// Crossy Road
// Crush the Castle
// Cube Jump
// CubesOut
// Dash N Blast
// Dashy Panda
// Deflection
// Diamond Digger Saga
// Don't touch the spikes
// Dots
// Down The Mountain
// Drag and Match
// Draw Game
// Drop Wizard
// DROP'd
// Dudeski
// Dungeon Raid
// Educational Game
// Elasticity
// Endless Runner
// Erase Box
// Eskiv
// Farm Heroes Saga
// Filler
// Flappy Bird
// Fling
// Flipping Legend
// Floaty Light
// Fuse Ballz
// GearTaker
// Gem Sweeper
// Globe
// Goat Rider
// Gold Miner
// Grindstone
// GuessNext
// Helicopter
// Hero Emblems
// Hero Slide
// Hexagonal Tiles
// HookPod
// Hop Hop Hop Underwater
// Horizontal Endless Runner
// Hundreds
// Hungry Hero
// Hurry it's Christmas
// InkTd
// Iromeku
// Jet Set Willy
// Jigsaw Game
// Knife Hit
// Knightfall
// Legends of Runeterra
// Lep's World
// Line Rider
// Lumines
// Magick
// MagOrMin
// Mass Attack
// Math Game
// Maze
// Meeblings
// Memdot
// Metro Siberia Underground
// Mike Dangers
// Mikey Hooks
// Nano War
// Nodes
// o:anquan
// One Button Game
// One Tap RPG
// Ononmin
// Pacco
// Perfect Square!
// Perfectionism
// Phyballs
// Pixel Purge
// PixelField
// Planet Revenge
// Plants Vs Zombies
// Platform
// Platform game
// Plus+Plus
// Pocket Snap
// Poker
// Pool
// Pop the Lock
// Pop to Save
// Poux
// Pudi
// Pumpkin Story
// Puppet Bird
// Pyramids of Ra
// qomp
// Quick Switch
// Racing
// Radical
// Rebuild Chile
// Renju
// Rise Above
// Risky Road
// Roguelike
// Roly Poly
// Run Around
// Rush Hour
// SameGame
// SamePhysics
// Save the Totem
// Security
// Serious Scramblers
// Shrink it
// Sling
// Slingy
// Snowflakes
// Sokoban
// Space Checkers
// Space is Key
// Spellfall
// Spinny Gun
// Splitter
// Spring Ninja
// Sproing
// Stabilize!
// Stack
// Stairs
// Stick Hero
// String Avoider
// Stringy
// Sudoku
// Super Mario Bros
// Surfingers
// Survival Horror
// Talesworth Adventure
// Tetris
// The Impossible Line
// The Moops - Combos of Joy
// The Next Arrow
// Threes
// Tic Tac Toe
// Timberman
// Tiny Wings
// Tipsy Tower
// Toony
// Totem Destroyer
// Tower Defense
// Trick Shot
// Tunnelball
// Turn
// Turnellio
// TwinSpin
// vvvvvv
// Warp Shift
// Way of an Idea
// Whack a Creep
// Wheel of Fortune
// Where's my Water
// Wish Upon a Star
// Word Game
// Wordle
// Worms
// Yanga
// Yeah Bunny
// Zhed
// zNumbers