How to create a gaming app

In this set of tutorials, you’ll learn how to use DirectX and C++/WinRT to create the basic Universal Windows Platform (UWP) sample game named Simple3DGameDX. The gameplay takes place in a simple first-person 3D shooting gallery.

The link from which you can download the Simple3DGameDX sample game itself is Direct3D sample game. The C++/WinRT source code is in the folder named cppwinrt . For info about other UWP sample apps, see Sample applications for Windows development.

These tutorials cover all of the major parts of a game, including the processes for loading assets such as arts and meshes, creating a main game loop, implementing a simple rendering pipeline, and adding sound and controls.

You’ll also see UWP game development techniques and considerations. We’ll focus on key UWP DirectX game development concepts, and call out Windows-Runtime-specific considerations around those concepts.


To learn about the basic concepts and components of a UWP DirectX game, and to become more comfortable designing UWP games with DirectX.

What you need to know

For this tutorial, you need to be familiar with these subjects.

  • C++/WinRT. C++/WinRT is a standard modern C++17 language projection for Windows APIs, implemented as a header-file-based library, and designed to provide you with first-class access to the modern Windows APIs.
  • Basic linear algebra and Newtonian physics concepts.
  • Basic graphics programming terminology.
  • Basic Windows programming concepts.
  • Basic familiarity with the Direct2D and Direct3D 11 APIs.

Direct3D UWP shooting gallery sample

The Simple3DGameDX sample game implements a simple first-person 3D shooting gallery, where the player fires balls at moving targets. Hitting each target awards a set number of points, and the player can progress through 6 levels of increasing challenge. At the end of the levels, the points are tallied, and the player is awarded a final score.

The sample demonstrates these game concepts.

  • Interoperation between DirectX 11.1 and the Windows Runtime
  • A first-person 3D perspective and camera
  • Stereoscopic 3D effects
  • Collision-detection between objects in 3D
  • Handling player input for mouse, touch, and Xbox controller controls
  • Audio mixing and playback
  • A basic game state-machine

DIY apps builder without code

Norman Ortiz

Designed for iPad

    • 4.0 • 1.1K Ratings
    • Free
    • Offers In-App Purchases



The easiest, most affordable way to make apps; even if you don’t know anything on how to create an app. If you are looking to build an app for your business, team, group, organization or event, this is the best app creation tool in the market with no development or coding required. With our DIY app builder, you will be able to design, choose, create, and publish your own app without programming.

Take your business to the next level by having a mobile app that leads to customer retention, promotion awareness, push messages as well as being part of the mobile era. Our tool is an extremely easy to use app builder that will allow you to create powerful content-driven apps with an amazing app design that will look and feel beautifully, regardless of your user’s device.

This is a new and revolutionary way of creating apps, through our code-less developer tool, providing an easy and affordable way to build professional mobile apps.

With Apper, you can design your own app, select your menu, choose your icons and include social feeds such as Facebook, Twitter, YouTube, Pinterest and many more. You can also add links to any website or create special actions to manage appointments, include your Shopify account or use our product lists in combination with PayPal payment. Everything you need to make an app is at your fingertips.

A free 3 day trial is included. If you want to keep your App and unlock all screens you can get a $9.99/ monthly* or $89.99/yearly* subscription. You can cancel any time.

* Depending on currency and subscription provider
* You will need a subscription to keep your app published and unlock all screens. A free trial is included.
* Extra charges apply to submit your App to the store.
* Subscriptions will auto renew per month or year based on the selected subscription

How to create a gaming app

In the past you had to be a programmer to make an app, which would likely take weeks, months or even years. Now, however, there are numerous app-building platforms you can use to create an app in minutes. We’ve put together some of our favorites for you here.

Also read: How to Run a Java Program from the Command Prompt

1. Andromo

Andromo is the most popular Android app-maker platform.

How to create a gaming app

It only requires three steps to create your own app:

  1. Create an Andromo project.
  2. Fill out a few simple forms to add features, graphics, content and whatever makes your app unique.
  3. Click a button to build your app.

Unlike many of the other app builders, Andromo does not have a preview screen for you to see what your app will look like while adding items or changing formatting. After you create your app, they will email it to you. They do not support uploading the app to the Play store. For free, you can create one app with ads. If you upgrade to the lowest cost plan for $8 a month, you can have up to 50 apps and monetize them.

2. AppsGeyser

How to create a gaming app

AppsGeyser is totally free. They boast no fees, charges, subscription plans, or limits. There are over 50 different available templates to get you started and make creating the app even easier. The site uses a preview screen to show what your app looks like, but I had a little trouble getting that to work consistently. Because it’s free, they don’t support the publishing of the app to the stores. They will get 50 percent of any monetization you do to make up for the cost.

If you want to find out more about creating apps with AppsGeyser, then head over to our tutorial.

3. AppMakr

AppMakr is a cloud-based app maker that allows you to craft iOS, HTML5 and Android apps. You have no limit to the number of apps you can build nor the number of updates you can add.

How to create a gaming app

It has numerous features, including a high-resolution photo gallery, push notifications, live updates, music and video streaming, chat rooms, Google map integration, shared events calendars, in-app shopping and more. You can monitor your apps on a dashboard and adjust the appearance and functions of your app. You’ll add contents using tabs.

It is free to start but adds a one-time payment of $99 when you publish.

4. GameSalad

GameSalad is specific to building and publishing game apps for the Android, iOS, HTML5 and macOS platforms. Working on this platform does not require prior programming knowledge and involves the use of a drag-and-drop interface.

How to create a gaming app

Its mode of operation includes the editing of characters in a scene, designing their features, sound and alternating between the characters.This builder includes drag-and-drop components, in-app shopping, and GameCircle APIs. The platform also includes a forum where you can ask other users’ opinions which can help the building of your app.

Starters get it for free but subsequently pay $299 per year.

5. Appy Pie

Appy Pie allows users without prior coding knowledge to build apps in the cloud. The platform can be used to create apps for Windows, iOS, and Android, which you can publish to Google Play or iTunes. It involves the use of drag-and-drop components, and no downloads or installations are needed.

How to create a gaming app

The complete version of the created app is a hybrid that is based on HTML5 and works on all platforms, including Blackberry. You can send push notifications, view analytics in real time, monetize with ads and use GPS to track locations. You can also link your app to websites, blogs, audio, radio, media feeds and much more.

It has an appointment scheduler that contains features like One Touch Call and QR codes in which you can embed custom code and iFrames; this feature is particularly useful for most businesses. Using this platform can range from free to a platinum fee of $33 per month.

6. Appery

Using Appery to build apps is easy and fast. There is no need for writing codes or downloading and installing anything. It is done exclusively on the Cloud and uses drag-and-drop components to create the UI. This platform is used to build apps for Android, Windows phone, and iOS using Apache with the built-in component.

Appery has a plugin catalog that allows you to add some functions to your app, but you can also create plugins that would be specific to your app. It allows you to share your project with business users, customers or developers in real time. The price ranges from free to about $180 per month.

7. Swiftic

Swiftic changed its name from Como. It’s an instant app builder that allows you to create apps regardless of your experience. It ranks among the best mobile app makers because it has a variety of features for making money and engaging your customers. Como makes a novice seem like a pro, as it involves just three simple steps with dozens of themes that are categorized. All you need to do is choose an app category, select a theme and publish.

How to create a gaming app

Many developers consider Swiftic’s features an upgrade when compared to those of other app builders. These features include advanced analytics which keeps track of app performance (to know what works and what does not). Other features on the app maker include a drag-and-drop interface, mobile commerce, user review, loyalty programs/coupons, ability to create a custom menu, RSS and social feeds, customization of the look and function of the apps, monetization features and push notifications.

If you’re considering an upgrade from the free version, Como could quickly become expensive (depending on your payment plan). It ranges from $29 per month (paying once in two years), $33 per month (paying once per year) to $39 (paying monthly).

Also read: 6 of the Best Static Website CMS for You

Welcome to Android game development with the Google Play games services!

The Play Games SDK provides cross-platform Google Play games services that lets you easily integrate popular gaming features such as achievements, leaderboards, and Saved Games in your tablet and mobile games.

Before you begin

To prepare your app, complete the steps in the following sections.

App prerequisites

Make sure that your app’s build file uses the following values:

  • A minSdkVersion of 19 of higher
  • A compileSdkVersion of 28 or higher

Set up your game in Google Play Console

The Google Play Console is where you manage Google Play games services for your game, and configure metadata for authorizing and authenticating your game. For more information, see Setting Up Google Play Games Services.

Configure your app

In your project-level build.gradle file, include Google’s Maven repository and Maven central repository in both your buildscript and allprojects sections:

Add the Google Play services dependency for the Play Games SDK to your module’s Gradle build file, which is commonly app/build.gradle :

You can move onto the sign-in documentation for next steps on setting up Play Games Services v2 Sign In.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Use Gecata by Movavi!

  • Record HD game videos at up to 120 FPS
  • Stream on any platform
  • Grab sound from speakers or microphone
  • Add webcam video to gameplay footage

Download the program and follow the instructions below

  • Home
  • Help Center
  • How-tos
  • How to Record Gameplay on a PC – Movavi

Want to share tips and walkthroughs on Grand Theft Auto missions or show off your highest castle in Minecraft? Or maybe you just want to save that breathtaking cinematic from the latest Final Fantasy game. Whether you share Let’s Plays on YouTube or create music videos using game clips, you’ll need an effective way to record PC gameplay.

Grabbing video games from consoles is much harder than recording gameplay on a PC – you need a special grabber device. On a PC, all you need is an app that lets you record game footage.

Instructions for recording gameplay on a PC with Gecata by Movavi

