## Create A Space Shooter Game | Egretia Engine Tutorial For Beginners Part 4

This is the fourth part of Egretia Engine tutorial, showing how to build a space shooter game!

Part 1 https://bit.ly/32xy7r3

Part 2 https://bit.ly/2CV2CfC

Part 3 https://bit.ly/39uicLD

Demonstration

# Programming

>Use the factory pattern when NPC are unknown numbers of objects

1）Create NPC and NPCManager

2) NPCManager

> Finite State Machine (FSM)

Create id:number

Update

> Create array of NPCs

1）Randomly generated NPC

2）Time-related generation

3）Generated with arrays

>The relationship between factories

1）NPC bullets

Numbers of NPC bullets shots

What are the coolest projects you saw from people using Egretia engine?

Stay tuned for updates from the Egretia official channels below so that you can be involved in all the exciting things to come!

Egretia Telegram: https://t.me/Egretia

Egretia Website: https://egretia.io/

## Create A Space Shooter Game | Egretia Engine Tutorial For Beginners Part 2

This is the second part of Egretia Engine tutorial, showing how to build a space shooter game!

Part 1 https://bit.ly/32xy7r3

Demonstration

Programming

>Bullet

Speed principle:

Error

Wrong code

Correction:

1this.bg = new BG(this);

2this.player = new Player(this);

3// x,y, speed，angle

4this.zd = new ZD(this.player.x,this.player.y, 20 ,30,this);

5

9

>Factory Pattern

Core: objects creation

In Factory pattern, we create object which will be stored in the factory’s storage system.

New object creation will be allocated and returned in the storage system, but the objects will be removed when certain conditions are met.

If you use the factory pattern to manage object, the object must have a property:

The visible (vis) property: The boolean type represents whether it can still be stored in the factory.

vis== false. This object will be removed in order to ensure that storage system is not full

vis == true means that it can be stored.

Bullet update:

>ZDManager

1public create(x:number,y:number,v:number,n:number,game:MainGame){

2 //create bullet

3 let one = new ZD(x,y,v,n,game);

6 // to the end of array

7 this.zm.push(one);

8 //

9 }

Update principles

1public update(){

2 // the total length

3 for(let i = 0 ; i < this.zm.length ; i++){

4 // find each bullet

5 let one = this.zm[i];

6 one.update();

7 // remove the extra bullets

8 // if bullet is off the screen ，vis == false, remove

9 if(one.vis == false){

10 //remove it from the scene

11 this.removeChild(one);

12 //remove it from the storage system

13 this.zm.splice(i ,1);

14 //remove one item, the length -1

15 i — ;

16 }

17 }

18}

Maingame update principles

1 public update()

2 {

3 this.bg.update();

4 this.player.update();

5 this.zm.update();

6 //time interval

7 this.t++;

8 if(this.t >= 4){

9 //after the creation is called, the bullet will occur

10 //add two more ballistic paths, there are five paths in total

11 this.zm.create(this.player.x,this.player.y,20,0, this );

12 this.zm.create(this.player.x,this.player.y,20,-15, this );

13 this.zm.create(this.player.x,this.player.y,20,-30, this );

14 this.zm.create(this.player.x ,this.player.y,20,15, this );

15 this.zm.create(this.player.x,this.player.y,20,30, this );

16 this.t = 0;

17 }

18 }

What are the coolest projects you saw from people using Egretia engine?

Stay tuned for updates from the Egretia official channels below so that you can be involved in all the exciting things to come!

Egretia Telegram: https://t.me/Egretia

Egretia Website: https://egretia.io/

## Create A Space Shooter Game | Egretia Engine Tutorial For Beginners Part 3

This is the third part of Egretia Engine tutorial, showing how to build a space shooter game!

Part 1 https://bit.ly/32xy7r3

Part 2 https://bit.ly/2CV2CfC

Demonstration

# Programming

>Different types of bullets

