Wednesday, February 28, 2018

The World’s Most Famous Emails - #Infographic

It seems like such a normal part of our lives these days, but in the grander scheme of things, email is still relatively new to us. Emerging from humble beginnings, email is now a crucial part of our lives (for better or worse!) and we’re going to take a quick look at some of the most notable...

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Web Desk via Digital Information World

This Is The Future! 6 Amazing Technologies We'll See By 2030 [video]

Hollywood's depictions of the future are usually pretty far-fetched — like the flying cars of "Blade Runner" and the hoverboards in "Back to the Future II." The World Economic forum surveyed over 800 experts and executives to find out what the future will actually look like....

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Web Desk via Digital Information World

Pofo – Creative Agency Template

one page website template on Themeforest

Minimal HTML template called ‘Pofo’that is loaded with fresh features. It comes ready with multiple layouts to fit just about any business or agency. Buy this one page website template on Themeforest for $14.

POFO is a highly creative, modern, visually stunning and Bootstrap responsive multipurpose corporate and portfolio HTML5 template with 25 ready home page demos.


by Michael via One Page Mania

Serverless development with Node.js, AWS Lambda and MongoDB Atlas

This article was originally published on mongoDB. Thank you for supporting the partners who make SitePoint possible.

The developer landscape has dramatically changed in recent years. It used to be fairly common for us developers to run all of our tools (databases, web servers, development IDEs…) on our own machines, but cloud services such as GitHub, MongoDB Atlas and AWS Lambda are drastically changing the game. They make it increasingly easier for developers to write and run code anywhere and on any device with no (or very few) dependencies.

A few years ago, if you crashed your machine, lost it or simply ran out of power, it would have probably taken you a few days before you got a new machine back up and running with everything you need properly set up and configured the way it previously was.

With developer tools in the cloud, you can now switch from one laptop to another with minimal disruption. However, it doesn’t mean everything is rosy. Writing and debugging code in the cloud is still challenging; as developers, we know that having a local development environment, although more lightweight, is still very valuable.

And that’s exactly what I’ll try to show you in this blog post: how to easily integrate an AWS Lambda Node.js function with a MongoDB database hosted in MongoDB Atlas, the DBaaS (database as a service) for MongoDB. More specifically, we’ll write a simple Lambda function that creates a single document in a collection stored in a MongoDB Atlas database. I’ll guide you through this tutorial step-by-step, and you should be done with it in less than an hour.

Let’s start with the necessary requirements to get you up and running:

  1. An Amazon Web Services account available with a user having administrative access to the IAM and Lambda services. If you don’t have one yet, sign up for a free AWS account.
  2. A local machine with Node.js (I told you we wouldn’t get rid of local dev environments so easily…). We will use Mac OS X in the tutorial below but it should be relatively easy to perform the same tasks on Windows or Linux.
  3. A MongoDB Atlas cluster alive and kicking. If you don’t have one yet, sign up for a free MongoDB Atlas account and create a cluster in just a few clicks. You can even try our M0, free cluster tier, perfect for small-scale development projects!).

Now that you know about the requirements, let’s talk about the specific steps we’ll take to write, test and deploy our Lambda function:

  1. MongoDB Atlas is by default secure, but as application developers, there are steps we should take to ensure that our app complies with least privilege access best practices. Namely, we’ll fine-tune permissions by creating a MongoDB Atlas database user with only read/write access to our app database.
  2. We will set up a Node.js project on our local machine, and we’ll make sure we test our lambda code locally end-to-end before deploying it to Amazon Web Services.
  3. We will then create our AWS Lambda function and upload our Node.js project to initialize it.
  4. Last but not least, we will make some modifications to our Lambda function to encrypt some sensitive data (such as the MongoDB Atlas connection string) and decrypt it from the function code.

A Short Note About VPC Peering

Continue reading %Serverless development with Node.js, AWS Lambda and MongoDB Atlas%


by Raphael Londner via SitePoint

#329: This week, it's all about CSS (and webpack 4.0)

Frontend Focus
Issue 329 — February 28, 2018
A significant release for the popular module and asset bundler brings significantly increased performance and new ‘development’ and ‘production’ modes with pre-defined settings.
Sean T. Larkin

A growing collection of useful CSS snippets which we’re promised we can understand in “30 seconds or less”. Covers things like text effects, gradients, and even a popout menu.
Atomiks

