Modern Technologies

Software & Tech Development for the Future

Discover
MOBILE

REACT NATIVE FLOATING BUTTON

In this lesson I will show you how to create a customizable floating button from material design using pure react code. First of all we need to use TouchableHighlight element to render an interactable element inside your current View tag. <View> <TouchableHighlight style={styles.addButton} underlayColor=’#ff7043′ onPress={()=>{console.log(‘pressed’)}}> <Text style={{fontSize: 50, color: ‘white’}}>+</Text> </TouchableHighlight> </View> In the code […]

thaiphan 
MOBILE

REACT-NATIVE TOUCHABLEHIGHLIGHT NOT WORKING

TouchableHighlight is a React-Native components that is used to respond to users touch.   The main problem of using this component is a difference between the API in some versions of React Native. There are some cases when TouchableHighlight elements are not really highlighted with no errors in the console. Here is a short guide […]

thaiphan 
MOBILE

UNITY – ROTATING A 2D SPRITE

Now let’s take a look on this example of writing a script for rotating a 2D sprite in Unity. This will be done in a simple line of code.   The solution is very simple. You should access a game object of this sprite and manipulate with its transform object: transform.Rotate(Vector3.forward * -90); RANDOM OBJECTS ROTATION If you want […]

thaiphan 
MOBILE

FIXING CS1503: ARGUMENT ‘#2’ CANNOT CONVERT ‘UNITYENGINE.FORCEMODE’ EXPRESSION TO TYPE ‘UNITYENGINE.FORCEMODE2D’

There is a common mistake for Unity3d newcomers when they are trying to implement jumping action in a 2D game. This error has code CS1503 and says that you cannot convert ‘UnityEngine.ForceMode’ expression to type ‘UnityEngine.ForceMode2D’. FIXING CS1503 CANNOT CONVERT ‘UNITYENGINE.FORCEMODE’ EXPRESSION TO TYPE ‘UNITYENGINE.FORCEMODE2D’ The fix is very simple. If you get this error it means that you’re […]

thaiphan 
MOBILE

UNITY EDITOR – SWITCH TO ANDROID PLATFORM

There’s a terrible situation in Unity when users get stuck while trying to switch to Android platform. Let’s look how to fix that. The problem: If you can’t set Android platform it means you did not install the Android Build Support package. One of the main reasons for that is the Unity update process. When the Unity Download Assistant runs […]

thaiphan 
MOBILE

UNITY STOP ANIMATION LOOPING

In this chapter you can learn a small step needed to prevent animation looping in Unity3d. It could be often used when you need to fire up just 1 animation loop. STOP LOOPS FOR UNITY3D ANIMATION To disable animation loop follow this simple steps: select animation in the Project tab open Inspector tab uncheck the checkbox “Loop […]

thaiphan 
BASICS

SQL BASICS

SQL (Structured Query Language) is a language of accessing data from a database. You can write SQL queries within’ a RDBMS – Relational Database Management System. Here are some popular RDBMS: MySQL, Oracle SQL, PostgreSQL, SQLite, Microsoft Access, IBM DB2. Relational databases are used to store structured data sets as records in tables. This article will […]

thaiphan 
BASICS

WHAT IS XML?

What is XML? XML is an abbreviation for Extensible Markup Language. It is widespread in software and hardware development as a data description format. XML was designed to describe data and to carry information. Information written with the help of XML can be easily read and understood both by people and computers.  XML files have .xml extension and can […]

thaiphan 
BASICS

CSS IN 10 MINUTES

CSS (Cascading Style Sheets) is a big friend of HTML. It is a simple language that describes formatting styles of HTML layout. Now this is a powerful tool of front-end development. It provides agile and convenient way to manipulate elements’ appearance on a web-page.   Syntax CSS is very simple. It is based on selectors (that […]

thaiphan