0% found this document useful (0 votes)
28 views13 pages

NM Record

For college

Uploaded by

R Rexlin Jeffy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views13 pages

NM Record

For college

Uploaded by

R Rexlin Jeffy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

ARUNACHALA COLLEGE OF ENGINEERING FOR WOMEN

MANAVILAI, VELLICHANTHAI – 629 203 KANYAKUMARI DISTRICT

DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND DATA SCIENCE

LABORATORY RECORD

NM1034 – NAAN MUDHALVAN GAME DEVELOPMENT

(REGULATION 2021)

NAME :

REG NO :

SEM :

YEAR :
ARUNACHALA COLLEGE OF ENGINEERING FOR WOMEN

MANAVILAI, VELLICHANTHAI – 629 203 KANYAKUMARI DISTRICT

This to certify that this is the bonafide record of work done by

Ms……………………………………. Register Number ……………………………. of

Seventh semester, Department of Artificial Intelligence and Data Science of this college in

the Naan Mudhalvan-Game Development (NM1034) during 2024-2025 in partial

fulfilment of the requirement of the B. Tech degree course of the Anna University,

Chennai.

Staff-in-charge Head of the department

This record is submitted for the University Practical Examination held on………………

INTERNAL EXAMINER EXTERNAL EXAMINER


INDEX

S. No Title

1 Install and develop a game in construct 2

2 Design and develop a realistic 3D model

3 Install and develop a game in Unity Hub


1. INSTALL AND DEVELOP A GAME IN CONSTRUCT 2
Aim:
To install and develop a game in construct 2
Procedure:
Construct 2 Installation Steps
1. Download Construct 2:
o Visit the official website: https://www.construct.net/en/construct-2/download
o Navigate to the Downloads section and download the Construct 2 installer. Choose
the free version or the paid version based on your preference.
2. Install Construct 2:
o Once the installer is downloaded, locate the file and double-click it to begin
installation.
o Follow the on-screen prompts to install Construct 2 on your computer. You can
typically choose the installation folder during the setup process.
o Once the installation is complete, launch Construct 2.
Steps to Develop a Game in Construct 2
1. Create a New Project:
o Open Construct 2.
o Click on File -> New to create a new project.
o Choose the default layout size for your game (e.g., 800x600 for a simple game).
2. Set Up the Game Layout and Events:
o Layout:
 In the Project panel, right-click on Layout and select Properties to adjust the
layout size and background color.
 The layout is the area where you design and position objects (sprites,
platforms, etc.).
o Event Sheet:
 Right-click on Event Sheets and create a new one.
 This is where you define game logic using conditions and actions (e.g., when
a player presses a key, move a sprite).
3. Add Game Objects (Sprites):
o To add an object, right-click on the layout and choose Insert New Object. Select
Sprite to create a new image.
o You can add other objects such as Text for score display, Tiled Background for
level design, etc.
o To add a sprite, click on it and use the Image Editor to load or draw the sprite.
4. Define Object Behavior:
o Select an object in the layout, and in the Properties panel, add behaviors (e.g., Solid
for platforms, 8-direction for player movement).
o The behaviors make objects interact with each other (e.g., jumping on a platform,
moving around, etc.).
5. Create Events for Game Logic:
o Open the Event Sheet and click Add Event to define the game logic.
o For example, if the player presses the left arrow, you could use the System condition
and the Player action to move the sprite to the left.
o Events are the foundation of interaction in Construct 2.
6. Add Sounds and Music (Optional):
o You can import sound effects by right-clicking in the Project panel, selecting Insert
New Object, and choosing Audio.
o Link sound effects to events (e.g., sound plays when a player jumps).
7. Test Your Game:
o Click the Play button (or press F5) to run the game inside the editor.
o This allows you to test the mechanics and fix any bugs or issues.
8. Refine and Optimize:
o After testing, refine your game by adjusting difficulty, adding levels, improving
graphics, or optimizing performance.
o You can also add features like high scores or achievements to enhance gameplay.
9. Export Your Game:
o Once you're happy with the game, click on File -> Export.
o Choose the platform you want to export to (HTML5, Windows, etc.) and follow the
steps to generate a playable version of your game.
Output:

Result:
Construct 2 has been successfully installed, and a game has been successfully created.
2. DESIGN AND DEVELOP A REALISTIC 3D MODEL
Aim:
To design and develop a realistic 3D model of a table using Blender, incorporating basic modelling
techniques, material application, and rendering.
Procedure:
Step 1: Installing Blender
1. Download Blender:
o Visit the official Blender website.
o Click on the Download button to get the latest version suitable for your operating
system (Windows, macOS, or Linux).
2. Install Blender:
o Windows:
 Run the downloaded .msi or .exe file and follow the on-screen instructions.
o macOS:
 Open the .dmg file, drag the Blender application to the Applications folder.
o Linux:
 Extract the downloaded file and run the blender executable.