Ever wondered how to style empty grid cells without adding redundant empty elements? ‘CSS Generated Content’ can help you do just that.
Rachel Andrew

What is the state of the JavaScript ecosystem? This whitepaper offers our future-looking analysis and predictions about the latest in JavaScript. We also look back at all the craziness from 2017 and neatly tie it together with a bow. Download now.
Progress   Sponsor

Basically, you change CSS variables on mouse move via JavaScript, and underlying CSS then updates dynamically. There’s a lot of potential with this approach.
Tobias Reich

A simple online wizard for getting the right CSS to center elements in various ways, whether horizontally, vertically, or both.
chunqiuyiyu

A way to allow third-party embeds to request access to first-party cookies upon an interaction. Already in preview versions of Safari, but future cross-browser support seems a bit shaky for now.
John Wilander

A quick tutorial on how to create responsive websites in 2018, coupled with a free interactive course if you want more.
Per Harald Borgen

A look at some of the ‘tricks’ untrusted CSS could attempt on a site to monitor users or change the site’s functionality in negative ways.
Jake Archibald

Jobs

  • Sr. Fullstack Engineer (Remote)Sticker Mule is looking for passionate developers to join our remote team. Come help us become the Internet’s best place to shop and work. Sticker Mule
  • Find a Job You're Passionate AboutVettery connects you directly to hiring managers at over 4,000 top companies. Make a profile today and land your dream job. Vettery

In Brief

CityJSConf 2018: A JS Conference in the City of London (March 26) news
CityJSConf

Wikipedia Experimenting With New Hyperlink Preview Effect news
An animated GIF of the effect in action.

Faux Subgrid: Creating CSS Subgrids Without Official Support tutorial
Zell Liew

Responsive Vertical Rhythm with CSS Custom Properties & CSS 'calc' tutorial
Zell Liew

Using Source Maps to Debug Production tutorial
ROLLBAR  Sponsor

Tables, CSS Display Properties, and ARIA tutorial
An example of marking up a accessible, responsive table.
Adrian Roselli

Using Sass to Control Scope With BEM Naming tutorial
Andy Bell

Building a Voice-Activated Movie Search App Powered By Amazon Lex, Lambda, and MongoDB Atlas (Part 3) tutorial
MONGODB  Sponsor

Using 'Local Overrides' in Chrome 65+ tutorial
A new feature you may have missed - make changes in DevTools and keep them active across page loads.
Google Chrome Team

How to Create an Accessible Autocomplete Component with Vue.js tutorial
Filipa Lacerda

Efficiently Snapshotting Your Single-Page-Apps with Puppeteer tutorial
Chang Wang

Modern Layouts with CSS Grid: Revolutionizing Visual Design on the Web video
Hui Jing Chen

Monitor, Analyze, and Optimize Your Web App Performance tools
Collect and alert on real-time metrics from your web applications and infrastructure. Get started for free.
Datadog  Sponsor

Gifski: A macOS App to Convert Videos to Great Animated GIFs tools
Sindre Sorhus

Jumprock: Send Emails From Your Static Site tools
Dan Rovito

Konva: A 2D Canvas Library for Desktop and Mobile code
Adds niceties like layering, caching, tweening, and filters.

basicScroll: Standalone Parallax Scrolling with CSS Variables code
Allows you to change CSS variables depending on scroll position. You can then use the variables directly in your CSS to animate whatever you want.
Tobias Reich

Requests-HTML: Powerful HTML Parsing for Pythonistas code
One for Python developers only.
Kenneth Reitz


by via Frontend Focus

#196: Flutter beta arrives, Apple adds Service Worker support to Safari

Mobile Dev Weekly February 28, 2018   #196
Brian Rinaldi recommends
Announcing Flutter Beta 1: Build Beautiful Native Apps — The first beta release of Flutter just got announced at Mobile World Congress 2018. It’s Google’s mobile UI framework for crafting native interfaces for both iOS and Android.
Google
Chris Brandrick recommends
Welcoming PWAs: Apple Now Supports Service Workers On Safari — With Safari 11.1, Apple will introduce service workers to both macOS and iOS — a crucial ingredient for Progressive Web Apps.
Andrew Gazdecki
Sponsored
Webinar: Let's Talk Appium — Join us on March 14 for a free webinar featuring some of the world's leading Appium experts, discussing all things Appium, mobile testing, and the upcoming AppiumConf taking place on April 6 in London.
AppiumConf

