Newsfeeds

Interior Mapping: rendering real rooms without geometry - by Joost van Dongen

Gamasutra.com Blogs - 25 September 2018 - 8:35am
Modelling interiors behind every window in a city often takes too much performance, so some games use "interior mapping", a shader trick to render geometry that isn't actually there, but still achieves sharp, perspectively correct rooms.
Categories: Game Theory & Design

Time to Tame a Temtem! - by Caleb Compton

Gamasutra.com Blogs - 25 September 2018 - 8:02am
It's no secret that the field of video game design is full of copycats. In this article I look at one particular copycat - Temtem, a kickstarter game based on Pokemon. I look at how close two games can get, and if the changes to stand out are worth it.
Categories: Game Theory & Design

Dealing with the Inaccessibilities of a Luxury Hobby - by Michael Heron

Gamasutra.com Blogs - 25 September 2018 - 8:01am
Board gaming is sometimes considered to be a luxury hobby. Given that the costs need not necessarily be excessively high, what does that even mean? We discuss in this post.
Categories: Game Theory & Design

Pitfalls of making fast multiplayer games on mobile with Unity's uNet - by Ashkan Saeedi Mazdeh

Gamasutra.com Blogs - 25 September 2018 - 7:50am
When you make a fast paced mobile game which happens to be multiplayer with unity and uNet. There are pitfalls which you should avoid and they might not be as clear if you are not aware of them. I'm trying to describe them here.
Categories: Game Theory & Design

Why I Quit the Game Industry Before I'd Even Begun - by Ethan Thibault

Gamasutra.com Blogs - 25 September 2018 - 7:49am
Unless the game industry changes its labor practices, I have no intention of ever entering the game industry, and I believe that many other people will reach the same conclusion, leading to a labor crisis.
Categories: Game Theory & Design

Why details matters - Subconscious Game Design - by Pål Schakonat

Gamasutra.com Blogs - 25 September 2018 - 7:19am
Our conscious mind has around one 1 second delay. But in the meantime, our subconscious is working with a reaction time at 0.25 seconds. It also been shown that our subconscious even can perceive things that only appears on a time frame as small as 0.02.
Categories: Game Theory & Design

Zivtech: Challenges of Front End Development

Planet Drupal - 25 September 2018 - 6:21am

With phone in hand, laptop in bag and earbuds in place, the typical user quickly scans multiple sites. If your site takes too long to load, your visitor is gone. If your site isn’t mobile friendly, you’ve lost precious traffic. That’s why it’s essential to build well organized, mobile ready sites.

But how do you get good results?

  • Understand whom you’re building for
  • Employ the right frameworks
  • Organize your codebase
  • Make your life a lot easier with a CSS preprocessor

Let’s look at each of these points.

Design For Mobile

When you look at usage statistics, the trend is clear. This chart shows how mobile device usage has increased each year. 
 

Read more
Categories: Drupal

Drupal Modules: The One Percent: Drupal Modules: The One Percent — Dynamic Entity Reference (video tutorial)

Planet Drupal - 25 September 2018 - 5:55am
Drupal Modules: The One Percent — Dynamic Entity Reference (video tutorial) NonProfit Tue, 09/25/2018 - 07:55 Episode 45

Here is where we bring awareness to Drupal modules running on less than 1% of reporting sites. Today we'll look R Dynamic Entity Reference, a module which permits you to reference multiple types of entities from a single reference field.

Categories: Drupal

Score field

New Drupal Modules - 25 September 2018 - 5:17am
Categories: Drupal