Gecata by Movavi has everything you need to capture in-game video from your computer screen. Download the app and learn how to record gameplay on a PC with this tutorial.

Step 1. Install Gecata by Movavi

Click the button below to download Gecata by Movavi. After the download is complete, run the .exe file and follow the Installation Wizard instructions. It will take just a few minutes to finish the process. Once it’s done, run the app and record any gaming video you want.

Step 2. Adjust the capture settings

In the main window, make sure the Capture mode is set to Game. System sounds will be captured by default. On the Devices tab, enable the Microphone and Webcam if you want to record yourself while playing a game on a PC.

Switch to the Web Camera tab to adjust the webcam capture settings – size, video resolution, position, and frame rate.

Step 3. Adjust video settings

On the Video tab, you can set the video resolution and quality. From the Resolution list, select Original if you want the resolution of the actual game to be preserved in the output video, or choose one of the preset sizes. Expand the Frame rate list and select a frame rate between 15 and 120 frames per second. The higher the frame rate, the larger the file size, so if your game is not an action-packed adventure, choose a lower frame rate – it’s the best way to save space on your hard drive.

Choose the output video quality by adjusting the Video quality slider. Note that high-quality game footage will take a lot of space on your PC, so make sure you have at least 2 or 3 GB of free space before recording.

You can also save the screen capture and webcam footage as separate files – just check the Capture separate streams box.

Step 4. Record gameplay

If you want to start recording immediately after launching the game, click Start Recording in the program interface before you run the game; otherwise, just start the game you want to record. Press F10 to start or stop recording and F9 to pause. You don’t need to do anything – the game footage will be automatically saved to your hard drive as an MP4 file. This is how to record games on your computer – it couldn’t be easier!

Now you know the best way to record gameplay on a PC – with Gecata by Movavi.


If you have ever asked yourself, “How can I make a high-quality recording of my gameplay?” take a look at the useful tips below:

  • Use the right PC. Recording gameplay footage, editing, and rendering require CPU and GPU power. You’ll have to find the right balance of quality and performance to successfully record game footage. Keep in mind that only a powerful PC can handle high-quality recording of a game with high graphics settings.
  • Choose a video capture card. If you are planning to only record your gameplay from a PC, there’s no need for a capture card. However, an internal or external video capture card is necessary to record footage from consoles and cameras. External cards are portable, easier to use, and mostly cheaper than internal capture cards. Internal capture cards connect directly to the motherboard and thus ensure a faster connection and data transfer as well as improved stability.
  • Find the recording software that suits you best. Some of the best screen recorders are free and open-source. If you aren’t satisfied with free software and want a premium solution, remember to check out user reviews and the trial version before buying a recorder.
  • Use the optimal recording settings. Resolution, number of frames per second, and bitrate directly affect video quality. The optimal settings for recording are 1080p resolution, 60 fps frame rate, and a bitrate of 10 MB per second. If your PC still struggles with simultaneously gaming and recording, you can lower the resolution to 720p and the framerate to 30 fps.

Frequently asked questions

How do you record gameplay on a PC?

  1. Download and install Gecata by Movavi.
  2. Adjust general capture settings.
  3. Adjust video settings such as resolution and frame rate.
  4. Record game clips on a PC.

How do YouTubers record their gameplay?

YouTubers use various programs to record gameplay. One of the most popular is OBS due to its support for almost any streaming platform and video hosting, customization options, and open-source license. If you want to know how to capture gameplay on a PC with OBS, follow the link below and read our article.

What is the best app to record gameplay on PC?

There are many recorders that provide functions and tools necessary for recording gameplay. Here are the top 5 best game recorders:

  • Gecata by Movavi
  • Bandicam
  • OBS
  • NVIDIA ShadowPlay
  • Action! Screen Recorder

Follow the link below to learn more about gameplay recorders

BUD Technologies, Inc.

Designed for iPhone

    • #59 in Social Networking
    • 3.9 • 1.1K Ratings
    • Free

iPhone Screenshots


BUD – Come and join the fun!

BUD is the best virtual platform to create and experience 3D interactive content with friends. Invite friends to create, play, hangout and explore 3D experiences built by our community. Use your imagination to create something cool to share with the community.

– Customized your avatar to express yourself.
– Build interactive 3D experiences using our easy-to-use 3D creation tools.
– Explore lots of 3D experiences created by our global community.
– Follow top creators in our community and never miss a beat.

If you have any questions, you can reach us at [email protected]

What’s New

Bug fixes and performance improvement.

Ratings and Reviews

Recommendations to your game / Feedback

I really enjoy playing this game, I have met some players I have wanted to become friends with, but sadly I could not because there was no feature to friend them in an experience. I really hope this gets added. I have made a game titles “Apartment Room 374” i am pretty sure, while I was testing my game. I added props in some places, but when I tested it, it nocliped me out of the map. Hoping you could fix this, I did not find a solution for this, I am grateful that you have made this App. The worst this I don’t like about this game is how safe the chat is, I tried saying “class” and it said it was against your rules, I tried to type letters like “k” or “o” but it still said it was against your rules, really annoys me to have this issue. If you want to know my user, it is “limanent” you can check my game there, it’s optional. Hopefully you see this report because I promised someone I would write this review. Good day and goodbye.

Developer Response ,

Thank you so much for your feedback. We have fixed this problem, please try again.

Good, but still needs a lot of work

This game is pretty fun, but is clearly in beta and has a lot of kinks to work out. For one, servers. Oftentimes I will end up in a server where nobody speaks english and I can’t communicate with people. Two, creating and viewing your creations. I created an outfit and I can’t even see it / figure out how to see it. Their is a lack of emotes for certain objects, and the controls themselves are not very good. Most of the time, games with joystick controls allow for small mistakes and just move the joystick to where your thumb is. Not Bud. Another thing with that is no real way to control walking or running, and instead if you are walking for a while it turns into running. This is very inconvenient. The layout of the app itself is confusing and hard to navigate, with complex ways to do simple tasks. Going back to custom outfits, the only option is creating a long sleeve and pants, despite the original customization menu having dresses and robes. That is hopefully something being added. The game has some pros, but this review is long enough. It has potential, but it isn’t quite there yet.

Developer Response ,

Thank you so much for your feedback.Your feedback is absolutely valuable to us! We will evaluate your suggestion in subsequent updates.

This is a great game for creative people!

I love the concept of the game. You can make your own worlds, 3D design your own props, and visit your friends worlds as well. Of Course there are more updates to come, I would suggest maybe fixing the feed? The BUD official account is the only account that posts, which i find unbelievable because there are definitely people who play the game, I have posted as well but it seems like maybe people’s posts are hidden or something. I also am wondering how you can use your own props? They aren’t in my library, maybe having a button for “Your Props” would be helpful, but even so, the props I have made and published I can’t find or use. Another Suggestion would be to have a “sit” interaction you can place on props while in world edit, so you can sit in chairs beds and benches. Anyway! I like the game, can’t wait for it to grow more so more people creat more worlds and we can make more friends, I’m Flipflopfizzle so check out my first experience I made lol ❤️

Developer Response ,

Thank you so much for your feedback.Your feedback is absolutely valuable to us! We will evaluate your suggestion in subsequent updates.

App Privacy

The developer, BUD Technologies, Inc. , indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy.

Data Used to Track You

The following data may be used to track you across apps and websites owned by other companies:

Data Linked to You

The following data may be collected and linked to your identity:

Privacy practices may vary, for example, based on the features you use or your age. Learn More


English, Filipino, German, Indonesian, Italian, Japanese, Korean, Malay, Portuguese, Russian, Simplified Chinese, Spanish, Thai, Turkish, Vietnamese

Build no-code mobile and web apps with AppSheet

We’ve broken down the basic app-making process into 7 steps.

This guide shows you how to create an app directly from your existing data in the AppSheet editor.

  • Step 1
  • Step 2
  • Step 3
  • Step 4
  • Step 5
  • Step 6
  • Step 7
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Step 1: Prepare your data
  • Step 2: Connect your data to AppSheet
  • Step 3: Familiarize yourself with the AppSheet Editor
  • Step 4: Define how your connected data will be used
  • Step 5: Create views and customize look and feel
  • Step 6: Create bots to run automations
  • Step 7: Test, share, and deploy your app with users

Prepare your data

Open the spreadsheet or database you would like to use for your app. AppSheet lets you choose from an array of data sources like Google Sheets, Excel, Cloud SQL, and more. To make sure AppSheet can read your data appropriately, set up your data with column headers in the first row, and rows of data underneath. If you’d like, you can also start from a prebuilt app template.

Learn more about preparing your data

Connect your data to AppSheet

AppSheet never hosts your data, but interacts with it based on how you set up your app.

You can connect AppSheet to your data in one of three ways:

If you’ve never used AppSheet before, you can connect your data and set up your account here. We’ll walk you through each of the steps needed to get started.

If you are using Google Sheets, you can connect your data to AppSheet directly from your Sheet by clicking Tools > AppSheet > Create an app.

If you already have an AppSheet account, you can connect to a new database by going to your My Apps page and clicking on “Make a new app”.

Learn how to connect multiple tables to your app in this video

Learn how to connect to more advanced data sources

Familiarize yourself with the AppSheet Editor

You are now in the AppSheet editor! The first thing you’ll see is a welcome message with a preview of your app.

Once you close this window, you’ll see this live preview on the right side of the AppSheet editor.

Each page you see in your app is known as a view. Notice that AppSheet may suggest views based on the data you connected it to. Hopefully these are views you want to have in your app, but if not, no worries! We’ll learn how to update views soon.

On the left side of the editor you’ll see your primary menu, with a number of tabs:

Home gives you suggested next steps and access to educational resources.

Info lets you see and manage the technical details of your app.

Data lets you define how AppSheet interacts with your data.

UX lets you create and customize views, along with the look and feel of your app.

Automation lets you create modular bots that can automate certain tasks such as sentiment analysis and optical character recognition.

Security lets you set up user roles and define security features.

Intelligence lets you incorporate machine learning into your app, such as sentiment analysis and optical character recognition.

Users enables you to share your app and manage who has access to it.

Manage allows you to track and control your app’s authors, deployment state, and usage.

Finally, whenever you make edits to your app, you’ll see the save button in the top right corner turn blue. Make sure you click on it so your edits are saved. Saved changes are immediately available to use in your app.

Define how your connected data will be used

Before you build your app interface, you will want to specify how your data is being used in the Data tab.

Add additional tables to your app by going to Data > Tables and click on “New Table”.

In Data > Columns, you’ll see a list of each column you have in your table listed in a field. By either clicking on the pencil to the left of each field, you can adjust settings for how the app will interact with your data. Here’s two examples of the settings you can adjust here:

Type lets you specify what type of data is in that column. For example, if you have an “Email” column in your data, you need to make sure that column type is set to Email.

Show lets you select whether or not this data will be displayed in your app (some data you may want to keep hidden)

The Data section can initially feel a little overwhelming, as there are a lot of powerful features available in it, but don’t worry–as you create your views, you’ll be able to go back and adjust it as needed. Plus, we provide a lot of resources to help you know what to do.

Bring even more fun and connection to your games with Game Center, Apple’s social gaming network. Game Center lets players build an identity across Apple platforms and enables features like the Game Center leaderboards, achievements, multiplayer functionality, dashboard, and more. Add features within your custom user interface or take advantage of the updated Game Center user interface.


Leaderboards let players participate in new competitions within your game and challenge other players to beat their score. Players see how they rank among global players, as well as their Game Center friends. You can even create a friends-only leaderboard in your custom UI. Classic leaderboards are ongoing and maintain a player’s score forever. Use these to showcase scoring for overall or lifetime events, such as all-time number of matches won or the shortest time taken to complete a level. Recurring leaderboards are short lived and expire, then repeat after a set time, such as daily, monthly, or weekly. Use recurring leaderboards for timed live events — for example, to show the most matches won in a week. You can use one or both leaderboard types in your game.


Achievements are special milestones that indicate when a player has successfully reached a particular goal in your game. You decide which achievements are relevant to your game and worth offering to your players. Players see achievements as locked, in progress, or completed. You can also create hidden achievements, which only appear once completed. Consider using hidden achievements to prevent spoilers in your game and to surprise and delight players. You can provide up to 100 achievements, each of which can award up to 100 points, and your game can award up to 1,000 points in total. Keep these limits in mind when releasing the initial version of your game, as you may want to add new achievements in future updates. For variety, consider creating a set of achievements that require dedication and a range of skills to complete.


Challenges let players compete directly with friends to beat a high score or accomplish a specific achievement. By default, challenges are not displayed on the dashboard. Opt in to display challenges on the dashboard using App Store Connect.


Game Center supports real-time and turn-based multiplayer functionality, helping players connect without leaving your game. Players can invite Game Center friends, contacts, iMessage groups, and nearby players, or automatch with other competitors to quickly start playing on iOS, iPadOS, and macOS. The friend request inbox lets them easily manage requests in one place.


The Game Center dashboard is a central place where players access their profile and interact with Game Center features that your game supports, such as achievements, leaderboards, and challenges. You can deep link players to specific areas of the dashboard or provide easy access to the whole dashboard with an access point.

When the access point initially appears, you have the option of showing highlights — such as the number of achievements or default leaderboard ranking — to give players quick insight into their progress. After showing any highlights, the access point collapses to display the player’s avatar.


Game Center connects players inside and outside of your game. Players can start multiplayer games together, see where friends rank on a leaderboard, keep up with what their Game Center friends are playing on the App Store and in Game Center widgets — and much more.

You can leverage the Friends API to create frictionless social and multiplayer experiences. Let friends go on missions together, display a friends-only leaderboard in your custom UI, and even show friends’ progress within progression maps. Players are prompted for access to their list of Game Center friends on a per-game basis, so they always have control over sharing their activity.


Games with Game Center enabled are included in the Friends Are Playing section on the App Store, allowing players to browse and discover new games their friends are playing. The App Store product page also shows players which of their friends play your game, and they can add the Friends Are Playing and Continue Playing widgets to their Home screen to quickly jump into a game.

Enabling Game Center

To get started, add Game Center as a capability in your Xcode project and configure features in App Store Connect. Then use the GameKit framework to implement the Game Center features you’d like to use. Before your game can provide Game Center features, you must confirm that the player is signed in to Game Center on the device. You can then also receive notifications for game invites, challenge invites, user changes, and more.

Interface Guidelines

Learn about designing and presenting Game Center features within your game.


Learn how to use GameKit to create great social games with Game Center.

App Store Connect

Learn about the leaderboard catalog reports associated with your Game Center apps.

Developer Forums

Discuss developing for Game Center with Apple engineers and other developers.

Learn how to create 2D games in Unity with tilemaps, sprites, 2D physics, animation, and more.

Made with Unity – Night in the Woods by Finji

Unity is the world’s most popular 2D and 3D game creation platform – 50% of all mobile games are made with it! New users can download the free version of Unity. You’ll get access to a platform to create 2D games plus an abundance of free resources from us and our awesome community.

When you download Unity, you have the option to start creating with one of our ready-made Microgames, such as the 2D Platformer. Each Microgame has a collection of Mods – fun customizations that will introduce you to important workflows in Unity.

How to create a gaming app

Unity Creator Kit: 2D RPG

Creator Kits are simple game projects available on Unity Learn that you can make in about an hour. The 2D RPG Kit is code-free, so you can focus on learning about the Unity Editor and customizing the game based on your own ideas and interests.

The Explorer: 2D Kit by Unity

The Explorer: 2D is a collection of mechanics, tools, systems, art and other assets to hook up 2D gameplay. The kit includes a game example built with these systems. You can complete this great project in under two hours, and you don’t have to write any code.

How to create a gaming app

Unity 2D game project: Ruby’s Adventure

Ruby’s Adventure is a project that will guide beginner creators into 2D game development and coding. Ruby’s journey will teach you how – and why – to use sprites, how to create your first script, use the Tilemap tool, decorate your scene, and create particles, user interface (UI), audio and more.

2D tips from the Unity community

Thomas Brush: 2D game dev tips

Thomas Brush’s channel is chock-full of practical tips and inspiration. Start with 5 steps to making a gorgeous 2D game and Anyone can make 2D games!

Multitask while you play

How to create a gaming app

  • Wichita Technical Institute
  • Tweet
  • Share
  • Email
  • Tweet
  • Share
  • Email

In This Article

Jump to a Section

Most computer games take over the whole screen when you play. But, depending on whether or not the developer allows it, you might be able to play in a window instead.

The process to window a game takes just a few seconds, however, some games don’t natively support windowed mode. So, you may have to take some more involved steps to prevent those games from taking up the whole screen.

This guide applies to Windows 10 and later.

Check for the Easy Button

Some games explicitly allow the application to run in a windowed mode. Go into the Settings menu and you’ll see options listed using varying language. If you don’t see the below options there, you might access them from the game’s launcher.

  • Windowed Mode: Runs the game in a resizeable window just like any other application.
  • Borderless Window Mode: Runs the game as a window, which may be full screen or not, but without the usual chrome (borders, toolbars, etc.) normal apps enjoy.
  • Fullscreen (Windowed) Mode: Runs the game full-screen, but full-screen view is just a maximized window, so you can run other apps atop the game.

How to create a gaming app

Make Windows Work for You

The Windows operating system supports command-line switches to adjust certain start-up parameters of programs. One way to “force” an application like your favorite game to run in a windowed mode is to create a special shortcut to the program’s main executable, then configure that shortcut with the applicable command-line switch.

Right-click or tap-and-hold the shortcut for the computer game you want to play in windowed mode.

If you don’t see the shortcut on the desktop, you can make one yourself. To make a new shortcut to a game or program in Windows, either drag it to the desktop from the Start menu or right-click (or tap-and-hold if you’re on a touchscreen) the executable file and choose Send to > Desktop.

Select Properties.

How to create a gaming app

In the Shortcut tab, in the Target: field, add -window or -w at the end of the file path. If one doesn’t work, try the other.

How to create a gaming app

Select OK.

If you receive an “Access Denied” message, you may need to confirm you’re an administrator on that computer.

If the game doesn’t support Windowed Mode play, adding a command-line switch won’t work. But, it’s worth trying. Many games, officially or unofficially, allow the Windows operating system to control how they render.

Alternative Ways to Window a Game

Here are some additional methods to try if you want to play games in windowed mode:

Keyboard Shortcuts

Some games can be recomposed into a window by pressing the Alt + Enter keys together while in the game, or by pressing Ctrl + F.

Modify the .INI File

Some games store full-screen mode settings in an INI file. They might use the line “dWindowedMode” to define whether to run the game in windowed mode or not. If there’s a number after that line, make sure it’s 1. Some may use True/False to define that setting.

Use DxWnd

If the game relies on DirectX graphics, a program like DxWnd serves as a “wrapper” offering custom configurations to force full-screen DirectX games to run in a window. DxWnd sits between the game and the Windows operating system; it intercepts system calls between the game and the OS and translates them into an output that fits into a resizable window. But again, the game must rely on DirectX graphics for this method to work.

If Your Game Is Really Old