Peter Cooper recommends
Announcing Capacitor 1.0.0 Alpha — A new project from the Ionic folks that aims to offer a better native runtime for Ionic apps in the future across all platforms (including on the Web with PWAs).
Ionic
Holly Schinsky recommends
Xamarin vs React Native vs Ionic: Cross-Platform Mobile Frameworks Comparison — A look at cross platform mobile frameworks, comparing Xamarin, React Native and Ionic.
AltexSoft Inc
Chris Brandrick recommends
App Developer Salary Guide 2018 — Plenty of statistics on iOS and Android developer salaries and how they compare.
Artyom Dogtiev
Chris Brandrick recommends
How Blind People Use iPhones — Apple engineer Jordyn Castor, attorney Haben Girma, & accessibility consultant Tiffany Taylor demonstrate how accessibility features like VoiceOver allow people to be more independent & efficient.
BuzzFeed News
Mobile Web
Holly Schinsky recommends
A Comprehensive Guide To UI Design — A guide to finding a solid UI approach that stands the test of time.
Christopher Murphy
Brian Rinaldi recommends
What Google AMP Means for the JavaScript Community
Mathias Schäfer
Hybrid Apps
Holly Schinsky recommends
Adding a Payment Service to a Cordova App with Square
Khemry Khourn
Holly Schinsky recommends
Hybrid App Development with Framework7 and GraphCMS
Meinolf Droste
Brian Rinaldi recommends
Optimizing Performance of an Ionic 3 Application — Aimed at starters with Ionic who are thinking about app performance for the first time.
Kewin Dousse
Native Development
Peter Cooper recommends
Google Announces ARCore 1.0 — ARCore enables devs to build apps that can understand an environment and place objects and information in it.
Google
Holly Schinsky recommends
Flutter Crash Course — A video crash course on how to use Flutter to build a complete app from scratch.
Bram Vanbilsen
Brian Rinaldi recommends
Mobile Smalltalk — Ever wanted to be able to develop mobile apps for Android and iOS using Smalltalk? Well, either way, now you can!
David Buck
Brian Rinaldi recommends
Using WordPress Content in a Native Mobile App — WordPress runs almost 30% of all websites today. Here’s how to re-purpose that content in a cross-platform native mobile app with NativeScript.
Rob Lauer
Holly Schinsky recommends
Integrating Firebase with a Stencil Built PWA — How to integrate Firebase with your Progressive Web App based on Stencil.
Andrew Cole
Chris Brandrick recommends
The Amazing Amount of Backward Compatibility in Google Maps — An interesting look back at Google’s longstanding native app support.
Huan Truong


by via Mobile Dev Weekly

10 Ways To Avoid Shopping On Impulse - #infographic

Are your impulse shopping habits causing you to spend more than you should be? Do you end up with lots of random items that you wish you never bought? If so, advice is at hand to help you defeat the urge to splurge. One great way to break the habit is to put obstacles between yourself and the...

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Web Desk via Digital Information World

Repurposing What Works: The Journey, Episode 19

The Journey, a Social Media Examiner production, is an episodic video documentary that shows you what really happens inside a growing business. //http://www.youtube.com/watch?v=-GvAnICXe_I Watch The Journey: Episode 19 Episode 19 of The Journey follows Michael Stelzner, founder of Social Media Examiner, as he continues to pursue what many will see as an impossible goal: to [...]

This post Repurposing What Works: The Journey, Episode 19 first appeared on .
- Your Guide to the Social Media Jungle


by Michael Stelzner via

A Gentle Introduction to Higher-Order Components in React: Best Practices

This is the third part of the series on Higher-Order Components. In the first tutorial, we started from ground zero. We learned the basics of ES6 syntax, higher-order functions, and higher-order components. 

The higher-order component pattern is useful for creating abstract components—you can use them to share data (state and behavior) with your existing components. In the second part of the series, I demonstrated practical examples of code using this pattern. This includes protected routes, creating a configurable generic container, attaching a loading indicator to a component, etc. 

In this tutorial, we will have a look at some best practices and dos and don'ts that you should look into while writing HOCs. 

Introduction

React previously had something called Mixins, which worked great with the React.createClass method. Mixins allowed developers to share code between components. However, they had some drawbacks, and the idea was dropped eventually. Mixins were not upgraded to support ES6 classes, and Dan Abramov even wrote an in-depth post on why Mixins are considered harmful.