User current paths (user/edit & user/current/*)

New Drupal Modules - 25 September 2018 - 4:28am

Allows to link to current user actions without the explicit user id:
Provides user ID (UID) neutral user action paths ("user/current/*") and redirects to the current user path by replacing current with the UID. Also adds an "Edit my account" link (new "user/edit" path) to the user menu for logged in users.

Categories: Drupal

PreviousNext: Using the new Media Library in Drupal 8.6

Planet Drupal - 25 September 2018 - 12:56am

Drupal 8.6 has shipped with the Media Library! It’s just one part of the latest round of improvements from the Media Initiative, but what a great improvement! Being brand new it’s still in the “experimental” module state but we’ve set it up on this website to test it out and are feeling pretty comfortable with its stability.

by Rikki Bochow / 25 September 2018

That said, I highly encourage you test it thoroughly on your own site before enabling any experimental module on a production site. Don’t just take my word for it :)

What it adds

The Media Library has two main parts to it...

Grid Listing

There’s the Grid Listing at /admin/content/media, which takes precedence over the usual table of media items (which is still available under the “Table” tab). The grid renders a new Media Library view mode showing the thumbnail and compact title, as well as the bulk edit checkbox.

Field Widget

Then there’s the field widget! The field widget can be set on the “Manage Form Display” page of any entity with a Media Reference Field. Once enabled, an editor can either browse existing media (by accessing the Grid Listing in a modal) or create a new media item (utilising the new Media Library form mode - which is easy to customise).

The widget is very similar to what the ‘Inline Entity Form’ module gave you, especially when paired with the Entity Browsers IEF submodule. But the final result is a much nicer display and in general feels like a nicer UX. Plus it’s in core so you don’t need to add extra modules!

The widget also supports bulk upload which is fantastic. It respects the Media Reference Fields cardinality, so limit it to one - and only file can be uploaded or selected from the browser. Allow more than one and upload or select up to that exact number.  The field even tells you how many you can add and how many you have left. And yes, the field supports drag and drop :)

What is doesn’t add WYSIWYG embedding

WYSIWYG embed support is now being worked on for a future release of Drupal 8 core, you can follow this Meta issue to keep track of the progress. It sounds like some version of Entity Embed (possibly limited to Media) will make it’s way in and some form of CKEditor plugin or button will be available to achieve something similar to what the Media Entity Browser, Entity Browser, Entity Embed and Embed module set provides currently.

Until then though, we’ve been working on integrating the Media Libraries Grid Listing into a submodule of Media Entity Browser to provide editors with the UX improvements that came with Media Library but keeping the same WYSIWYG embed process (and the contrib modules behind it) they’re currently used to (assuming they’re already using Media Entity Browser, of course). More on this submodule below.

This is essentially a temporary solution until the Media Initiative team and those who help out on their issue queue (all the way from UX through to dev) have the time and mental space to get it into core. It should hopefully have all same the bulk upload features the field widget has, it might even be able to support bulk embedding too!

View mode or image style selectors for editors

Site builders can set the view mode of the rendered media entity from the manage display page, which in turn allows you to set an image style for that view mode, but editors can’t change this per image (without needing multiple different Media reference fields).

There is work on supporting this idea for images uploaded via CKEditor directly, which has nothing to do with Media, but I think it would be a nice feature for Media embedding via WYSIWYG as well. Potentially also for Media Reference Fields. But by no means a deal breaker.

Advanced cropping

From what I can gather there are no plans to add any more advanced cropping capabilities into core. This is probably a good thing since cropping requirements can differ greatly and we don’t want core to get too big. So contrib will still be your goto for this. Image Widget Crop is my favourite for this, but there’s also the simpler Focal Point.

Testing out the Media Entity Browser submodule

You can test out the submodule from the patch on this issue and let us know what you think! Once the patch is added, enable the submodule then edit your existing Entity Browsers and swap the View widget over to the “Media Entity Browser (Media Library)” view.

It shouldn’t matter if you’ve customised your entity browser. If you’ve added something like Dropzone for drag-and-drop support it *should* still work (if not, check the Dropzone or Entity Browser issue queues). If you’ve customised the view it uses however, you might need to redo those customisations on the new view.

I also like updating the Form Mode of the Entity Browsers IEF widget to use the new Media Library form display, which I always pair back to just the essential fields (who really needs to manually set the author and created time of uploaded media?).

You still can’t embed more than one media item at a time. But at least now you also can’t select more than one item when browsing so that’s definitely an improvement.

Plus editors will experience a fairly consistent UX between browsing and uploading media on fields as they do via the WYSIWYG.

Once setup and tested (ensuring you’ve updated any Media Reference Fields to use the new Media Library widget too) you can safely disable the base Media Entity Browser module and delete any unused configuration - it should just be the old “Media Entity Browser” view.

Please post any feedback on the issue itself so we can make sure it’s at its best before rolling another release of the module.

Happy days!

I hope you have as much fun setting up the Media Library as I did. If you want to contribute to the Media Initiative I’m sure they’ll be more than happy for the help! They’ve done a fantastic job so far but there’s still plenty left to do.

Tagged Media in Core, CKEditor
Categories: Drupal

Commerce Paybear

New Drupal Modules - 25 September 2018 - 12:44am

Paybear is Paypal for cryptocurrencies. Can accept multiple currencies like ETH, BTC, LTC etc. This module is in active development and integrates with drupal commerce.

Categories: Drupal

Words on a Screen: Ready For My Closeup

RPGNet - 25 September 2018 - 12:00am
What is spotlight time?
Categories: Game Theory & Design

Panther

New Drupal Modules - 24 September 2018 - 9:23pm
Categories: Drupal

Matt Glaman: Xdebug over the command line with DDEV

Planet Drupal - 24 September 2018 - 2:00pm
Xdebug over the command line with DDEV Mon, 09/24/2018 - 16:00 mglaman

I moved over to DDEV for my local development stack back in February. One of my favorite things is the ease of using Xdebug. You can configure Xdebug to always be enabled, or turn it on and off as needed (my preferred method.) When you have Xdebug enabled, it also enables it for any PHP scripts executed over the command line. That means you can debug your Drush or Drupal Console scripts like a breeze!

This article is based on using Xdebug within PhpStorm, as it is my primary IDE.

Categories: Drupal

Entity Share Cron

New Drupal Modules - 24 September 2018 - 1:27pm

This module allows configuring content to be automatically synchronized with another Drupal site on Cron runs. It works with the Entity Share module, by allowing the user to select the Remotes and Channels that should be automatically synchronized with Cron.

Required modules

This module depends just on the Entity Share Client module from the Entity Share project.

Categories: Drupal

Destiny 2 devs explain the evolution of Gambit's combo PvP and PvE play

Social/Online Games - Gamasutra - 24 September 2018 - 1:02pm

Gambit aims to merge the mostly-separate player-vs-player and player-vs-everything sides of Destiny 2, but its creation didn't come without its fair share of struggles. ...

Categories: Game Theory & Design

Free-to-play Warface grabs 1.3M registered players in one week on PS4

Social/Online Games - Gamasutra - 24 September 2018 - 10:49am

Overall, the top six countries, including the US, Germany, France, the UK, Brazil, and Russia, only represent around 62 percent of the title†™s total registered PS4 players for week one. ...

Categories: Game Theory & Design

Notify Button

New Drupal Modules - 24 September 2018 - 10:48am

A Simple module for Notify the Members to Offers

Categories: Drupal

Image Styles 16:9

New Drupal Modules - 24 September 2018 - 10:09am

Feature that provides 16:9 image styles definitions.

List:

  • 270 x 480 16:9 HVGA Portrait
  • 360 x 640 16:9 nHD Portrait
  • 480 x 270 16:9 HVGA Landscape
  • 540 x 960 16:9 qHD Portrait
  • 640 x 360 16:9 nHD Landscape
  • 960 x 540 16:9 qHD Landscape
  • 1024 x 576 16:9 WSVGA Landscape
  • 1280 x 720 16:9 HD Landscape
  • 1600 x 900 16:9 HD+ Landscape
  • 1920 x 1080 16:9 Full HD Landscape
Categories: Drupal

Pages

Subscribe to As If Productions aggregator