3. Verify Installation:
o Open Blender to ensure it’s installed correctly. You should see the default workspace
with a cube in the center.
Step 2: Setting Up Your Workspace
1. Delete the Default Cube:
o Select the default cube by left-clicking it.
o Press X on your keyboard and confirm to delete it.
2. Adjust the View:
o Use the middle mouse button to rotate the view.
o Scroll to zoom in or out.
3. Save Your Project:
o Go to File > Save As, and save your project with a meaningful name like
Table_Model.blend.
Step 3: Developing a Table Model
1. Creating the Tabletop:
 Go to Add > Mesh > Plane in the top menu.
 Scale the plane to the desired size for your tabletop:
o Press S and move the mouse to scale.
o Press Enter to confirm.
 Adjust its position:
o Press G, then Z to move it along the Z-axis.
2. Creating the Table Legs:
 Add a cube for the first leg:
o Go to Add > Mesh > Cube.
 Scale it to a rectangular shape for the leg:
o Press S, then Z to make it longer (height).
o Press S, then Shift+Z to adjust the width and depth.
 Position the leg:
o Press G and use X, Y, Z keys to move it into position under the tabletop.
 Duplicate the leg for the other corners:
o Press Shift+D to duplicate the leg.
o Move the duplicated leg into position.
3. Refining the Design:
 Use the Edit Mode:
o Press Tab to switch to Edit Mode.
o Select faces, edges, or vertices to refine the shapes.
 Add details:
o Use Inset (Shortcut: I) to create outlines.
o Use Extrude (Shortcut: E) to add depth or shapes.
4. Adding Materials and Textures:
 Open the Material Properties tab (red sphere icon).
 Click New to add a material.
 Set colors, roughness, or metallic properties for a wooden or metallic look.
 Use the UV Editing workspace to apply textures (optional).
5. Rendering the Model:
 Switch to the Rendered View (Shortcut: Z > Rendered).
 Add lights and adjust camera angles for a better render.
 Go to Render > Render Image to generate a final render of your table model.
Step 4: Saving and Exporting
1. Save your project:
o File > Save As and save your .blend file for future edits.
2. Export your model:
o Go to File > Export, choose a file format (e.g., .fbx, .obj, or .glb), and save it.

Output:

Result:
Blender has been successfully installed, and a 3D model has been successfully created.
3. INSTALL AND DEVELOP A GAME IN UNITY HUB
Aim:
To install Unity Hub and develop a 3D game using its tools and features, focusing on efficient
implementation and immersive gameplay creation.
Installation Steps for Unity
1. Download Unity Hub:
Go to the Unity website and download Unity Hub.
2. Install Unity Hub:
Follow the installation process for your operating system.
3. Create or Log In to Your Unity Account:
Open Unity Hub and log in with your Unity account or create a new one if necessary.
4. Install a Unity Version:
o Go to the "Installs" tab in Unity Hub.
o Click "Add" to select and install the Unity version you need. Include additional
modules (like Android Build Support) if required.
5. Activate a License:
Under the "Settings" tab in Unity Hub, activate a free Personal or Pro license based on your
needs.
6. Create a New Project:
o Go to the "Projects" tab and click "New Project."
o Select a template (e.g., 3D Core for a 3D game) and specify a project name and save
location.
o Click "Create" to launch the Unity Editor.
Steps to Develop a Game in Unity
1. Familiarize Yourself with Unity's Interface:
o Hierarchy Window: Manage and organize game objects.
o Scene Window: Design your game environment.
o Game Window: Test how the game looks and plays.
o Inspector Panel: Modify object properties.
o Assets Folder: Store your scripts, models, and other resources.
2. Plan Your Game:
o Define the type of game (e.g., action, puzzle, strategy).
o Sketch out a basic storyboard or flow.
3. Build the Environment:
o Use Unity's tools to create a terrain, add assets (e.g., trees, buildings), and place
objects like the Main Camera.
4. Add Interactivity:
o Write scripts in C# to handle mechanics like player movement, AI, and game events.
o Attach scripts to game objects using the Inspector Window.
5. Test Gameplay:
o Use the Play button in Unity to test the game in real-time.
o Adjust settings or debug errors as needed.
6. Polish the Game:
o Add lighting, shadows, particle effects, and audio.
o Ensure that the UI is intuitive and functional.
7. Build and Export:
o Go to "File" > "Build Settings" to configure the target platform (e.g., PC, Android).
o Click "Build" to export your game.

Develop a game in Unity Hub


1. Create a Scene: Design a 3D environment that represents trade routes, marketplaces, and
competitive trade elements
2. Implement Mechanics: Scripts can simulate trading logic, resource management, and
player competition

3. Use the Main Camera: Optimize the player's view for a strategic or immersive gameplay
experience
4. Game Window Testing: Continuously test in the Game Window to ensure mechanics and
visuals align with the design goals.

Result:
Unity Hub has been successfully installed, and a game has been successfully created.

You might also like