Jump to content

Modular Gaming - Open source web game framework - Kohana 3.3

Recommended Posts

We are in the process of creating a open source persistent browser based web game (PBBG) framework which will have all the features to get you started and let you start developing your unique features without having to write all the basics. We have taken a modular approach, you can use only the modules you want. If you wanted just a forum you could enable only the core, user and forum modules.

We are building our framework using Kohana which is an open source, object oriented (H)MVC web framework built using PHP5 by a team of volunteers that aims to be swift, secure, and small. We are using Kohana 3.3 with many modules, including the following:

1.) ORM is a a powerful Object Relational Mapping (ORM) module that uses the active record pattern and database introspection to determine a model's column information.

2.) Mustache is a template specification we use for our templates, we use Kostache's implementation.

You can download our preview release at https://sourceforge.net/projects/modulargaming/files/ You can view a demo at http://demo.modulargaming.com If you have any questions, bugs or feature requests feel free to post them on the issue tracker at GitHub. https://www.github.com/modulargaming/modulargaming

Licensed under a BSD license. Modular Gaming can be used legally for any open source, commercial, or personal project.


Modular Gaming


Link to comment
Share on other sites

Looks cool. You should make a documentation and go through features available, the database structure (explain the flexibility of it, what each table does etc), how to make a new "module", extending features and so on, talk about templating, you name it.

Link to comment
Share on other sites

I will look into that Black Scorp. I have push access to shadowhand/email and modulargaming/email so I could

I have added a basic guide on writing a module. Please read the included Kohana documentation regarding cascading file systems etc. Reading existing code will help with how ORM, Paginate etc work.


Edited by Curtis Delicata
Link to comment
Share on other sites

http://demo.modulargaming.com/guide-api doenst work, because Shadowhand/Email doesnt have the init.php https://github.com/shadowhand/email/issues?state=open see my issue

I just checked and I previously merged the commit which was supposed to fix this issue. https://github.com/shadowhand/email/commit/4e570020e3cb54dab6189f75a9845d144c202711

Does it still not work?

Link to comment
Share on other sites

The commit seems to have successfully applied and I can see the fixed code in there. I am not sure why it does not work. Does it still require init.php?

Edit: Fixed it, for some reason git pull did not update the sub modules. Probably where I changed the source from a private git to a public git when I released the preview.

Edited by Curtis Delicata
Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

We are proud to announce our first stable release; 1.0.0 Download from https://sourceforge.net/projects/modulargaming/files/latest/download


Features are:


Admin panel with support for modules to contain their own admin code.



Email (Swift Mailer)

Event (Ported from Laravel 3)

Hint (Flash Messages)

Journal (Log and Notify)

Paginate (Pagination),

Tab (Modules can enable their own tabs in user profile etc)

Error pages

Search (Will be improved in 1.1.0)

Assets management


Create/edit/delete categories in Admin panel

Create/edit/delete/stick/lock topics

Create/edit/delete posts


Rock Paper Scissors

Lucky Wheel





Shops with Restocking

User Shops

Trade (Will be working fully in later releases, the basics are complete).

Create/edit/delete items

Create/edit/delete item types

Create edit/delete recipes

Create/edit/delete shops


Create/delete messages

Outbox and Inbox





Create/edit/delete pet species

Create/edit/delete pet colours

Create/edit/delete which colours a specie has available





Reset password


Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Payment module has been released, it is a work in progress however it already supports PayPal Express Checkout and PayPal subscriptions. Admin panel is missing but it is simple to add packages.


It uses Omnipay (https://github.com/adrianmacneil/omnipay). It is possible to implement drivers for the following:



Authorize.Net AIM

Authorize.Net SIM




eWAY Rapid 3.0



Migs 2-Party

Migs 3-Party



Netaxept (BBS)



Payflow Pro

PaymentExpress (DPS) PxPay

PaymentExpress (DPS) PxPost

PayPal Express Checkout

PayPal Payments Pro

Pin Payments

Sage Pay Direct

Sage Pay Server

SecurePay Direct Post



Link to comment
Share on other sites

  • 3 weeks later...

1.1.0 has been released.

Changes are now using latest Kohana (3.3.1) which is also provided via Composer now.


Initial properties defaults are now used once in the user property class rather than loading config on every use.

Bug fixes, pet image upload had a few things missing and item upload was using wrong directory.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...