Some very old games from the MS-DOS era run in DOS emulators like the DOSBox emulator. DOSBox and similar programs use configuration files that specify full-screen behavior through customizable toggles.


Another option is to run the game through virtualization software like the VirtualBox virtualizer or VMware, or a Hyper-V virtual machine. Virtualization technology lets an entirely different operating system run as a guest OS within your existing operating system’s session. These virtual machines always run in a window, although you can maximize the window to get a full-screen effect.

Run a game in a virtual machine if it can’t be run in a windowed mode. As far as the game is concerned, it’s functioning like normal. The virtualization software governs its appearance as a window in its host operating system, not the game itself.

Some Considerations

There are a few things to keep in mind when attempting to modify your games:

How to create a gaming app

Help family members balance their time online by setting app and game limits. Limits extend across any Windows, Xbox and Android devices connected through the Microsoft Family Safety app.

To set app and game limits, follow the steps below.

Open the Microsoft Family Safety app.

Find your family member and tap their name. Tap Set time limits > Apps and games.

Turn on App and game limits.

Tap the app or game you want to set limits on.

Set the amount of time your family member can spend on the app or game each day and when they’re allowed to use it. Use the same limits every day or tailor a schedule for each day of the week.

Visit Sign into your Family Safety account.

Find your family member’s name and click More options > Screen time.

Select Apps and games tab. Turn on App and game limits toggle.

Click the app or game you want to set limits on.

Set the amount of time your family member can spend on the app or game each day and when they’re allowed to use it. Use the same limits every day or tailor a schedule for each day of the week.

Website limits

Time limits do not work on websites. To limit a family member’s web access to an app or game, follow the steps below:

Using a web browser, visit Sign into your Family Safety account.

Find your family member and click More options > Screen time > Apps and games.

Select the app or game you are limiting.

Scroll down to Block related websites and check the box next to the website you would like to limit.

You may see an app or game listed more than once if your family member installed it on multiple devices. This is temporary until the data is processed. In the meantime, you can set a limit for each listing of the app or game.

Record gameplay on a PC in a snap

How to create a gaming app

How to create a gaming app

  • Southern New Hampshire University
  • Tweet
  • Share
  • Email
  • Tweet
  • Share
  • Email

What to Know

  • Go to Settings >General and enable or disable each feature as desired. Go to the Capture and Audio tabs and repeat.
  • To record gameplay, press Windows+G, then press Start Recording. Locate the recording later by selecting Show all captures.
  • Use Windows+Alt+R to start/stop recording, Windows+Alt+Print Screen takes a screenshot, and Windows+Alt+G records the last 30 seconds.

This article explains how to use the Windows 10 Game Bar, a program included with the operating system that takes screenshots and records and broadcasts video games. It’s also where you enable Game Mode to apply settings that make your gaming experience faster, smoother, and more reliable.

Enable and Configure Game Bar

You must enable the Game Bar for a game (or any app) before you can use the features available on it.

To enable Game Bar, open any game from inside the Xbox app or the list of apps available from the Start menu. If you get a prompt to enable the Game Bar, do so—otherwise, press Windows+G.

How to Configure Game Bar

Windows 10 Game Bar offers options to personalize it to suit your needs. You’ll find these options on three tabs: General, Broadcast, and Audio.

The General tab offers the most options, including one to enable Game Mode for the active app. With this option selected, the system allocates extra resources (such as memory and CPU power) for smoother play.

It also contains an option to enable Background Recording. With it, you can use the Record That feature in Game Bar to capture the last 30 seconds of play, which is an excellent solution for recording an unexpected or impressive gaming moment.

The Capture tab lets you enable or disable your microphone or camera while streaming. The Audio tab controls the audio quality and lets you opt to use the microphone (or not) and more.

Hover the mouse cursor over each of the entries to see the name of the icons.

How to create a gaming app

Select Settings.

How to create a gaming app

Read each entry under the General tab. Enable or disable each feature as desired.

How to create a gaming app

Read each entry under the Capturing tab. Enable or disable each feature as desired.

How to create a gaming app

Read each entry in the Audio box on the left side of the screen. Enable or disable each feature as desired.

How to create a gaming app

Click outside Game Bar to hide it.

How to Use the DVR Record Feature

A popular option is the DVR feature, which records your gameplay. This feature works similarly to a traditional television DVR, except this a live game DVR. You might also hear it referred to as an Xbox game DVR.

To record a game using the Record feature:

Use the key combination Windows+G to open Game Bar and select Start Recording in the Capture box in the upper-left corner.

How to create a gaming app

While playing the game, Game Bar disappears. A smaller bar appears with a few options, including:

  • Stop recording: Click the square icon once to stop the recording.
  • Enable/disable the microphone: Click the microphone to enable and disable.

Press Windows+G to access Game Bar.

How to create a gaming app

Locate the recordings by clicking Show all captures in Game Bar.

You can also find recordings in the Videos > Captures folder.

How to create a gaming app

How to Broadcast, Take Screenshots, and More

Just as there is an icon for recording the screen, there are icons for taking screenshots and broadcasting. Screenshots you take are available from the Xbox app and the Videos > Captures folder. Broadcasting is a little more complex. If you want to explore it, click the Broadcast icon, follow the prompts to configure settings, and start your live stream.

Keyboard Shortcuts

You can use various shortcuts while playing a game to record clips and screenshots:

  • Windows+G: Open Game Bar.
  • Windows+Alt+G: Record the last 30 seconds (you can change the amount of time recorded in Game Bar >Settings).
  • Windows+Alt+R: Start and stop recording.
  • Windows+Alt+Print Screen: Take a screenshot of your game.
  • Add shortcuts: To do so, open the Xbox app and select the menu to expand it, then select Game DVR >Keyboard shortcuts.

Think Outside the Xbox

Although the name Game Bar (and pseudonyms like Xbox game DVR, game DVR, and so on) implies that Game Bar is only for recording and broadcasting computer games, it isn’t. You can also use Game Bar to:

Хотите добиться долгосрочного успеха? Повышайте производительность приложения, а также качество контента, интерфейса и улучшайте функции.

Расширяйте аудиторию своего приложения – для этого вам нужно правильно выбрать контент.

Выделяйтесь среди конкурентов уникальным или инновационным решением, примером использования, а также интерфейсом и функциями приложения.

Учитывайте культурные нормы разных стран – ознакомьтесь с нашими рекомендациями по успешному запуску приложений во всем мире и подумайте об использовании стратегии регионального ценообразования.

Предоставляйте пользователям возможность общаться и взаимодействовать друг с другом – для этого создавайте и расширяйте сообщества, а также поощряйте самостоятельное создание пользователями контента.

Разрабатывайте новые функции с учетом пользовательских отзывов – в этом вам поможет инфраструктура закрытого и открытого тестирования в Google Play.

Повышайте интерес к своему приложению у пользователей со всего мира – локализуйте его интерфейс и страницу в Google Play с помощью наших сервисов перевода.

Чтобы удерживать интерес пользователей, регулярно выпускайте обновления приложения и его контента.

Регулярно выпускайте обновления контента и функций приложения – это позволит вам надолго удержать интерес пользователей.

Если в вашем приложении есть реклама, следите, чтобы она привлекала внимание пользователей, а не вызывала негативную реакцию.

Описание приложения должно быть понятным и увлекательным. Расскажите об основных функциях и интерфейсе. Чтобы выбрать лучшее описание, воспользуйтесь экспериментами со страницей приложения.

Улучшайте параметры видимости приложения, оптимизируя графические объекты, скриншоты и видео на его странице в Google Play. Это позволит пользователям понять, как приложение работает.

Создайте приложение, которое будет вызывать у пользователей положительные впечатления, интуитивно понятное, с высокой производительностью и стабильностью.

Приложение должно иметь интуитивно понятный интерфейс – cоздать его вам помогут стандартные шаблоны визуального дизайна и взаимодействия для Android.

Добавляйте в приложение основные функции, связанные с воспроизведением и записью медиафайлов, распространением контента и фоновыми службами.

Оптимизируйте производительность, стабильность и совместимость приложения – это позволит вам удовлетворить ожидания пользователей.


A Coding App For Kids To Make Games, Stories, Art, And More!

With Hopscotch, kids can learn to think, improve their creativity and develop problem-solving skills while having fun creating and playing games on iPad and iPhone.

How to create a gaming app

As seen on ABC’s Shark Tank

How to create a gaming app

How to create a gaming app

How to create a gaming app

How to create a gaming app

“ “I look up to you for what you’ve been able to accomplish and [for] what you’ve been able to do for my daughters and my son. I mean, thank you. Doing these games with them was thrilling to me.” ”

The Best Way To Teach Kids How To Code

Parents And Kids Love Hopscotch

“ “Hopscotch is the only activity I can think of where she uses both her left and right brain.”

“ My son feels special because you have allowed him to create something that he thought could only be created by tech-savvy adults. He is now looking at apps and seeing possibilities for himself rather than just wanting to buy them to play. As a parent, I am so proud of not only the end result of his programming but the fact that he became totally absorbed in his learning and was able to use problem-solving and creative thinking skills critical for someone to be a successful learner in the 21st century. ”

“ I had ZERO background or programming experience. I actually personally checked all 8 or 10 of these blogs about recommendations. And Hopscotch was the most intuitive and interactive. It’s not like you’re just playing video games. My daughter loves it! ”

“ I am THRILLED that there is a safe, interesting, engaging place for children to learn to code. This app really allows his creativity to shine, and his five year old little sister has become so interested in the app, and doesn’t even know what coding is. THANK YOU, and keep up the good work! ”