Higher-order components emerged as an alternative to Mixins, and they supported ES6 classes. Moreover, HOCs don't have to do anything with the React API and are a generic pattern that works well with React. However, HOCs have flaws too. Although the downsides of higher-order components might not be evident in smaller projects, you could have multiple higher-order components chained to a single component, just like below.

You shouldn't let the chaining get to the point where you are asking yourself the question: "Where did that props come from?" This tutorial addresses some of the common issues with higher-order component patterns and the solutions to get them right. 

The Problems With HOC

Some of the common problems concerned with HOCs have less to do with HOCs themselves, but rather your implementation of them. 

As you already know, HOCs are great for code abstraction and creating reusable code. However, when you have multiple HOCs stacked up, and if something looks out of place or if some props are not showing up, it's painful to debug because the React DevTools give you a very limited clue about what might have gone wrong. 

A Real-World HOC Problem

To understand the drawbacks of HOCs, I've created an example demo that nests some of the HOCs that we created in the previous tutorial. We have four higher-order functions wrapping that single ContactList component. If the code doesn't make sense or if you haven't followed my previous tutorial, here is a brief summary of how it works.

withRouter is a HOC that's part of the react-router package. It provides you access to the history object's properties and then passes them as a prop. 

withAuth looks for an authentication prop and, if authentication is true, it renders the WrappedComponent. If authentication is false, it pushes '/login' to the history object.

withGenericContainer accepts an object as an input in addition to the WrappedComponent. The GenericContainer makes API calls and stores the result in the state and then sends the data to the wrapped component as props.

withLoader is a HOC that attaches a loading indicator. The indicator spins until the fetched data reaches the state.

BestPracticeDemo.jsx

Now you can see for yourself some of the common pitfalls of higher-order components. Let's discuss some of them in detail.

Basic Dos and Don'ts

Don't Forget to Spread the Props in Your HOC

Assume that we have an authenticated = { this.state.authenticated } prop at the top of the composition hierarchy. We know that this is an important prop and that this should make it all the way to the presentational component. However, imagine that an intermediate HOC, such as withGenericContainer, decided to ignore all its props. 

This is a very common mistake that you should try to avoid while writing higher-order components. Someone who isn't acquainted with HOCs might find it hard to figure out why all the props are missing because it would be hard to isolate the problem. So, always remember to spread the props in your HOC.

Don't Pass Down Props That Have No Existence Beyond the Scope of the HOC

A HOC might introduce new props that the WrappedComponent might not have any use for. In such cases, it's a good practice to pass down props that are only relevant to the composed components. 

A higher-order component can accept data in two ways: either as the function's argument or as the component's prop. For instance, authenticated = { this.state.authenticated } is an example of a prop, whereas in withGenericContainer(reqAPI)(ContactList), we are passing the data as arguments.  

Because withGenericContainer is a function, you can pass in as few or as many arguments as you like. In the example above, a config object is used to specify a component's data dependency. However, the contract between an enhanced component and the wrapped component is strictly through props. 

So I recommend filling in the static-time data dependencies via the function parameters and passing dynamic data as props. The authenticated props are dynamic because a user can be either authenticated or not depending on whether they are logged in or not, but we can be sure that the contents of the reqAPI object are not going to change dynamically. 

Don’t Use HOCs Inside the Render Method

Here is an example that you should avoid at all cost.

Apart from the performance hitches, you will lose the state of the OriginalComponent and all of its children on each render. To solve this problem, move the HOC declaration outside the render method so that it is only created once, so that the render always returns the same EnhancedComponent.

Don't Mutate the Wrapped Component

Mutating the Wrapped Component inside a HOC makes it impossible to use the Wrapped Component outside the HOC. If your HOC returns a WrappedComponent, you can almost always be sure that you're doing it wrong. The example below demonstrates the difference between mutation and composition.

Composition is one of React's fundamental characteristics. You can have a component wrapped inside another component in its render function, and that's what you call composition. 

Moreover, if you mutate the WrappedComponent inside a HOC and then wrap the enhanced component using another HOC, the changes made by the first HOC will be overridden. To avoid such scenarios, you should stick to composing components rather than mutating them.

Namespace Generic Propnames

The importance of namespacing prop names is evident when you have multiple stacked up. A component might push a prop name into the WrappedComponent that's already been used by another higher-order component. 

