Thorny

Thorny: A Javascript game engine using jQuery.

The goal for Thorny is to allow Javascript developers to be able to quickly write simple flash-esk games using the skill set they already have available to them.

Intro
Right a whole bunch of this is probably not going to make much sense until you see it working, but the general way I envision games working when using Thorny is that levels will be pre-rendered into tiles, much like now google maps works.

Then taking these tiles Thorny will stitch them back together within the DOM. Right, now we have a big pretty image that doesn’t do much, well with the Developer tools, you’ll be able (once I get this far) to plot a 2D mesh representation of your level.

Using this data the engine will then handle all of your collision detection and object interaction. So now we are able to build visually complex levels that should with any lucky work on low spec machines, and maybe IE if I can find the time.

Now that is possible to build complex levels that the player can navigate around we need some opponents, the goal is to implement a mesh based pathfinding system, allowing agents to easily find there way around the levels that you have built.

The planned feature list includes:

  • Mesh based collision detection ~ 80% working atm, just fixing bugs and working on sensible collision response.
  • Mesh based path finding ~ This has been taken into consideration when designing Thorny, but is a long way off. Initially AI will be a simple line of sight chase the player kind of job.
  • Fast DOM rendering ~ I’ve got some early demo code that manages to get 100 animated spites on screen in Chrome, though this number plummeted when I quickly added some simple AI, example at http://demo.httpmmo.com/zombie-corridor/ please note that the AI is horrifically unoptimised, and eats a good % of the frame rate.
  • Developer tools ~ I have a number of developer tools that will eventually be packed in with Thorny, though these are likely to come in the form of a Kohana module, and include a simple level editor and collison/path-finding mesh editor, see http://mappy.httpmmo.com/ for an example of the editor.
  • Event based execution ~ Thorny executes a wide number of developer listenable events, allowing developers to easily inject game logic without having to worry about whats going on under the hood.

Target styles: (ideally what the engine can be used to make)

  • Top-down adventure: Using the collision mesh to define the shape of your world, and the ai hooks to control NPC actors
  • Side scroller: Using the collision mesh to overly the shape of levels will allow players to control there character in a 2D setting.

Leave a Reply

Your comment

  • bea test
  • vince young usc
  • chad ochocinco yesterday
  • c span yesterdayc span zelaya
  • monte
  • c span 2009
  • randy moss football cards
  • search cfisd.net
  • connecticut 5th district
  • c span video contest
  • connecticut 97.7connecticut attorney general
  • hp support contact number
  • moana
  • impression
  • hp support error 1005
  • battleship ipad
  • connecticut 5 star resorts
  • la ink corey
  • nickelback
  • la ink cast
  • randy moss vikings 2011
  • outside
  • bea luna
  • bea 71 16
  • dist 91
  • vince young dadvince young eagles
  • dis lyrics
  • search 4
  • vince young depression
  • cspan facebook
  • mtv cartoons
  • zara phillips kids
  • windsor
  • cspan washington correspondents dinner 2011
  • bea diy
  • tea party young people
  • braid
  • la ink 105
  • mtv true life
  • bea 71 series staples
  • connecticut 97.7connecticut attorney general
  • chad ochocinco celebrationschad ochocinco dating
  • connecticut post
  • la ink season 5 premiere
  • connecticut transit
  • mtv executivesmtv fantasy factory
  • search engines for kids
  • connecticut lottery
  • tea party hats
  • 60 search engines virus
  • urinary
  • new england patriots gillette stadium
  • bengals youth jerseys
  • vince young z
  • chicago bears 1985
  • chad ochocinco free agent
  • tea party nj
  • saturation
  • vince young injury
  • chad ochocinco 15
  • la ink price list
  • mtv 2 schedule
  • discjuggler
  • hp support id
  • period
  • bulldog
  • freida pinto zac posen
  • bengals insider
  • new england patriots wiki
  • quilt
  • bengals usa
  • search engines usage statistics 2010
  • randy moss korey stringer
  • rickey
  • bea goldfishberg
  • greg olsen website
  • battleship hacked
  • hp support chat
  • la ink season 5
  • bea taylor
  • disloyaldis magazine
  • contribution
  • bengals job fair
  • chicago bears donation request
  • bengals arrests
  • search engines other than google
  • beagle
  • connecticut 100 club
  • programming
  • bea per capita income
  • freida pinto glamour 2011
  • bea 2011 map
  • search engines 9
  • cspan government shutdown
  • vince young released
  • battleship classes
  • tea party texas
  • hp support 6310hp support 7200
  • bengals preseason schedule 2011
  • armband
  • new england patriots 3 4
  • bengals 08 schedule
  • connecticut juvenile training schoolconnecticut kids
  • chad ochocinco nascar
  • hp support number united states
  • bea input output
  • greg olsen puzzles
  • randy moss yahoo stats
  • chad ochocinco quotes video
  • tea party table settings
  • new england patriots 65
  • hp support chat
  • connecticut limo
  • clan
  • purple
  • purcell
  • chad ochocinco johnson
  • xanadu bengals
  • battleship excel
  • randy moss wonderlic
  • randy moss mix
  • new england patriots 07
  • la ink 2011 season 5
  • generation
  • c span 4 to 5
  • searchbugsearch engines
  • greg olsen football
  • chicago bears gifts
  • mtv music awards
  • indexed
  • connecticut quarry
  • freida pinto green dress
  • zara phillips yachtzara phillips zimbio
  • mtv 5 cover
  • new england patriots store
  • muncie
  • search 78search 800 numbers
  • vince young 2008
  • chicago bears zip hoodie
  • chili
  • new england patriots 1997 roster
  • bea rims
  • crossfire
  • recessed
  • chad ochocinco quits football
  • sailor
  • yield
  • search engines non tracking
  • views
  • bea fox
  • zara phillips baby
  • vince young uncle rico gif
  • search protocol host
  • mtv website
  • chicago bears 96
  • bengals forum
  • chelsea
  • zara phillips wedding date
  • bea 00037
  • freida pinto dev
  • chicago bears training camp
  • tea party for kids
  • search optics
  • freida pinto plastic surgery
  • hp support assistant review
  • vince young status
  • tea party 8 28 09
  • withdrawl
  • search 5500
  • zara phillips royal wedding picture
  • barriers
  • battleship egg hunt
  • battleship history
  • greg olsen no greater love
  • chad ochocinco vs skip bayless
  • instrumental
  • greg olsen university of miami
  • cspan kucinich
  • dis n dat band
  • chad ochocinco height and weight
  • trades
  • bangles eternal flame mp3bengals forum
  • la ink show
  • randy moss combine results
  • vince young to eagles
  • bengals undraftedbengals vs steelers
  • new england patriots offense
  • c span youtube obama
  • search engines for jobs
  • c span kozol