“ My seven year old daughter captured essence of programming after hour with Hopscotch. Whether or not she goes on to a STEM field, this is going to be an experience she remembers her entire life. You guys are changing lives. Thanks! ”

Each in its own isolated container

Most of the time when you install an app on your Mac and Android devices, the app only allows you to use one account at a time on that device. This works just fine when you only hold a single account with that app. But the problem arises when you have multiple accounts and you wish to use them all at the same time on the same device.

One of the ways to do that is to run multiple instances of the app. By default, your device doesn’t offer the option to do this but there is a workaround to make it happen.

How to create a gaming app

Use Terminal To Run Multiple Copies Of The Same App (Mac)

On a Mac machine, the Terminal app lets you perform a number of tasks using various commands. It includes a command that allows you to run two or more instances of an app on your machine.

That way, you can launch an app multiple times, each with their own independent container. Each instance will be isolated from the others so there won’t be any mixing up of anything.

Here’s how you do it.

  • Launch the Terminal app from the Launchpad.
  • When Terminal launches, type in the following command, press the Spacebar, drag and drop your Mac app from the Applications folder, and hit Enter.

    open -n

  • As an example, I’m going to launch two instances of the Calculator app on my Mac. I would type in the following command and hit Enter to do so.

open -n /Applications/

  • The command will open an instance of your chosen app on your Mac. Run the command multiple times to launch multiple instances of that app on your machine.

Launch Multiple Instances Of The Same App Using AppleScript

The Terminal method works just fine but the main drawback of the method is that you need to run the command each time you want to launch an instance of an app.

If you often need multiple instances of an app running at the same time, using Terminal to do the task may not be the ideal way.

Fortunately, your Mac lets you run predefined scripts and you can use this feature to run multiple instances of an app by just double-clicking on an icon on your desktop. It’s as easy as normally launching an app on your machine.

Open Launchpad on your Mac and select Other followed by Script Editor. It’ll launch the AppleScript editor app.

How to create a gaming app

Click on File followed by New to create a new app. Enter the following code in the app replacing APP-PATH with the path of your Mac app.

do shell script “open -n APP-PATH”

The command will look like the following for the Calculator app.

do shell script “open -n /Applications/”

Click on the Script menu and select Compile to compile the code.

How to create a gaming app

Press Command + S to save the script. Enter a name for the script, select Application from the File Format menu, and hit Save.

How to create a gaming app

Now whenever you want to run multiple instances of an app, simply double-click on the script you’ve just saved and it’ll do the task for you. You can create the script for any of your apps as all it requires as an input is the path of the app on your machine.

Run Multiple Instances Of An App Using Parallel Space (Android)

Compared to Mac, the ability to run multiple instances of an app on an Android device is more useful. The reason is because you can run your favorite instant messaging apps like WhatsApp and Viber with different phone numbers at the same time on your device.

There’s no Terminal on Android so you’ll need to grab an app from the Google Play Store. The app is called Parallel Space.

Install and launch the app, then go through the welcome screens. When the main screen appears, choose the app you’d like to clone and tap on Add to Parallel Space at the bottom.

How to create a gaming app

Tap on the app icon on the following screen and grant the required permissions.

How to create a gaming app

The app will launch as if it’s the first time you’ve used it on your device.

How to create a gaming app

Open Two Instances Of An App Using 2Accounts On Android

If the Parallel Space app didn’t work for you for some reason, you have another great app to help you create multiple instances of your apps.

Enter 2Accounts, that lets you do the exact same thing as the Parallel Space app.

Grab the app from the official Google Play Store and install it on your device.

Open the app, choose the app you’d like to run multiple instances of, and tap on Enable at the bottom.

How to create a gaming app

Tap on your app on the following screen and an instance of it will launch on your device.

How to create a gaming app

You may now add your additional accounts to the newly created instance of the app and start using them right away.

If you no longer need an instance of an app, simply tap and hold on the app in either of the above apps and select Delete. It will delete the instance along with the associated files from your device.

Mahesh has been obsessed with technology since he got his first gadget a decade or so ago. Over the last few years, he’s written a number of tech articles on various online publications including but not limited to MakeTechEasier and Android AppStorm. Read Mahesh’s Full Bio

If you plan to play PC games on your big 4K TV, turning your game controller into a computer mouse can help make the process easier. Here’s how to set it up using Steam, Gopher360, InputMapper, and Controller Companion.

How to create a gaming app

The PlayStation 5 and Xbox Series X may be the new hotness for living room gaming, but if you want the benefits of PC gaming with the comfort of the couch, hooking your rig up to a 4K TV still provides one of the best gaming experiences you can get today. There’s only one problem: reaching for the mouse and keyboard to open a game is a bit of a hassle.

Steam’s built-in Big Picture Mode aims to solve this by creating a couch-friendly interface you can navigate with a gamepad, but that isn’t a one-stop shop anymore. Other launchers (like Epic and Origin) have become more ubiquitous and desktop settings (like HDR) require tweaking.

Thankfully, there are a countless third-party tools that allow you to navigate Windows with nothing but your game controller. Here are the best we’ve found for most people’s needs.

Steam: The Option You Probably Already Have

If you have Steam installed on your gaming PC, you already have desktop controller support built-in. In fact, it may already be active. Steam enables some shortcuts called “Chords”—combinations of buttons on your controller that map to certain functions on your PC.

If you have an Xbox controller connected, for example, you can press and hold the Xbox button while moving the right stick to move the mouse. Hold the Xbox button and press the right trigger to click, or left trigger to invoke a right-click. If you keep Steam running in the background, this will do in a pinch with no futzing necessary.

If you plan on using your controller as a mouse for more than a few random clicks, though, you may want to enable full controller support on the desktop. Open the main Steam window and head to Settings > Controller > General Controller Settings. Check the box for your controller—PlayStation, Xbox, Switch Pro, or Generic—and you should now be able to move your mouse with the right stick on your controller. From the Settings > Controller page, you can click the Desktop Configuration button to customize which buttons emulate which keyboard keys.

This method has some downsides, though. If you launch a game from Steam, the client will automatically disable the gamepad-as-mouse feature while you’re in the game. That way, the game will treat your controller like a controller, with all its own default keybindings. But if you launch a game from outside Steam, your controller will still be recognized as a mouse, and your controls won’t work properly.

As a result, your best bet is to add those non-Steam games to your library—as long as Steam detects it and the overlay works properly, it’ll disable the mouse feature. If that doesn’t work—some games don’t always play nicely with this feature—you may want to try one of the below options instead.

Gopher360 or InputMapper: Simple, Free, and System-Wide

If you want something a bit simpler and are okay installing a small extra program, check out Gopher360 (Opens in a new window) for Xbox and other controllers. It’s a bit old and technically abandoned, but it still works well, even with the latest Xbox Series X controller. Just grab the latest version from the Releases (Opens in a new window) page, copy it somewhere safe on your system, and double-click it to start the program.

You can minimize the command window that appears, and you should have full use of your Xbox controller as described on the home page (Opens in a new window) (left stick moves the mouse, the A button sends a mouse click, and so on). You can then press the Start and Back buttons at the same time to disable the mouse feature whenever you launch a game.

You can also adjust the sensitivity and customize the button layout through Gopher360’s config file, stored in the same location as the program itself. Pro tip: add a shortcut to Gopher360 in your startup folder so it launches with your computer. If you experience a problem where the cursor doesn’t appear after waking the computer from sleep, you can fix that with a small registry tweak (Opens in a new window) .

Sony’s DualShock controllers are a bit unique, since they don’t interact with Windows in quite the same way as Xbox controllers. So if you want to use your PlayStation 4 controller as a mouse, you’ll want a separate program called InputMapper (Opens in a new window) . Download the latest release, install it, and launch the program. When you plug in a DualShock controller (or connect it over Bluetooth), you’ll get a prompt to configure the gamepad.

By: The Art Institutes Filed under: Gaming & Technology

In today’s world, you don’t have to work for a game design studio to build your own game. Anyone with the passion, knowledge, and skills for game design can build and release their very own game. To do so, you’ll need to start by selecting which game design software you’ll use to bring your ideas to life. In this post, you’ll learn about three popular game design software tools, each of which has free or low-cost options and tons of tutorials and guides available across the web.

1. GameMaker Studio 2
Among the best game design software options for beginners to experiment with, GameMaker: Studio 2 (GMS 2) features an easy-to-use drag-and-drop interface for variables and game logic, so that you can build entire games without knowing any code. However, having some background with the C programming language will come in handy for using the software’s scripting language, GML, to further customize your game.

The GMS 2 free version limits you to publishing games to Windows with a watermark, but versions with full export to Windows, Mac, HTML5, iOS, Android, and more start around $100 and up.

2. Unity
Unity is one of the industry’s most powerful and widely used game design software tools, allowing you to create 2D and 3D games for nearly any system—including Windows, Mac, iOS, Android, Facebook, Oculus Rift, Steam VR, PS4, XB1, Wii U, and Switch. Using Unity requires knowing some C programming, although Unity does offer tutorials for beginners if you’re willing to dive in on your own. While Unity supports game design assets created in 3ds Max, Maya, Blender, and similar software, Unity’s asset store also offers an impressive selection of high-quality graphics, model, environment textures, and other free and for-sale items.

While Plus and Pro plans are available, Unity’s free version has everything you need to build awesome games and is royalty-free for anyone with game revenues under $100,000 per year.

3. Unreal Engine 4
Because it’s jam-packed with cutting-edge, advanced features, Unreal Engine 4 (UE4) likely has the highest learning curve of these three game design software tools, but it’s perhaps also the most professional. UE4’s most unique aspect is its Blueprint system that allows users to rapidly develop complex game logic and entire games without ever interacting with a single piece of code. Don’t worry though; those who prefer to code have that option too.

