только у нас скачать шаблон dle скачивать рекомендуем

Фото видео монтаж » Видео уроки » Learn To Make An Alien Farm Game With C++ Sdl2 From Scratch

Learn To Make An Alien Farm Game With C++ Sdl2 From Scratch

Learn To Make An Alien Farm Game With C++ Sdl2 From Scratch

Learn To Make An Alien Farm Game With C++ Sdl2 From Scratch
Published 4/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English

| Size: 1.42 GB[/center]
| Duration: 2h 24m
You can construct paths and waterways, plant alien crops and trees, and colorful animals that move.

What you'll learn

Create a farm game with an alien theme

A tiling system that allows you to place dirt, water which makes surrounding dirt wet, and different colored "grass"

Plants of different types and sizes that have shadows, move up and down, start small and grow, and can only exist on the correct types of tiles

Animals of different types and sizes that have shadows, start small and grow, move around without overlapping plants, other animals, the wrong types of tiles

Improve your C++ game development skills

Requirements

Basic C++ programming skills

Basic understanding of game development

Windows 7 or newer OR if you use a different OS (eg. macOS) you must have a C++ compiler and SDL2 already installed. This is because the instructions to download and setup this software are only provided for windows.

Description

OverviewYou'll be able to place dirt, water which makes surrounding dirt wet, and different colored grass. Add and remove plants of different types and sizes that have shadows, move up and down, start small and grow, and can only exist on the correct types of tiles. Add and remove animals of different types and sizes that have shadows, start small and grow, move around, and avoid overlapping plants, other animals, and certain tiles like water.Tiling SystemStart by adding a simple purple checkered grid to get the basics setup.Then it will be improved by adding a tiling system that allows placement of different colored tiles.Next an algorithm that automatically generates shadows, to give a sense of depth, will be added to the game.Finally when water tiles are added or removed, the surrounding dirt tiles become wet or dry depending on how far away they are from water.PlantsStart by setting up simple plants that can be added and removed with the mouse and keyboard.Then they will be improved so that they look like they're moving up and down, and start small then grow to their full size.Next more plants/trees of different sizes will get added to the game, and their shadows improved to be lighter and remove overlap with other images.Finally an algorithm will be added that checks tile types underneath them. That way they can only get placed on the correct ones, and if tiles are changed to types that they shouldn't exist on, they get removed.AnimalsStart by setting up simple animals that can be added with the mouse and keyboard, that start small then grow to their full size.Then they will be improved so that sometimes they either pick random points to move to, or random angles to rotate to.Next their movement will be improved further so that they avoid overlapping other animals, plants, and tile types that they shouldn't exist on, for example water.Finally more overlap checks will be added so that animals can no longer be placed on plants, other animals, or the wrong types of tiles. Also an overlap check so that plants can't be placed on animals. In addition code will be added so that animals can be remove with the mouse, or if the tiles under them are changed to types they shouldn't exist on.

Overview

Section 1: Introduction

Lecture 1 Intro

Lecture 2 Download and Setup Software

Lecture 3 Basic Engine Overview

Section 2: Tiles

Lecture 4 Intro

Lecture 5 Checkered Grid

Lecture 6 Tiling System

Lecture 7 More Colors

Lecture 8 Shadows

Lecture 9 Improve Code

Lecture 10 Wet Dirt

Lecture 11 End Result

Section 3: Plants

Lecture 12 Intro

Lecture 13 Basic Plants

Lecture 14 Multiple Plants

Lecture 15 Plant Movement

Lecture 16 Plant Growth

Lecture 17 More Plants

Lecture 18 Improve Shadows

Lecture 19 Check Tile Types

Lecture 20 End Result

Section 4: Animals

Lecture 21 Intro

Lecture 22 Basic Animals

Lecture 23 Basic Movement

Lecture 24 Improve Movement

Lecture 25 Overlap Checks 1

Lecture 26 Overlap Checks 2

Lecture 27 Fix Placement

Lecture 28 End Result

Anyone who wants to learn how to create a farm game with an alien theme,Anyone who wants to improve their C++ game development skills





Free search engine download: Learn to Make an Alien Farm Game With C SDL2 From
Poproshajka




Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.