Both the withMouse and withCat are trying to push their own version of name prop. What if the EnhancedComponent too had to share some props with the same name?

Wouldn't it be a source of confusion and misdirection for the end developer? The React Devtools don't report any name conflicts, and you will have to look into the HOC implementation details to understand what went wrong. 

This can be solved by making HOC prop names scoped as a convention via the HOC that provides them. So you would have withCat_name and withMouse_name instead of a generic prop name. 

Another interesting thing to note here is that ordering your properties is important in React. When you have the same property multiple times, resulting in a name conflict, the last declaration will always survive. In the above example, the Cat wins since it's placed after { ...this.props }

If you would prefer to resolve the name conflict some other way, you can reorder the properties and spread this.props last. This way, you can set sensible defaults that suit your project.

Make Debugging Easier Using a Meaningful Display Name

The components created by a HOC show up in the React Devtools as normal components. It's hard to distinguish between the two. You can ease the debugging by providing a meaningful displayName for the higher-order component. Wouldn't it be sensible to have something like this on React Devtools?

So what is displayName? Each component has a displayName property that you can use for debugging purposes. The most popular technique is to wrap the display name of the WrappedComponent. If withCat is the HOC, and NameComponent is the WrappedComponent, then the displayName will be withCat(NameComponent)

An Alternative to Higher-Order Components

Although Mixins are gone, it would be misleading to say higher-order components are the only pattern out there that allow code sharing and abstraction. Another alternative pattern has emerged, and I've heard some say it's better than HOCs. It's beyond the scope of this tutorial to touch on the concept in depth, but I will introduce you to render props and some basic examples that demonstrate why they are useful. 

Render props are referred to by a number of different names:

  • render prop
  • children prop
  • function as a child
  • render callback

Here is a quick example that should explain how a render prop works.

As you can see, we've got rid of the higher-order functions. We have a regular component called Mouse. Instead of rendering a wrapped component in its render method, we are going to render this.props.children() and pass in the state as an argument. So we are giving Mouse a render prop, and the render prop decides what should be rendered.

In other words, the Mouse components accept a function as the value for the children props. When Mouse renders, it returns the state of the Mouse, and the render prop function can use it however it pleases. 

There are a few things I like about this pattern:

  • From a readability perspective, it's more evident where a prop is coming from.
  • This pattern is dynamic and flexible. HOCs are composed at static-time. Although I've never found that to be a limitation, render props are dynamically composed and are more flexible. 
  • Simplified component composition. You could say goodbye to nesting multiple HOCs.

Conclusion

Higher-order components are patterns that you can use to build robust, reusable components in React. If you're going to use HOCs, there are a few ground rules that you should follow. This is so that you don't regret the decision of using them later on. I've summarized most of the best practices in this tutorial. 

HOCs are not the only patterns that are popular today. Towards the end of the tutorial, I've introduced you to another pattern called render props that is gaining ground among React developers. 

I won't judge a pattern and say that this one is better than another. As React grows, and the ecosystem that surrounds it matures, more and more patterns will emerge. In my opinion, you should learn them all and stick with the one that suits your style and that you're comfortable with.

This also marks the end of the tutorial series on higher-order components. We've gone from ground zero to mastering an advanced technique called HOC. If I missed anything or if you have suggestions/thoughts, I would love to hear them. You can post them in the comments. 


by Manjunath M via Envato Tuts+ Code

Alto’s Odyssey

Lovely multi-layered parallax effect on the illustrated cityscape as you scroll this One Pager for Alto’s Odyssey – the follow up game to Alto’s Adventure. The cityscape/forest parallax effect became popular after the infamous Firewatch One Pager but actually originated in 2014 in the Garden Estúdio One Pager.

Full Review | Direct Link


by Rob Hope @robhope via One Page Love

14 Mobile Apps to Create Branded Visuals

Do you create visual images with your smartphone or tablet? Looking for tools to brand your images and video on the go? In this article, you’ll discover 14 mobile apps to help you make branded social media visuals. #1: Pick Up Brand Colors Whether you’re creating an Instagram story or using a design app, the [...]

This post 14 Mobile Apps to Create Branded Visuals first appeared on .
- Your Guide to the Social Media Jungle


by Tabitha Carro via

50 Years of Charts

Relive 4192 songs in a highly explorative 3D world, implemented with WebGL and WebAudio (in VR if you must). Optimized for a performant mobile experience.
by via Awwwards - Sites of the day