Like other game design software mentioned, Unreal makes it easy to export to popular platforms across mobile devices, computers, gaming consoles, and VR systems. Their payment model is also based on the success of the games you create, so that you can use the software for free, but any time you earn $3,000 in a quarter (3 months), you pay a 5% royalty on your total revenue.

Serious about Game Design? It’s Time to Level Up
If you have a passion for designing games, explore the planning, scope, problem-solving abilities, and economics of taking a game from concept to market-ready in one of the Game Art & Design programs at The Art Institutes. Our instructors can help you learn how to develop games with innovative, engaging user experiences, teaching you skills in game and level design, 2D concept art, 3D modeling, texturing, and real-time lighting. Learn more today.

Learn more about our programs.

By: The Art Institutes Filed under: Gaming & Technology

With Google AppSheet, you can build powerful solutions that simplify work. No coding required.

A smarter way to work, built by you.

Build powerful mobile and desktop apps, customized to your business needs.

Create bots to automate manual tasks so you and your team can focus on the work that matters most.

Connect data and software to a unified platform that’s fully integrated with Google Workspace.

“AppSheet has evened the playing field for small vs large businesses. We can develop and deploy custom, in-house built apps quickly to meet our exact needs, without hiring an outside firm.”

Ryan Holcomb, CEO at Pantechs Laboratories

“In only two days, we created an AppSheet app to manage shopping mall incidents in real time, and made it available to 200 people on their phones.”

Matthieu Mauras, Chief Technology and Data Officer at Carrefour Property

“With AppSheet, employees can automate their own processes—from reporting service vehicle usage to gathering data on site–without the need for a developer or worrying about the cost.”

Carlo Malana, Chief Information Officer at Globe Telecom

“With a mobile workforce spread over a large part of the country, AppSheet has helped us reduce the number of trips to the office, empowering our workforce to work better remotely.”

Gabriel Matei, System Administrator at Metropolitan Thames Valley Housing

“We cannot afford to spend too much time on corporate applications such as claims, training and onboarding… AppSheet enables us to prioritize our development work so we maximize our contribution to the business.”

Hua Cheng Hong, Head of Corporate Systems at Singapore Press Holdings

Angular is a JavaScript framework, created my Misko Hevery and maintained by Google. It’s an MVC (Model View Vontroller). You can visit the official page to learn more about it.

Right now, the latest version of Angular is 5.2.10. There is first generation 1.x and second generation 2.x, and the two generations are totally different in their structures and methods. Don’t worry if you feel confused about the version, because in this article we will be using the second generation 2.x

Table of contents

  • Adding an item (learn how to submit a form in Angular )
  • Removing an item (learn how to add an event in Angular)
  • Angular animation (learn how animate the components )


  • Node.js

Check if node.js is installed in your computer. Learn more about installation.

  • npm

npm (node package manager) is installed with Node.js

Check the node.js version:



You should have the latest version of Angular-CLI. Learn more about Angular CLI here, and find the instructions for installation.

And finally, you should have:

  • Basic knowledge of JavaScript
  • HTML and CSS fundamentals

You don’t need to have any knowledge of Angular.

Now that we have the environment to run our Angular app, let’s get started!

Creating our first app

We will use angular-cli to create and generate our components. It will generate services, router, components, and directives.

To create a new Angular project with Angular-cli, just run:

The project will be generated automatically. Let’s create our to-do app!

Then, open the files in your text editor. I use Sublime text, but you can choose any editor.

Here’s what the app structure looks like:

Don’t worry if you are confused about the files. All of our work will be in the app folder. It contains five files:

Note: Angular 2 uses TypeScript, in which files end with “.ts”extension.

To make a nice interface for our app, we will use the Bootstrap 4 Framework.

Include bootstrap cdn in index.html:

Run the app in your terminal:

Now let’s do some HTML structuring. We will use Bootstrap classes to create a simple form.


In app.component.css:

To capture the input value in Angular 2, we can use the ngModel directive. You can insert a variable as an attribute inside the input element.

To create a variable as an attribute, use # followed by the variable’s name.

Now get the “todo” variable value:

Now we have to store the value captured from the input. We can create an empty array in app.component.ts inside the AppComponent class:

Then we have to add a click event to our button that pushes the value captured into “todoArray”.


In app.component.ts:

Use console.log(this.todoArray) to see Array value

Fetch data from “todoArray”

Now we have to fetch data stored in “todosArray.” We will use the *ngFor directive to loop through the array and extract the data.

After fetching data:

The data will now be fetched automatically when we click the add button.

Styling the app

I like to use Google-fonts and Material-icons, which are free to use.

Include Google fonts inside app.component.css:

And Material-icons inside index.html:

After adding some styling to our app, it will look like this:

To use Material icons:

Add “delete” and “add” icons in app.component.html:

For styles in app.component.css:

Our app is almost done, but we need to add some features. A delete functionality should let users click a delete icon and delete an item. It would also be great to have the option to enter a new item with the return key, instead of clicking the add button.

Deleting items

To add the delete functionality, we will use the “splice” array method and a for loop. We will loop through “todoarray” and extract the item we want to delete.

Add a (click) event to delete icon and give it “todo” as parameter :

In app.component.ts:

When you click delete, this should show up in the console:

Now we have to loop through “todoArray” and splice the item we clicked.

In app.component.ts:

Entering to add items

We can add a submit event to the form:

We need to add the variable “#todoForm” to the form and give it “ngForm” as a value. In this case, we just have one field so we will just get a single value. If we have multiple fields, the submit event will return the values of all the fields in the form.


in app.component.ts

Check the console. It will return an object of values:

So now we have to push the returned value to “todoArray”:

Here we are ?. The value is inserted without needing to click the add button, just by clicking “enter”:

One more thing. To reset the the form after submitting, add the “resetForm()” build-in method to submit the event.

The form will reset after each submit now:

Adding animations

I like to add a little touch of animations. To add animation, import the animations components in your app.component.ts:

Then add the animations property to “@component” decorator:

Now the items have a nice effect when they’re entered and deleted.

All the code




We are done ?. You can find the files and code on Github.

See the Demo


Angular is easier than you think. Angular is one of the best JavaScript libraries, and it has great support and a nice community. It also has tools that make working with Angular fast and easy, like Angular-cli.

Subscribe to this mail-list to learn more about Angular.

Here are some of the best online courses to learn Angular for free:

Angular 1.x

Angular 2.x (recommended)

Applies to: Nintendo Switch Family, Nintendo Switch, Nintendo Switch Lite, Nintendo Switch – OLED Model, Nintendo Account

In this article, you’ll learn how to create a Nintendo Account.

Important: The ability to use a Nintendo Network ID to sign in to an existing Nintendo Account or to create a new Nintendo Account has been discontinued. We apologize for any inconvenience. If you are having difficulties signing in to your Nintendo Account and previously used a Nintendo Network ID, information is available on accessing your Nintendo Account.

A Nintendo Account is required to use certain services from Nintendo, such as off-device game purchases and the My Nintendo loyalty program. A Nintendo Account can be linked to your Nintendo Network ID, Facebook, Twitter, Google, or Apple accounts. (Only users age 13 and older can link to social media accounts.)

There are some additional age-related requirements for Nintendo Accounts:

  • Users aged 13 or older can create a Nintendo Account.
  • Nintendo Account users age 18 and older can create and add up to five Nintendo Accounts for children (age 17 and under) to their Nintendo Account.
  • Users age 12 and under cannot create a Nintendo Account. They can only be created within an existing parent/guardian’s Nintendo Account.

The game you want to play is only available to Canadians? Here’s how to trick your iPhone into thinking you’re Canadian.

Sarah Jacobsson Purewal

Sarah is a freelance writer and CNET How To blogger. Her main focus is Windows, but she also covers everything from mobile tech to video games to DIY hardware projects. She likes to press buttons and see what happens, so don’t let her near any control panels.

Not all apps are created equal. In fact, not all apps are available to you in the US. There are other-country-specific apps, as well as apps that are “soft launching” in smaller markets — but what if you want to download those apps?

You can change your country in the App Store, but going back and forth gets to be kind of a hassle, since you’ll have to input new payment information each time. Or you can create a second Apple ID for a different country, and just sign in and out of the store. Here’s how:

Step 1: Sign out of iCloud

To create a new iTunes account, you’ll first need to sign out of your current iTunes/iCloud account. Do this by opening Settings and tapping iCloud. Scroll to the bottom of the screen, where you’ll see a button that says Sign Out. Tap Sign Out to sign out of your iTunes/iCloud account — your iPhone will warn you that if you sign out of your account, all photo stream photos, documents, and data stored in iCloud will be removed from your iPhone.

Keep everything on your phone if you want to switch between accounts. Sarah Jacobsson Purewal/CNET

Your iPhone will also prompt you to choose whether to keep iCloud data and contacts on your iPhone, and then asks you to enter in your iCloud password to turn off Find My iPhone.

Step 2: Create a new account

Once you’re all signed out of your iTunes/iCloud account, you can create a new account. Go to Settings > iCloud and tap Create a new Apple ID.

Either use an alternate email address, or have Apple create a new iCloud address for you. Sarah Jacobsson Purewal/CNET

You’ll be asked to enter in a birthdate, name, and email address (you’ll need to enter in a different email address from your other iTunes/iCloud account). You will also be asked to choose a password, pick and answer three security questions, and input an optional rescue email address. Once you’ve filled everything out, tap continue (this may take a moment).

Step 3: Verify your account

Check your email to find Apple’s verification message. Click on the link in the email message to verify your email your address. Apple will ask you to sign into your new iCloud account to verify your address.

