Jump to content

Alan

Members
  • Content Count

    129
  • Joined

  • Last visited

  • Days Won

    12

Alan last won the day on May 16

Alan had the most liked content!

Community Reputation

51 Excellent

About Alan

  • Rank
    TheGrumpyScot

Personal Information

  • Location
    UK
  • Occupation
    Lead Developer
  • Website
    https://the.grumpy.scot

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Alan

    The Marketplace

    Well modules must be openly named, I see no need to restrict people to use *my* naming convention; to a certain extent the same holds true for the namespace. Yes, I suspect modules will need to *extend* an AbstractBaseModule as this will provide them with the necessary facilities (ie access to core services, the render engine etc). As for registration, I'm thinking something along the lines of a JSON registration file which contains a relative link to the module's routes.php file as well as pointers to any schema change. This would mean that for the system to work I only need load the module's routes.php file during initialisation. Thereafter; only if any of the module's components are need it will be autoloaded.
  2. Alan

    The Marketplace

    Bit of a mix; I'm using a micro-framework; and adding the elements I need to it: DI, logging, database, image processing etc. It means that the core is very light so problems can be diagnosed more quickly as there is less code to have to hunt through.
  3. Alan

    The Marketplace

    Well that is the general idea - what I'm doing is making a very small core "engine", linked to a marketplace that permits developers to upload modules and optionally set prices. The core engine would be free as would a number of the modules on the marketplace.Initially of course, it will be only my own modules however once I've fully designed the core components, I'll open-source it and see if we can get other developers in to help make some of the modules.
  4. Alan

    The Marketplace

    Had a thought last night about using composer as the plugin system -- it's an oddity, but actually it makes a lot of sense in that you are not duplicating code; however I'm a) not sue how to create a "project" for composer, and b) how it would handle things like registration of routes, templates, functions etc. ... Obviously going to have to have another play. Anybody had any experience in this line?
  5. Alan

    The Marketplace

    The plugin system seems to be a winner - there's a couple of caveats that I'm unsure about; specifically I'm having to use reflection to determine the module's identity, and thus path in order to extend the template paths -- not sure how that will work in an "under load" environment; though it could be replaced with the same type of mechanism I use for auto-loading of custom modules. Routing also looks suspiciously or rather potentially slow (currently using a glob), I suspect that can easily be replaced with a simple custom composer script. Next stage is to grant plugins the ability to request alterations to the database structure; this will allow things like the addition of attributes on the player record. The template system is such that while there are a core set of templates; each module will normally extend those to suit. Of course, you are free to override *any* template and in fact you will need to make minor changes to templates when you add certain modules; (ie - positioning links to modules exactly where you want them).
  6. Alan

    The Marketplace

    Well, with the apparent lack of action on games here - I've decided it may be time to create my own. It's a tricky thing creating a new game; as it has to cater for so many different needs; so my first port is a marketplace for modules and templates that can be easily pulled into the game complete with dependencies. The image below is representative of the current work so far. (N.B. module names, brief descriptions, icons, prices and stars are all for my own testing). The core game itself is a while off completion yet - getting it to work with the complexity of the plugins system is causing some interesting headaches, but it looks very possible. Once I've got the core working with a basic set of mods - some of which will be dependant on others like the casino games - I need to design a number of templates which may be a task suitable for some of the peeps here - its primarily Bootstrap 4 based with modules having their own specific overrides, graphics, even typefaces etc. Nothing too fancy, but it allows for fantastic customisation. Anyway, enough rambling ... here's a quick preview of the Marketplace home page (or at least the top part of it!). Oh and before anybody points it out - yes I'm aware I forgot to correctly name the slots module!
  7. Think of it like British Rail -- always late That being said - there are other projects that are being released; you need only look around.
  8. Alan

    Orginal gRPG

    It's sad to see such poor quality of code in this day and age. A quick look reveals a vast number of inconsistencies, suspect design concepts and downright dangerous code. imo this should not have been published as it harms both the owners and potentially the community in suggesting that code like this is acceptable. Saying all that, it is not beyond the realms of possibility to revamp the code; to create something that is at least consistent with itself, however the process takes potentially more effort than the project is worth. For any budding grpg authors you may be better advised using a different code base or designing your own from scratch. Again, while perhaps critical, I'm actually glad to see that people are publishing code; as only be reading, modifying and updating code do we in turn become better at the craft.
  9. Probably Deus Ex. It was ahead of its time in giving the player the illusion of choice - although, a close second is Dungeon Siege; the spiders gave me nightmares; even now - you hear that chittering noise from something and start looking around as your heart rate climbs. Scary stuff.
  10. Alan

    Editor

    Potentially you could use something like TinyFileManager although SSH/(S)FTP is going to be a better solution.
  11. As one who has done similar though not quite so spectacularly I see no need to apologise; we all have different persona's from time to time that we sit behind, now and again they need to be changed to address changing circumstances.
  12. Bolton ... I went there once; it was closed. 😄
  13. Alan

    Plugin System

    That's quite a decent package - Might need to compare that to a feature-flags library. Good shout.
×
×
  • Create New...