Skip to main content

Posts

Showing posts with the label app in kotlin
 

Top 5 websites for selling apps

Top 5 websites for selling apps : Hello guys, many times when we develop an android application, one question which gets into our mind that "how we can earn money from application". So, In this, I will share some amazing website, where you can sell your android application and earn money from it. So, Let jump into the article. Codecanyon.net So, our first website is "Code Canyon". Code Canyon is a popular website. In this website, we can sell any type of software, which we want to sell. Code Canyon have a large customer base from which you can earn lots of money by selling your application. When I have started learning Android development, I have sold many android projects from which I get a decent amount of money. As, a beginner, you did not have a wide range of option to earn money from your project. So, you can go with these websites for getting paid from your projects. Codester.com Our second website is "Codester", ...

How to make a 2D Game in Android Studio Using Koltin 004

Hi Guys, This is our four article on " How to make a 2D Game in Android Studio Using Koltin ", also this is our last article on the 2d game in the android studio. In this article, we will draw obstacles on the surface of the screen, And we will draw the game over and scoreboard on the screen. If you did not read the previous article, then Click Here . Let move to the tutorial. Create A New Kotlin Class Create a new Kotlin class, Name it "ObstacleManager". Basically, we will handle the color, height, gap of the obstacles and also we will handle the player gap in the obstacles manager, and we will show the game over when the player hits the obstacles, also we will add score when player pass through the obstacles. We will mention an array list of obstacles to the obstacles manager. We will add the color handler in the obstacles manager. So, copy the below codes and it into your "ObstacleManager". 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1...

How to make a 2D Game in Android Studio Using Koltin 002

Hi Guys, In the previous article, we have learned how to develop the game loop in the android studio using Kotlin. So, In this article, we will learn how to draw characters on the surface. If you have not read the previous article yet, click here to read the previous article tutorial of " How to make a 2D Game in Android Studio Using Koltin 002 ". So, let get started with our tutorial. Create an Interface Now, create an Interface in the project. Left Click on the "com.example.user.game". Then, select "new" and after that, click on "Kotlin File/Class".  After that, Name it "GameObject" and In the kind section, select Interface and Click Ok. We are using interface in the project because when we add methods in the interface and implement the interface in the class, we want to add the same method in the class as an override method. In the next paragraph, I will explain it in more detail. Add two func...

How to make a 2D Game in Android Studio Using Koltin

2D Game in Android Studio Using Koltin Hello guys, There are many games in the Play Store, which are developed by the much big company. If you want to develop, that type of games, then you surely move to Unity, which is a platform to developed 3D games. But if don't want to develop 3D games, then you can try android studio to develop 2D games. I completely agree that android studio is not for game development, but if you started with game development in the android studio, it will be very easy to develop an application in the android studio. In this tutorial post, we will learn " How to make a 2D Game in Android Studio Using Koltin ".We will use kotlin language for this tutorial. Our game will look like this after development: So, Let get started with the tutorial: Create a new project in Android Studio Create an empty project in the android studio. Name your application. Then select the Kotlin support. After that, select the API l...

How to Create a Color Changing Sensor Game in Android Studio with Kotlin

Hello World, Many of us acknowledge about Sensors. Sensors are very significant parts of our Smartphone. There are many types of Sensors. In this article, we will learn " how to create a color changing sensor game in the android studio with kotlin " support. Lets Learn About Sensors There are many types of sensors in our smartphone. We can build different types of application with the sensors. For now, we will use the accelerometer. The accelerometer measures the acceleration force in the form of m/sq. And it applies three physical axes(x,y,z) into the device. Its also measure the force of gravity. When we shake or tilt the phone, its detect the motion. If you have studied coordinate in high school, you can easily understand the accelerometer and another sensor as well. Create a new Android Studio project  Create a new project in Android Studio Name it "Sensor Game". Tick Kotlin support, in your project. Then choose an empty activ...