Step 4: Choose the country on your new iTunes/iCloud account

Before you can start grabbing apps from another country, you’ll need to pick the country on your new account. To do this, open the App Store and tap Featured. Scroll down to the bottom of the page, where you’ll see a button that says Sign In. Tap this button and sign in using your new iTunes/iCloud credentials.

Pick the country you want to download apps from. Sarah Jacobsson Purewal/CNET

You should see a pop-up informing you that you haven’t used this Apple ID on the iTunes store. Tap Review and wait a few seconds, and a list of countries will appear on the screen. Choose the country you want your new ID to be associated with, and then tap Next. Apple will ask you to agree to some terms and conditions, tap Agree.

You have to enter a billing address, but not a credit card. Sarah Jacobsson Purewal/CNET

Next, Apple will ask for your billing info. In order to move forward, you will need to input a billing address and phone number that matches the country you chose, but you do not need to add a credit card at this time. So you can use any address — a government building, a bank, a hotel. You won’t be able to download paid apps without a credit card, but this way you’ll at least get to download free apps from that country.

By Linda | Follow | Last Updated November 24, 2020

Summary :

How to create a gaming app

Do you want to install Google Play Store and apps from this store on PC? Google Play Store offers various contents to you, including games, books, magazines, music, videos, and TV programs. In this post, MiniTool Partition Wizard shows you how to make Google Play Store app install for PC.

Quick Navigation :

  • About Google Play Store
  • Google Play Store App Install for PC
  • User Comments

About Google Play Store

Google Play, also known as the Play Store, was launched on March 6, 2012, which integrates 3 products: Android Market that was released in 2008, Google eBookstore released in 2010, and Google Music released in 2011.

Google Play Store is a digital application publishing platform and digital media store developed by Google for Android. This platform offers contents including games, books, magazines, music, videos, and TV programs.

Google Play Store is the official application store of the Android operating system. It allows users to browse applications and then free download or purchase applications developed using the Android SDK and released through Google.

Google Play Store App Install for PC

Google Play Store and its apps are usually installed on Android or some Chromebooks. Except these devices, Google Play can its apps can’t be installed on most computers. So far, there is no Google Play for PC.

If you search Google Play Store online, you will get a website full of various apps. But if you click an app and try installing in on your PC, you will a pop up “Error: You haven’t accessed the Google Play Store app on your device with this email account.” Apparently, this error prevents you installing Google Play Store apps on PC.

How to create a gaming app

Google Play has various useful apps and many people want to install them on PC, especially those games. To make Google Play Store app install for PC, there are two ways for you:

Way 1. Use Android Emulator

An Android Emulator can simulate Android devices on your computer or laptop. It is as capable as smartphones and allows you to test and run applications on API levels. So, if you use an Android Emulator to simulate Android environment, you can install Google Play Store on this emulator and then you can install apps from this store.

There are multiple such Android Emulators available in the market. Some popular ones include NOX, Bluestacks, and Andyroid. You can download any of these Emulators to download and Google Play on PC.

Here is the guide on how to use Bluestacks:

  • Visit any web browser and download the Bluestacks.exe file.
  • Run and install the .exe file and follow the on- screen steps.
  • Once the installation is complete run the Emulator.
  • You will now need to log in using a Gmail ID.
  • Download the Play Store and you are done.
  • You can now search for apps and also install them on the laptop to get an idea of their performance.

How to create a gaming app

This post recommends 2 Android emulators and 2 iOS emulators to you, so that you can play mobile games on PC.

Way 2. Use Chrome Extensions

If you use Google Chrome browser on PC, some Chrome extensions like APK downloader can help you to download Android Application Packages from Google Play Store websites. Of course, some websites can also allow you to download Google Play app on PC. You just need to copy the app’s web link to this website and then you can download the app.

It seems that this method is more convenient than the first method. However, a big defect of this method is that, one day, you may find the extension or the website doesn’t work anymore.


How to create a gaming app

Position: Columnist

Author Linda has been working as an editor at MiniTool for 1 year. As a fresh man in IT field, she is curious about computer knowledge and learns it crazily. Maybe due to this point, her articles are simple and easy to understand. Even people who do not understand computer can gain something.

By the way, her special focuses are data recovery, partition management, disk clone, and OS migration.

If you have the right reasons, follow these 10 recommendations to getting your product to the public.

Why do you want to build a mobile app? Do you want to ride the wave of other entrepreneurs, or did you come across a problem that you feel you can resolve? The answer to this question will determine whether your app will be successful or not.

How to create a gaming appOstapenkoOlena | Getty Images

Here is a guide to get you started, but note it may not work for everyone. This is drawn from my experience working for more than three years with entrepreneurs, helping them build and market their mobile apps. Take from it what suits your strategy best, or follow it to the hilt. The important part is to get started.

Step 1: Get an idea or a problem. If you already have an app idea, move onto step two. If not, read on. Want to build an app but don’t have an app idea? What you really need are problems, and they’re everywhere!

Successful entrepreneurs solve problems in a way that we could not have imagined. When you look around you, every product and service you use were all created to solve a problem. You wanted to get from one place to another faster, you got a car. You wanted to get from one country to another faster, you got planes.

So look for problems in your daily life and list each one of them. Once you have an exhaustive list, then start to think on how you can resolve them and shortlist the ones that make most sense.

Step 2: Identify the need. Validation will prove that a demand exists for your app. You can validate your idea by using the Google Keyword Planner tool to look for the number of people seeking out what you’re trying to do. You could also build a landing page that broadly highlights your app idea and seek user interest through an email signup.

Step 3: Lay out the flow and features. Validation of your app idea means that you’ve got something that people want to use. Now is the time to detail your product onto a document, or if you want to go the extra mile, use a wireframing tool.

When putting your idea down on paper, remember to be as detailed as possible. Include the flow of how the user will navigate the app as well as all the features envisioned. This will help your developer to clearly understand your expectations.

Step 4: Remove non-core features. From the flow and features document you prepared, start looking closely at features that you can remove. Offer only the core value of your app idea. Do not build features in the first version that are “nice to have” and can always be added later as an update. This will help keep the initial costs of development down and also help you get to market quicker.

Step 5: Put design first. I have heard many entrepreneurs saying they want a very basic design and want to focus on just developing an app. They are so wrong! Design is not just about how your app looks, but it’s about how a user will experience the app. Vinod Khosla of Khosla Ventures best explains it: “Design is a way of making technology useful.” So look for a developer who puts design (user experience and graphics) first.

Step 6: Hire a designer/developer. Seek a development company that has great design talent and a solid development team. While hiring a developer, go online to check on their credibility and the apps that they have created. If you really liked an app they created from their portfolio, chances are, they could be the right one for your product.

Step 7: Create developer accounts. You must register for a developer account with the respective app stores to be able to sell your app through their platform. You have the option of registering as an individual or as a company, if you already have one formed.

Step 8: Integrate analytics. Analytics help you track downloads, user engagement and retention for your mobile app. Make sure you use tools such as Flurry, which is available for free, and Localytics, that has a free and paid version.

Step 9: Get feedback quickly and improvise. Once your app goes live on the app store, the first set of customers’ usage and behavior will give you insight into how to improve and enhance your app. Enhancements and changes are constant, so keep an eye on user feedback and keep building.

Step 10: Introduce features. You built version one with limited features and only the core offering. Now is the time to evaluate and introduce the remaining features that were left out in the initial version. You will know through analytics and feedback whether the features are relevant anymore.

These steps are not sacrosanct, but rather a guideline to building your app in the most effective manner based on my experience. Once you’re ready to start, you must also know that building a mobile app is the easiest part. Getting customers is where the challenge lies.

Entrepreneur Editors’ Picks

Zooey Deschanel Embraces the Word ‘Quirky’ and Thinks Businesses Should Too

A Simple (But Not Easy) Guide to Achieving Almost Any Dream

Making Time to Be ‘Useless’ Is a Vital Part of Creating Anything Valuable

A Billionaire Who Operates More Than 2,400 Franchises Knows These Types of Franchisees Make the Most Money

How Relentless Optimism Fuels Success for Hilary Schneider, CEO of Shutterfly

Social Media Was Draining Me, So I Gave It Up. My Business Has Never Been Stronger.

Plus the risks of using too much

RAM, or random access memory, is used to allow programs to boot more quickly and carry out tasks in a fraction of the time it would take if the program had to load from your hard drive. RAM is vital to performance in any program that needs to access a tremendous amount of data.

For example, a word processing program won’t rely heavily on RAM due to the low performance requirements. A detailed Excel spreadsheet or Photoshop, however, needs as much RAM as you can spare it. So do games. In many cases, you need to allocate extra RAM to gaming, especially if you’re using a lot of mods.

How to create a gaming app

This is true in titles like Minecraft, as do games like Shadow of Mordor which needs a whopping 8.3 GB of VRAM. The good news is that you can allocate more RAM to specific apps to help improve their performance.

What is RAM?

RAM is an acronym for random access memory, and it is one of the most important parts of your computer. RAM is necessary for programs to run. Without it, you will be unable to run most applications, and those that you can run will perform at a seriously reduced level.

Think of RAM as short-term memory for your computer. It allows your system to access data far more quickly than it can through even the SSD. If you have multiple applications running at the same time, you will need more RAM than if you are only using a few at a time.

In modern computers, RAM is typically found in multiples of 4. Motherboards often use something called dual-channel memory, which means you want RAM of the same type–either sticks of 4, sticks of 8, or sticks of 16. There is no upper limit to the amount of RAM you can have except what your motherboard can support, although there is a limit to how much you can reasonably ever use.

Allow Windows 10 to Allocate More RAM

