Jump to content
MakeWebGames

About Ullr Game Engine


Hedge

Recommended Posts

[ATTACH=CONFIG]n375567[/ATTACH]

 

 

 

 

 

What is the Ullr Game Engine? Simply, its a engine to develop a text based RPG game. Ullr is not an out of the box game, work will need done before you could launch a game.

Ullr has been made with the MakeWebGames community in mind. This is it's official home where you'll be able to find Updates, Help and Plugins.

The engine consists of 2 main parts -

The Core, which handles everything and has the main functions built into it.

The Plugins - These are what turns your copy of Ullr from an engine into a Game!

The engine is built upon a few main things. PHP, SQL (at this stage just MySQL), Bootstrap and an MVC structure.

Whats is the Core? The core is made using an Model View Controller structure which handles all the requests in and out of the engine.

It holds all the main functions that a large variety of plugins will need to use to transfer information between the engine and a plugin.

What can the Engine do? Currently the engine has the ability to - register an user, approve their account via email, let them login where they will be greeted with the internal Homepage.

From there its up to the plugins you install.

The engine also stores the main parts to a users account - Personal Information, Stats (ie. Strength, Speed, Health, etc.) and currency. (More may be added if there is a need across the engine for it).

The Plugins - This is where you really start to make a difference. ​Installing Plugins is as simple as 1,2,3.

1. Drop the plugin into the plugin folder of the engine.

2. Add any SQL.

3. Add a link/s to the game so your users can access it.

The means that a plugin does not need to rely on anything but the engine to work.

Creating a plugin is slightly harder, but that will be explained in its own thread.

Ullr comes with two plugins pre-installed to get you going.

Profile - This can either display a users profile through a link or the user can edit their own profile information.

The second is a Crime plugin and demo. It is heavily commented in the code so that you can get an understanding of how plugins work. With this plugin, the user can commit a crime using energy and if they are successful gain experiance in return. If they fail the crime, they loose the energy. Then on the admin side, an admin can add, edit or delete crimes for users to commit.

This plugin is ment to be simple to show you how it works.

Design - The layout of the front end of the engine uses a simple structured design and bootstrap to implement it. This means you just add your own styling to the custom css sheets and the entire look is changed.

Because the design is completely separate from any logic code, it also means that you can add your own template and it wont break the engine.

This can be as easy as dropping your template into the correct folder and changing 1 line of code in the cofig file. None of that going through every file business.

Updates, how will they work? updates will now be through github.

Where to for Ullr? I will continue to make Ullr better and develop a few plugins to go with it. I'd like this to very much be a community driven engine, and i'll be taking on board every bit of advice or criticism. Updates will be as regular as possible to the core, so again i'd urge you not to change anything in the core apart from the *.custom.css sheets and any Views. Those will be removed from updates so you can have your own style/design.

Cost? Free , but feel free to send me a donation if you want,

https://www.paypal.com/cgi-bin/websc...=979GQB4HL3T8G

GitHub -

https://github.com/H3dgey/Ullrge

Hopefully you find it a valuable tool in creating your next game.

Hedge

Disclaimer: Coding is a hobby for myself, I do it for fun, somewhere in between full time work, 2 kids and life. This means my code my not be up to par, I try to keep up with changes but I know I'm definitely behind in some places. If you notice something that's not done right, please bring it to may attention. I may not know its wrong or I may not even know about something at all.

logo.png.20f56e13dcb9db86c303dd8154bb004c.png

Edited by Hedge
  • Like 1
Link to comment
Share on other sites

What is the minimum PHP version requirement in order to use this game engine? 5.2? 5.5? 6?

~G7470

Good question, not one I can really answer at present as I haven't tested it in other versions of PHP. To be honest it wasn't even something that crossed my mind until your question.

So for now, I recommend a min of 5.5 , that's whats running on my system. I will look into testing in older versions to see what will support it.

Link to comment
Share on other sites

Ok, thanks for taking a look at that.

I had this on 5.2 without much success, but I don't know if that's because of my host giving me issues or that this engine is using PHP 5.5+ functionality.

Figured that this sort of information would be good for others on MWG as well. :)

~G7470

Link to comment
Share on other sites

Ok, thanks for taking a look at that.

I had this on 5.2 without much success, but I don't know if that's because of my host giving me issues or that this engine is using PHP 5.5+ functionality.

Figured that this sort of information would be good for others on MWG as well. :)

~G7470

While sorting a Demo site, i've run across a few problems myself. Ill be working on these over the week and the code is now on github so that people can make pull requests if they find problems and fix them.

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.

Guest
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...