Challenge: Build a React Component

Looking To The Future: 10 Jobs Which Don’t Yet Exist But Will Do By 2100 - #Infographic

It seems like our sci-fi nightmares are coming true and robots are indeed coming to take our jobs, with machines estimated to take over 6% of all US jobs by 2021. Specifically, we could lose lots of admin and office jobs, but have you ever stopped to think how many jobs technology might actually...

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Web Desk via Digital Information World

Game AI: The Bots Strike Back!

The following is a short extract taken from our new book, HTML5 Games: Novice to Ninja, written by Earle Castledine. Access to the book is included with SitePoint Premium membership, or you can grab a copy in stores worldwide. You can check out a free sample of the first chapter here.

We have all the tools at our disposal now to make fantastically detailed worlds to explore and inhabit. Unfortunately, our co-inhabitants haven’t proved themselves to be very worthy opponents. They’re dumb: they show no emotion, no thought, no anima. We can instill these characteristics via graphics, animation, and above all, artificial intelligence (AI).

Artificial intelligence is a huge and extremely complex field. Luckily, we can get impressive results even with a lot more artificial than intelligence. A couple of simple rules (combined with our old friend Math.random) can give a passable illusion of intention and thought. It doesn’t have to be overly realistic as long as it supports our game mechanics and is fun.

Like collision detection, AI is often best when it’s not too good. Computer opponents are superhuman. They have the gift of omniscience and can comprehend the entire state of the world at every point in time. The poor old human player is only able to see what’s visible on the screen. They’re generally no match against a computer.

But we don’t let them know that! They’d feel bad, question the future of humanity, and not want to play our games. As game designers, it’s our job to balance and dictate the flow of our games so that they’re always fair, challenging, and surprising to the player.

Intentional Movement

Choosing how sprites move around in the game is great fun. The update function is your blank canvas, and you get godlike control over your entities. What’s not to like about that!

The way an entity moves is determined by how much we alter its x and y position every frame (“move everything a tiny bit!”). So far, we’ve moved things mostly in straight lines with pos.x += speed * dt. Adding the speed (times the delta) causes the sprite to move to the right. Subtracting moves it to the left. Altering the y coordinate moves it up and down.

To make straight lines more fun, inject a bit of trigonometry. Using pos.y += Math.sin(t * 10) * 200 * dt, the sprite bobs up and down through a sine wave. t * 10 is the frequency of the wave. t is the time in seconds from our update system, so it’s always increasing linearly. Giving that to Math.sin produces a smooth sine wave. Changing the multiplier will alter the frequency: a lower number will oscillate faster. 200 is the amplitude of the waves.

You can combine waves to get even more interesting results. Say you added another sine wave to the y position: pos.y += Math.sin(t * 11) * 200 * dt. It’s almost exactly the same as the first, but the frequency is altered very slightly. Now, as the two waves reinforce and cancel each other out as they drift in and out of phase, the entity bobs up and down faster and slower. Shifting the frequency and amplitude a lot can give some interesting bouncing patterns. Alter the x position with Math.cos and you have circles.

The important aspect of this is that movements can be combined to make more complex-looking behaviors. They can move spasmodically, they can drift lazily. As we go through this chapter, they’ll be able to charge directly towards a player, or to run directly away. They’ll be able to traverse a maze. When you combine these skills (a bobbing motion used in conjunction with a charge-at-player), or sequence them (run away for two seconds, then bob up and down for one second) they can be sculpted into very lifelike beings.

Waypoints

We need to spice up these apathetic ghosts and bats, giving them something to live for. We’ll start with the concept of a “waypoint”. Waypoints are milestones or intermediate target locations that the entity will move towards. Once they arrive at the waypoint, they move on to the next, until they reach their destination. A carefully placed set of waypoints can provide the game character with a sense of purpose, and can be used to great effect in your level design.

The waypoint-following bombs of Franco Ponticelli’s FlyMaze

Continue reading %Game AI: The Bots Strike Back!%


by Earle Castledine via SitePoint

Tuesday, February 27, 2018

How To Choose A Typeface For Your Brand - #infographic

Having a website is essential for any small business. And thanks to easy-to-use website builders and templates, it’s not always necessary to hire a costly designer. But a word of caution: if you’re planning on designing your own branding, it’s important to familiarize yourself with the basic...

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Web Desk via Digital Information World