The easiest way to improve performance across the board is to allow Windows to use as much RAM as necessary to ensure performance. Find the This PC application and right-click the icon, then select Properties. Select Advanced system settings > Settings. Under the Visual Effects tab, there are four options. Select the Adjust for best performance option.

How to create a gaming app

After you do this, click Apply. The changes will take effect after you restart your PC. This setting allows Windows to allocate RAM as needed to ensure programs run as smoothly as possible.

Prioritize RAM Usage

Another way you can ensure specific programs have more than enough RAM, particularly if you are running multiple applications at once, is to prioritize RAM usage within the Task Manager. Open Task Manager and right-click the application you want to prioritize, then select Go to details.

How to create a gaming app

This opens the Details tab of the Task Manager. Right-click the process and choose Set priority. From here, you can designate what priority the program receives: Realtime, High, Above Normal, Normal, Below Normal, or Low.

Designate RAM Usage Within Specific Programs

Another option–and arguably the best choice–is to allocate more RAM within the settings of a given program. This holds especially true in games like Minecraft that are often played with mods. Many modpacks will not run correctly without more than the default amount of RAM.

Bear in mind that the exact process for doing this varies from program to program. Even among Minecraft, the process for allocating RAM depends on the launcher you use. As a brief example, you can select the Installations tab in the default launcher and click New > More Options and change the text under JVM Argument from Xmx2G to XmX2n, where n is the amount of RAM you want to use.

How to create a gaming app

If you are looking for a more in-depth explanation, here is another article than can help.

Each game and program will have a different method for allocating more RAM, if it is even possible. Many applications are coded to use a specific amount of RAM based on your operating system, regardless of how much you have available. For example, Microsoft Excel on 32-bit operating systems is restricted to 2GB of RAM.

Risks of Using Too Much RAM

For the most part, RAM is harmless. You aren’t likely to cause catastrophic damage to your system because you use too much RAM on an application–the worst that happens is that a program will crash or background programs might behave in odd ways.

However, there are times when it can cause more serious damage. Anyone that has ever worked in coding has experienced a stack overflow error–a problem that happens when the call stack memory is exceeded. This error results in a crash. A similar type of problem often happens when a program throws the “Not Responding” error message within Windows.

This happens when it exceeds its allotted amount of RAM and can no longer operate properly. Waiting for the memory to clear can sometimes resolve the problem, but the go-to method is to force quit a program by using the Task Manager.

Patrick is an Atlanta-based technology writer with a background in programming and smart home technology. When he isn’t writing, nose to the grindstone, he can be found keeping up with the latest developments in the tech world and upping his coffee game. Read Patrick’s Full Bio

By Ariel | Follow | Last Updated July 20, 2020

Summary :

How to create a gaming app

A great many users want to know how to make a game full screen on Windows 10. If you are searching for how to fullscreen a game, this post of MiniTool is what you need. Besides, you will get several common solutions to fix the issues with fullscreen games on Windows 10.

Quick Navigation :

  • How to Make a Game Full Screen
  • Common Fixes to Windows 10 Not Playing Fullscreen Games
  • User Comments

Fullscreen mode provides users with a better view of game playing and minimizes distractions. Most games are able to play in fullscreen mode, but you need to activate the Windows 10 fullscreen games. How to fullscreen a game on Windows 10? Please keep reading the following content.

How to create a gaming app

How to launch Steam games in windowed mode? A great many users want to set up Steam launch options windowed. This post provides detailed steps for you.

How to Make a Game Full Screen

There are 2 simple ways about how to make a game full screen Windows 10. You can use a simple keyboard shortcut for some games, while some certain games may need to force full screen Windows 10 via the In-Game menu.

Method 1. Use a Simple Keyboard Shortcut

The first and simplest method on how to fullscreen a game is to using the Alt + Enter keyboard shortcuts while playing games. This method is suitable for most games, while enables the games to switch between windowed mode and fullscreen mode.

This simple shortcut can also work for DOSBox that’s used for many older games. However, some games use this keyboard shortcut for other features. So, you need to force full screen Windows 10 through the In-Game menu.

Method 2. Use the In-Game Menu

Another simple method on how to make a game full screen Windows 10 is to use the In-Game menu. This menu can be found in the graphics or video settings. Here’s how to fullscreen a game.

Step 1. Launch the game that you want to play in fullscreen mode.

Step 2. Navigate to the display > video settings tab one by one.

Step 3. Then check if there is a Display Mode option in Video settings window.

Step 4. Click on the drop-down menu and select the Fullscreen mode.

Step 5. Save the changes and restart the game.

The 2 simple ways to set up Windows 10 fullscreen games have been elaborated. However, some users complain that they still can’t play games in fullscreen mode. So, we summarize several common methods to fix the problem.

If you also encounter this issue, you can try the following methods

Common Fixes to Windows 10 Not Playing Fullscreen Games

There are 3 major ways to fix the unplayable Windows 10 fullscreen games issue.

How to create a gaming app

How to move game to other monitor? A great many users want to play games on second monitor. Now, this post will provide you with detailed steps to do that.

Fix 1. Change the Display Scaling to 100%

Some users reported that many games won’t run properly if the display scaling is not set to 100%. So, you can try changing the display scaling to 100% to fix the issue. Here’s how:

Step 1. Press the Win + I keys to open the Settings window.

Step 2. Navigate to the System > Display.

Step 3. Scroll down the right sidebar, and then find the Change the size of text, apps, and other items option under the Scale and layout section and change it to 100% (Recommended).

How to create a gaming app

Fix 2. Change Your Main Screen

If you are using a dual monitor on Windows 10, you may experience problems with fullscreen games, you can fix it by changing the main screen. For that:

Step 1. Right-click the empty space on your Windows 10’s desktop and select Display settings option.

How to create a gaming app

Step 2. Click on Identify, and then you will see a number on the screen. Usually, it’s 1 or 2.

Step 3. Set the monitor that has the same number as the one in Step 2 to the main screen.

Step 4. Save the changes and check if the fullscreen issue is fixed.

Fix 3. Run the Game in Compatibility Mode

Sometimes, the fullscreen games mode cannot be fully compatible with Windows 10. So, you can try running the games in compatibility mode if you encounter the issue. To do so, follow the steps below:

Step 1. Right-click the shortcut of the fullscreen game and select Properties.

Step 2. Go to the Compatibility tab and select the checkbox for Run this program in compatibility mode for and select an older windows version from the drop-down menu.

Step 3. Click on Apply and OK to save the change.

How to create a gaming app


How to create a gaming app

Position: Columnist

Ariel is an enthusiastic IT columnist focusing on partition management, data recovery, and Windows issues. She has helped users fix various problems like PS4 corrupted disk, unexpected store exception error, the green screen of death error, etc. If you are searching for methods to optimize your storage device and restore lost data from different storage devices, then Ariel can provide reliable solutions for these issues.

Before you can draw lines and shapes, render text, or display and manipulate images with GDI+, you need to create a Graphics object. The Graphics object represents a GDI+ drawing surface, and is the object that is used to create graphical images.

There are two steps in working with graphics:

Creating a Graphics object.

Using the Graphics object to draw lines and shapes, render text, or display and manipulate images.

Creating a Graphics Object

A graphics object can be created in a variety of ways.

To create a graphics object

Receive a reference to a graphics object as part of the PaintEventArgs in the Paint event of a form or control. This is usually how you obtain a reference to a graphics object when creating painting code for a control. Similarly, you can also obtain a graphics object as a property of the PrintPageEventArgs when handling the PrintPage event for a PrintDocument.

Call the CreateGraphics method of a control or form to obtain a reference to a Graphics object that represents the drawing surface of that control or form. Use this method if you want to draw on a form or control that already exists.

Create a Graphics object from any object that inherits from Image. This approach is useful when you want to alter an already existing image.

The following sections give details about each of these processes.

PaintEventArgs in the Paint Event Handler

When programming the PaintEventHandler for controls or the PrintPage for a PrintDocument, a graphics object is provided as one of the properties of PaintEventArgs or PrintPageEventArgs.

To obtain a reference to a Graphics object from the PaintEventArgs in the Paint event

Declare the Graphics object.

Assign the variable to refer to the Graphics object passed as part of the PaintEventArgs.

Insert code to paint the form or control.

The following example shows how to reference a Graphics object from the PaintEventArgs in the Paint event:

CreateGraphics Method

You can also use the CreateGraphics method of a control or form to obtain a reference to a Graphics object that represents the drawing surface of that control or form.

To create a Graphics object with the CreateGraphics method

Call the CreateGraphics method of the form or control upon which you want to render graphics.

Create from an Image Object

Additionally, you can create a graphics object from any object that derives from the Image class.

To create a Graphics object from an Image

Call the Graphics.FromImage method, supplying the name of the Image variable from which you want to create a Graphics object.

The following example shows how to use a Bitmap object:

You can only create Graphics objects from nonindexed .bmp files, such as 16-bit, 24-bit, and 32-bit .bmp files. Each pixel of nonindexed .bmp files holds a color, in contrast to pixels of indexed .bmp files, which hold an index to a color table.

Drawing and Manipulating Shapes and Images

After it is created, a Graphics object may be used to draw lines and shapes, render text, or display and manipulate images. The principal objects that are used with the Graphics object are:

The Pen class—Used for drawing lines, outlining shapes, or rendering other geometric representations.

The Brush class—Used for filling areas of graphics, such as filled shapes, images, or text.

The Font class—Provides a description of what shapes to use when rendering text.

The Color structure—Represents the different colors to display.

To use the Graphics object you have created

Work with the appropriate object listed above to draw what you need.

For more information, see the following topics: