ria pc game
translate to English   translate to Chinese
fle game engine - движок для создания игр
fle game engine - движок для создания игр


Balls and holes PC game / Balls and Holes PC игра
Вакансии
Игродельня
Today
24 июня 2018
8:17
Вход Регистрация Забыли пароль ?

Добро пожаловать в систему управления сайтом megainformatic cms
              Добро пожаловать в систему управления сайтом megainformatic cms !  
подробнее...

Теги

создание сайтов, создание игр, дизайн, игры, информатика, уроки photshop, php, c++, музыка, delphi, cms, робосайт

Статьи сайта

megainformatic cms e-mailer

megainformatic cms e-mailer

Бесплатная Система Управления Вашим Сайтом - megainformatic cms free

megainformatic - Путешествие в мир 3d

megainformatic - Путешествие в мир 3d - страница 2

megainformatic - Путешествие в мир 3d - страница 3

megainformatic - Путешествие в мир 3d - страница 4

megainformatic - Путешествие в мир 3d - страница 5

megainformatic - Путешествие в мир 3d - страница 6

megainformatic - Создание модели броневика (Хэд) - Анимация вращения колес

megainformatic cms express files

megainformatic cms express files

megainformatic cms express files

megainformatic - Уроки Photoshop - Чудеса

megainformatic cms express files - Развертывание сайта на Вашем хостинге

megainformatic - Настольная игра "Веселый Буквоежка"

megainformatic - Уроки delphi directx 8.1

megainformatic - Уроки delphi directx 8.1 - Урок 1 - Введение в Delphi DirectX 8.1. Создание шаблона стартового приложения.

megainformatic - Уроки delphi directx 8.1 - Урок 1 - Введение в Delphi DirectX 8.1. Создание шаблона стартового приложения. Страница 2

megainformatic - Урок 2 Создаем и обрабатываем команды меню.

megainformatic - Урок 2 Создаем и обрабатываем команды меню. Страница 2

megainformatic - Урок 3 Оконный и полноэкранный режимы работы D3D-приложения. Управление игрой средствами DirectInput8

megainformatic - Урок 3 Оконный и полноэкранный режимы работы D3D-приложения. Управление игрой средствами DirectInput8 - Страница 2

megainformatic - Урок 3 Оконный и полноэкранный режимы работы D3D-приложения. Управление игрой средствами DirectInput8 - Страница 3

megainformatic - Урок 4 Построение класса приложения

megainformatic - Урок 4 Построение класса приложения - Страница 2

megainformatic - Урок 5 Построение классов игровых объектов и других необходимых классов

megainformatic - Урок 5 Построение классов игровых объектов и других необходимых классов - Страница 2

megainformatic - Урок 6 Игровая логика

megainformatic - Заметки по joomla - JFolder::create: Path not in open_basedir paths. Что это?

megainformatic cms express files - Добавление статей на сайт под управлением megainfromatic cms express files

megainformatic - Урок 7 2D-анимация

megainformatic - Урок 8 Загрузка/Сохранение текущей игры, режим паузы, режимы часов/будильника, запуск браузера Internet Explorer для показа сайта разработчика и других интернет-ресурсов

megainformatic - Урок 9 Тестирование и отладка приложения

megainformatic - Мои Музыкальные Миры

megainformatic - уроки Photoshop free

megainformatic cms express

megainformatic cms express

megainformatic cms express

megainformatic cms express files

megainformatic - Методы создания растровых изображений в Adobe Photoshop

megainformatic - Создание фотореалистичной текстуры травы

megainformatic - Рабочее пространство Adobe Photoshop

megainformatic - Бесшовные (тайловые) текстуры

megainformatic - Создание изображений огня, воды, неба

megainformatic - Создание текстур горных пород и суши (урок 5)

megainformatic - Рисование персонажей (урок 6)

megainformatic - Рисование фона (урок 6 часть 2)

megainformatic - Рельефные изображения

Добавление статей на сайт под управлением megainformatic cms express

megainformatic - Воспроизведение файлов в форматах it, xm, s3m, mod

megainformatic - Воспроизведение файлов в форматах it, xm, s3m, mod - страница 2

megainformatic - Воспроизведение в игре музыки в формате XM

megainformatic - Воспроизведение файлов в формате OGG Vorbis

megainformatic - игра "Веселый Буквоежка" - инструменты разработки

megainformatic - Игра "Веселый Буквоежка" - история создания проекта

Creating game on fle game engine - Simple game

11 - Game score, sounds, music



читать данную статью на русском

We have come to the final part of our lesson. Here I will briefly explain how to display the dialed gaming score hit the ball in the hole, as well as the play of the game sounds in wav and mp3 music format.





Content