>Frame in Animation(bullets)

>Bullet control

> Increase players’ shooting techniques

What are the coolest projects you saw from people using Egretia engine?

Stay tuned for updates from the Egretia official channels below so that you can be involved in all the exciting things to come!

Egretia Telegram: https://t.me/Egretia

Egretia Website: https://egretia.io/

## Egretia Bi-weekly Report XXXII

Summary：

》The new version of Egretia Engine release!

》Bitcoin Pizza Party

Technology Development

Egretia Engine Upgrade! A big boost in compiling speed!

Here we will introduce some features, including JavaScript Module Support, upgraded EUICompiler and Inspector updates

JavaScript Module Support (beta)

We allow developers to use JavaScript module and meanwhile provide a webpack packager which can package the multiple files of JavaScript module into one file so that it can run on the previous browser without supporting JavaScript.

The UI and related logic are one of the most workload-intensive parts in games developed by Egretia Engine. In the new version, we have comprehensively improved the UI development experience and upgraded UIEditor whose internal code structure is much clearer and more extensible.

1.Fix the error that TOUCH_END event doesn’t work

2.Fix the issue that selection is still available when it shows visible=false

3.Fix the problem that it cannot be parsed correctly when there are special symbols in the URL path of the game.

Community

EGT Bounty Campaign

To celebrate Bitcoin Pizza Day, Egretia has given away 18,888 EGT *1 and 8,888 EGT *2 which attracted many participants to share their bitcoin stories in our telegram community. In the coming future, Egretia will adopt the incentive mechanism to encourage more people to interact with us and foster a robust gaming ecosystem.

Here comes a Russian video regarding Egretia for our overseas community, check it out: https://twitter.com/Egretia_io/status/1277801690343735296?s=20

Stay tuned for updates from the Egretia official channels below so that you can be involved in all the exciting things to come!

Egretia Telegram: https://t.me/Egretia

Egretia Website: https://egretia.io/

## Краткий обзор и Новый roadmap проекта Egretia (EGT)

The report on Egretia from one of the Russian Youtubers. Thanks for sharing! We are looking forward to connecting with more people in the world!

Всем привет! в этом видео посмотрим, как там поживает сильно нашумевший в своё время проект Egretia. Те кто следят за крипто рынком, помнят монетку этого проекта EGT, которая показала просто сумасшедший рост.компания продолжает развиваться и команда не так давно, выкатила новый роадмап. Об этом мы сегодня и поговорим!

Интро

Для начала, я в кратце расскажу чем занимается команда Egretia и тут нужно сказать пару слов про HTML5. Это технология — признанное во всё мире кросс платформенное решение. Она охватывает интернет, игры на мобильных телефонах, видео контент, рекламу и другие сферы цифрового рынка, капитализация которого составляет сотни миллиардов долларов.

Платформа Эгретия сочетает в себе технологию HTML5, набор инструментов SDK и собственный уникальный движок, чтобы предоставить полный функционал для разработки игр на блокчейне. С помощью набора инструментов Egretia, разработчики со всего мира могут быстро и легко создавать игры на блокчейне не обращая внимания на сложные базовые реализации технологии. При этом с помощью блокчейна они могут открывать свободный поток обмена, виртуальными ресурсами между разными играми.

В сотрудничестве с компанией Egret Technology, мировым лидером в индустрии HTML5, команда Egretia разрабатывает первый в мире движок и платформу, для создания HTML5 совместимого блокчейна. Таким образом соединив технологию блокчейна с проверенными временем инструментами, сообществом, контентом и партнерами, с целью направить 250 000 разработчиков и 1 миллиард мобильных устройств — в мир блокчейна.

Среди основных преимуществ платформы можно выделить:

● Самостоятельно разработанный Блокчейн на открытом коде;

● Удобный пакет разработки;

● Умная помощь при кодировании;

● Наличие цифрового кошелька для каждого пользователя платформы;

● Устойчивая экосистема для пользователей платформы.

Токен EGT

Для обслуживания экосистемы Egretia выпущена криптовалюта Egreten, которая будет соединена со всеми играми, а также будет использоваться игроками для обмена виртуальными игровыми товарами. Также есть и другие способы использования этого токена:

● Рекламодатели могут заказывать рекламу;

● Разработчики могут создавать объявления через инструменты Egretia и SDK№

● Игроки будут зарабатывать токены за время, проведенное в играх.

Токен был выпущен на криптовалютный рынок 4 июля 2018 года, сейчас стоимость монет составляет 11 сатош, а капитализация в районе 4 млн долларов. Купить токены Egretia можно на криптовалютных биржах Okex, Huobi и других площадках.

Обновленный роадмап

27 апреля команда представила обновленную дорожную карту. Основной упор представители Эгретия делают в сторону нидустрии блокчейн игр. Как игровая блокчейн экосистема, Эгретия уже выпустила полный рабочий процесс по разработке игры на блокчейне.

В этом году Egretia планирует реализовывать стратегию более активного взаимодействия с успешными предприятиями в сфере гейминг контента, стремясь найти и запустить более качественные игры.

С тех пор, как стартовал Egretia Global DApp Contest, Egretia выбрала множество отличных игр. Победителям будет предложено щедрое вознаграждение и бонусы, в том числе дальнейшая поддержка развития проекта, инкубация и потенциальные инвестиции.

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

Egretia обладает потенциалом стать ведущей в мире игровой блокчейн экосистемой, позволяя ежедневным активным пользователям — быть на передовой, игровой индустрии мирового уровня.

Теперь что касается технологий! В 2019 году Egretia добилась некоторых успехов в технической части, включая обновление рабочих процессов разработки блокчейн игры, запуск Testnet, выпуск Blockchain Browser, бета-тестирование собственного кошелька, первичное открытие игры Football Blockchain Game, а также техническое сотрудничество с несколькми известными компаниями в блокчейн индустрии.

В этом году команда планирует значительно расширится на Азиатский рынок, проводя конференции и обучающие митапы по тематике блокчейн игр.

Также планируется начать проводить АМА сессии с командами Эгретии и других крипто проектов работающих в этом направлении.

К концу 2020 года, судя по роадмапу команда предоставит для разработчиков ещё больше всевозможных гайдов, как пользоваться инструментами Эгретия для создания блокчейн игр. При этом обновленные инструкции будут учитывать работу с ETH 2.0

Заключение

Проект Эгретия работает в перспективной сфере блокчейн игр. Однако это направление привлекает лучшие умы со всего мира, а значит будет высокая конкуренция. Поэтому команде придётся усердно работать чтобы плотно закрепится на этом рынке. Будем наблюдать за проектом, быть может команда добьётся успеха!

Stay tuned for updates from the Egretia official channels below so that you can be involved in all the exciting things to come!

Egretia Telegram: https://t.me/Egretia

Egretia Website: https://egretia.io/

## Egretia Bi-weekly Report XXXI

Summary：

》EGT is available on SimpleSwap

》EGT Giveaway Campaign

In 2020, the game application and blockchain technology innovation are high on the agenda of Egretia, especially the development of brand new open-source gaming platform and technical collaboration. On top of that, the promotion and training of blockchain technology will become a new growth driver amid the continuous refinement of Egretia ecosystem.

Egretia is available on SimpleSwap!

EGT is available on SimpleSwap where users can choose EGT 300+ other cryptocurrencies to buy or swap EGT without sign up.

SimpleSwap is a simple and easy-to-use platform for cryptocurrency exchanges that works without registration and limits.

40000 EGT Giveaways!

To appreciate the community’s continuous supports, Egretia has given away 40000 EGT on International Workers’ Day which attracted more than 500 participants. Two random winners have been awarded accordingly! In the coming future, Egretia will adopt the incentive mechanism to encourage more people to interact with us and foster a robust gaming ecosystem.