page 1 - Sprites

page 2 - Objects

page 3 - Overlay objects

page 4 - Coding - Setting parameters for the Scene Editor fge and write code to display the sprite ball in your first gaming application

page 5 - Show jumped ball

page 6 - Loading game scene

page 7 - Moving game scene

page 8 - Foreground - Closing of the scene from the cavities by means of a black texture with a slot, restricts the movement of the scene

page 9 - We realize getting into the correct hole and around the holes - holes define the boundaries of sprites and sprite jumped ball

page 10 - Testing collisions

page 11 - Game score, sounds, music



lesson #2 page 1 - Create new scenes for the simple game, extended version - simple game extended







If you get the ball in the hole runs the following code -

if ( m_bContactWithHoleDetected )
{
if ( o_so != NULL )
{
o_so->Show = true; //we note that it is necessary to display the plate holes
}
PlayGameSound(hole_hit_snd); //we play the sound of falling into the hole

m_bInHole = true; //note the condition that the ball fell into the hole - it is necessary to
//secure re falling into the same hole
//new hits are recorded in only a few seconds
m_iHoleHits++; //add the counter hits the holes

m_iScore = m_iHoleHits; //skid hits counter variable to display the game score

}


When the ball spontaneously changes its direction a sound is played -

CD3DGameApp::change_moved_ball_TimePause

//...

PlayGameSound(change_direction_snd);



Here we have turned the game -



Display of score points implemented in the method - CD3DGameApp::RenderTextIndicators

Music playback is implemented in the method -

CD3DGameApp::FrameMove

in the form of code line -

g_MusicThemes.PlayNextTrack();

For the load of sounds, music, adjust the volume and other necessary actions are carried out special methods. Details here they will not consider all of them you can see for yourself in the source code of the game simple game.

In conclusion, it is possible to set the value in the parameter file to change the music volume

simple_game\Media\base\params.txt

With regard to the volume of sounds, and other possible questions that you may have - look for the answer in the source code.

Of course there are still many questions that you can consider. I will try to discover them in later lessons on how to create simple game, and other examples of games (which will soon be made).

Questions that were not considered:

The mechanism of the balance of the complexity of the game - for example, you can make to the ball gradually began jumping faster and faster (with growth of the gaming score) to the game gradually became more complicated.

You can realize that the ball hitting the hole briefly stuck in it.

There were ideas alternately control the movement of the ball, the landscape scenes or mixed control, when for example, the scene we can move left and right and up and down, it moves itself, and the ball can only move up and down and side to side, he moved himself. And to these control options are changed spontaneously in the game (depending on the complexity with its gradual increase, or just randomly).

You can also add more variety to the game - any variety of gaming units, objects and some additional mini-tasks, and so on.

There would be a fantasy.

I think that from the submitted soon to write something in the next lessons, but something maybe you implement and independently !





By studying the source code of the project simple_game, and experimenting with it, you can extend or modify the game and create on its basis some own.

It was the first lesson on creating games simple game on the engine fle game engine.

The new tutorials on creating other examples of games soon the topic will be continued and will be available soon different genre focus and implement these or other interesting features of the game - - 2d and 3d graphics, platformers, shooters (shooting), action, strategy, logic, jigsaw puzzles, quests, hidden object, and many many more.

All of them will not be a full-fledged complete games, as they are realized only the basics, but will serve as a good basis for their own games in a particular genre. Allow to gain the necessary knowledge and experience.

If you have any interesting ideas, suggestions, personal development or you have already made your game on the basis of this example, and want to share - write to us !





Download the game finished simple game version 1.0.0 4.01.2017 (without sourse code).

Source code and other useful materials and tools you get with a paid subscription order !


Size: 51,8 Mb



To have the opportunity to create their own game on the basis of an example simple_game with unlimited possibilities of further expansion! - Subscribe to fle game engine -


Price: 10 usd.

Subscribing to fle game engine You get an example of the game simple game with source code, and you can not just read everything that will be described below, but do yourself in your own application with the possibility of unlimited expansion. Also, you get

for the latest version Scene Editor fge 1.0.2 (on current moment) with support for more features: grid settings, scrolling, and more. In the free version, these features are not supported. more details about the distibutive of a paid subscription.



Good luck to you in creating your own games !

[previous] [next]



megainformatic live chat
Начать беседу
X
 

Registered comments



fle game engine - движок для создания игр
fle game engine - движок для создания игр


Something: Unexplained 2 captive of desires / Нечто: Необъяснимое 2 в плену желаний
Костя Коробкин Комикс Коллекционное издание - 6 комиксов, 81 страница, 220 mp3 треков
megainformatic Размещение баннерной рекламы у нас
















    
Время загрузки: 0,8320