Last few weeks, Egretia R&D team has been working on the maintenance and upgrading of blockchain game development workflow. The optimization of Egretia engine has been put stress on to provide a better service. Besides, the design of prototype and development of open platform is in progress, which will be designed to seamlessly connect with blockchain contents and channels.

Stay tuned for updates from the Egretia official channels below so that you can be involved in all the exciting things to come!

Egretia Telegram: https://t.me/Egretia

Egretia Website: https://egretia.io/

## Egretia Bi-weekly Report XXX

Over the past two weeks, the Egretia Team has been furthering the development of its technology, strategic cooperation and community ecosystem. Regarding our technology, the R&D team has mostly focused on the development of the new wallet and game platform, the preparations for the Ethereum 2.0 upgrade and the conduct of the upgraded Smart IDE contract development tool. As for the community, the Egretia Team has launched the result of its Global DApp contest! In the media, many mainstream news sources like Yahoo, Seeking Alpha and MarketWatch, have reported news about Egretia. If you like to learn more, please visit our Telegram community channel for further discussion!

> Technology Product Update

Preparations for the Ethereum 2.0 upgrade

Daily maintenance and optimization of the blockchain browser

#### EGT Wallet

*Multi-language Function Development

*HD Wallet Optimization

*Transaction History Service Optimization

* Other Details Optimization

*Cloud Wallet Function Development

* Development of Cloud Wallet Deposit Function

* Development of Cloud Wallet Withdrawal Function

* Development of Cloud Wallet Transfer Function

*Cloud Wallet Third-party Authorized Research & Development

*Wallet Product Interface Optimization

*Prototyping Completion

* Product Interface Design

*Other Function Dev.

#### Egretia Open Platform R&D

*Open Platform Prototyping

#### Other

• Third-party Technical Support

Community Ecosystem

Which game stands out from the competition?

Since its initial launch on October 1st 2019, the contest attracted a lot of developers, and we had over 50 entries for the event. The contest not only attracted blockchain developers, but also drew the attention of traditional developers with limited background in developing DApps. The contest gathered developers around the world to accomplish the mission of bridging the gap between the traditional gaming market and the blockchain gaming market.

Thanks to the many outstanding contestants in this competition, and also congratulations to the following three teams for standing out from the 11 candidates and winning the final prize.

Block Pirate:

Block Pirate is the first DApp game combining tower defense and TCG in the world. It was developed by the Block Kingdom, a blockchain game development team in North America. In Block Pirate, each player is the lord of an island in Archipelago. Players fight for Block Crystal with their troop cards and tower defense strategy in the PvP battle.

DemonTap:

Developed by the winning team of the NEO Game Development Competition, DemonTap is a clicker crypto game with blockchain features such as a cool experience, a deep development system, a trading market, and asset confirmation.

BarryMax:

Designed by the students from Northeastern University, BarryMax brings the Magic world into the blockchain world. With its original design and gameplay, it brings the players into the world of the Barry. Barry was born from nothingness, he is weak and helpless, the law of the jungle in the monster’s world made him eager to get stronger since he has a unique ability that his body changes by the object he absorbs. Players collect nature elements for Barry to learn from famous monsters how to be stronger, then make Barry evolve by receiving the key item.

In addition, there are also various mind-blowing entries, such as Win7.io, which will continuously help the Egretia community to become a better community.

Media

The Egretia global DApp contest has been reported by more than 129 overseas mainstreaming news sources so far, such as:

Stay tuned for updates from the Egretia official channels below so that you can be involved in all the exciting things to come!

Egretia Telegram: https://t.me/Egretia

## 2019 Egretia Global DApp Contest Draws to a Close: Why Blockchain Games Will Rise in the 2020s?

After three months of competition, the 2019 Egretia Global DApp Contest finally came to a conclusion. The contest enlightened hundreds of developers and builders to pursue the future of gaming. The 2019 Egretia Global DApp Contest (https://www.egretiana.org/) is initiated by ENAC (Egretia North America Community), which was one of the biggest global blockchain contests honored to be supported by Egretia.

Since its initial launch on Oct. 1st 2019, the contest attracted over 300 developers, and teams signed up for the event with over 50 entries submitted. The contest not only attracted blockchain developers, but also drew the attention of traditional developers with limited background in DApp development. The contest gathered developers around the world to accomplish the mission of bridging the gap between the traditional gaming market and the blockchain game.

In order to build offline communication with the participants and developers, ENAC brought the series event to Boston, New York, San Francisco, and Los Angles, hosting the local developer gathering and forums, attracted thousands of developers, investors, gamers and industry experts to join.

With such a competitive submission pool, three teams are part of the 11 finalists competing won the final prize:

Block Pirate:

Block Pirate is the first DApp game combining tower defense and TCG in the world. It was developed by the Block Kingdom, a blockchain game development team in North America. In Block Pirate, each player is the lord of an island in Archipelago. Players fight for Block Crystal with their troop cards and tower defense strategy in the PvP battle.

DemonTap:

Developed by the winning team of the NEO Game Development Competition, DemonTap is a clicker crypto game with blockchain features such as a cool experience, a deep development system, a trading market, and asset confirmation.

BarryMax:

Designed by the students from Northeastern University, BarryMax brings the Magic world into the blockchain world. With its original design and gameplay, it brings the players into the world of the Barry. Barry was born from nothingness, he is weak and helpless, the law of the jungle in the monster’s world made him eager to get stronger since he has a unique ability that his body changes by the object he absorbs. Players collect nature elements for Barry to learn from famous monsters how to be stronger, then make Barry evolve by receiving the key item.

In addition, there are also various mind-blowing entries, such as Win7.io, which will continuously help the Egretia community to become a better community.

Egretia (http://egretia.io/) aims to combine HTML5 — a programming language for structuring and presenting content online — with blockchain to create the world’s first HTML5 blockchain game ecosystem. Currently, users of HTML5 games already account for 47% of all mobile gamers. Egretia’s new technology could increase the popularity of blockchain apps.

“The key secret to living your life is to understand what is a game and what is not a game,” said General Partner of Gumi Cryptos Miko Matsumura. “We are standing at the beginning of the blockchain game industry.”

After three months of efforts, Egretia’s global DApp competition does not only bring Egretia to a broader stage, but it also brings blockchain gaming to a grander market, attracting more fresh blood into the Egretia global gaming ecosystem. With more talents attracted by this contest, the future of the Egretia will enlighten the entire blockchain gaming industry.

As the contest draws to a close, we should continue to think about what milestones we have the potential to reach in the future — ultimately, the future expansion of Egretia.

Stay tuned for updates from the Egretia official channels below so that you can be involved in all the exciting things to come!

Egretia Telegram: https://t.me/Egretia

## Egretia Contributed to The Development of Blockchain Gaming Industry in North America

Los Angeles, USA (November 25, 2019) Los Angeles, the entertainment capital of the world with its numerous celebrities, movie stars, and fashion pioneers, is also one of the most important gaming centers in the world. As the home of many world’s best gaming companies such as Activision Blizzard and Play Station, LA is where the gaming industry bloom. To further energize the development of blockchain gaming and facilitate the blockchain investment, the Egretia North American Community (ENAC) successfully hosted 2019 LA Blockchain Game Dev & Investment Party on the night of November 25, 2019.

Over 50 developers, investors and experts from the traditional and blockchain gaming industry gathered together to explore new opportunities for collaboration and envision the future of blockchain gaming and industry adoption and localization in the coming year.

During the party, ENAC announced the 2019 Egretia Global DApp Contest to the attendants, telling them that “the winning teams will receive a total of \$300K award and long-term collaborations, including support for project development, incubation, and potential investment.” The 2019 Egretia Global DApp Contest was officially launched on October 1, 2019. All participants should submit their business plans or DApps through the Contest website by midnight of November 30, 2019, EST. As the world’s first HTML5 blockchain game, Egretia encourages developers to combine this programming language with their promising projects.

The speech was followed by a dialogue between Charles Li, Managing Director of Spark Blockchain, and Jerry Kowal, Chief Content Officer at BitMovio, a Stanford MBA who served as Director of Content of Netflix and Business Consultant of Twitch, on the topic of Blockchain Game development and business use cases. During the panel, Jerry brought up the very unique point of “bringing the content to facilitate the business process to every blockchain use cases.” He shared his previous experience with the world-leading live streaming platform Twitch, and discussed traditional gamers’ and users’ value. “My previous experience in the traditional industry made me see the great value that the decentralized technology could bring and the long-term impact on the problems currently unaddressed. We could create more value for more users and gamers all over the world”.

2019 LA Blockchain Game Dev & Investment Party was successful and well organized. It provided a great opportunity for attendees to learn and socialize with experienced blockchain gaming leaders and experts. As the final stop for the ENAC Contest event series, it sets a significant milestone on the journey of Egretia’s globalization.

Stay tuned for updates from the Egretia official channels below, so that you can be involved in all the exciting things to come!

Egretia Telegram: https://t.me/Egretia

## Egretia Believes that Blockchain Gaming Is the Tipping Point for Mass Blockchain Adoption

NEW YORK CITY, USA (November 15, 2019) — For the third iteration of Consensus: Invest, a global digital asset investor outlook Conference by Coindesk, investors come together to discuss opportunities, trends, and challenges with this new asset class. To further energize the development of blockchain gaming and DeFi industry, the Egretia North American Community (ENAC) successfully hosted 2019 NYC Blockchain Gaming & DeFi Party | Post Consensus Invest on the night of November 13, 2019.

Over 100 Industrial leaders, investors and experts in blockchain gathered together at the luxurious after party to look toward the year ahead with a comprehensive understanding of the directions the blockchain gaming market and DeFi are headed to in 2020.

During the party, ENAC introduced the 2019 Egretia Global DApp Contest to the attendances. The ENAC organizer also announced that “the winning teams will receive a total of \$300K award and long-term collaborations, including support for project development, incubation, and potential investment.” The 2019 Egretia Global DApp Contest has launched since October 1, 2019. All participants need to submit their business plans or DApps by midnight of November 30, 2019 EST. As the world’s first HTML5 blockchain game, Egretia encourages developers to combine this programming language with their promising projects.

Speeches were followed by a panel discussion among George Gong (Chairman of Zino Venture), Charles Li (Managing Director of Spark Blockchain), Vishakh (Co-Founder of Cryptonomic, Ex VP of J.P. Morgan) and Cole Kennelly (Account Manager of Staked) on the topic of Blockchain Game & DeFi. During the panel, Gong pointed out that “The imagination space of traditional game industry can be extended in the blockchain world”. Also, Kennelly mentioned that “In the game industry, we will see more products integrated with decentralized finance”. In addition, Vishakh stated that “My previous experience in the traditional financial industry made me see the limitations of traditional finance, while the emergence of decentralized finance seems to have a very good solution to these problems”. In general, the speakers hold an optimistic opinion on the long-term interest of blockchain gaming market and DeFi.

2019 NYC Blockchain Gaming & DeFi Party was successful and well organized. It was a great opportunity to learn and socialize with experienced blockchain gaming leaders and experts. Speakers and guests are looking forward to the next event held by ENAC in Los Angeles.

Stay tuned for updates from the Egretia official channels below so that you can be involved in all the exciting things to come!

Egretia Telegram: https://t.me/Egretia