HOW MAKE GAME AT HOME EASILY 2023 STEP 2 Game Canvas

  HEY EVERY ONE!

I MAKE GAME YOU CAN ALSO MAKE '

LET SEE

            Game Canvas

The HTML <canvas> element is displayed as a rectangular object on a web page:

HTML Canvas

The <canvas> element is perfect for making games in HTML.

The <canvas> element offers all the functionality you need for making games.

Use JavaScript to draw, write, insert images, and more, onto the <canvas>.


.getContext("2d")

The <canvas> element has a built-in object, called the getContext("2d") object, with methods and properties for drawing.

You can learn more about the <canvas> element, and the getContext("2d") object, in our Canvas Tutorial.


Get Started

To make a game, start by creating a gaming area, and make it ready for drawing:

Example

function startGame() {
  myGameArea.start();
}

var myGameArea = {
  canvas : document.createElement("canvas"),
  start : function() {
    this.canvas.width = 480;
    this.canvas.height = 270;
    this.context = this.canvas.getContext("2d");
    document.body.insertBefore(this.canvas, document.body.childNodes[0]);
  }
}
Try it Yourself »

The object myGameArea will have more properties and methods later in this tutorial.

The function startGame() invokes the method start() of the myGameArea object.


AS YOU SEE ITS EASY I MAKE 

Before founding his game studio, Argonwood, Christian Fernholz studied Electrical Engineering and Information Technology and worked in the military aviation sector for 13 years.

In 2016, Christian and his brother, Manu, started working on Rising Lords, which was displayed at Gamescom in 2022.

During our interview, we asked about his interest in medieval history, releasing Rising Lords in Early Access, and what historical figure he’d like to see in his game!


How did your adventure with game development start?

My brother is an artist and I’m a programmer, and we’ve been designing games our whole lives. It’s been a hobby for many years while we had other jobs.

We started out in the world of pen-and-paper and board games, and we’ve been developing smaller PC games since 2013 – until we started our large-scale strategy title, Rising Lords.

Are you interested in medieval history?

Absolutely. I’m generally interested in history, but my focus is on ancient and medieval times. My brother is also very knowledgeable about medieval history.

We’ve been reading related books all our lives, and over the last years, started watching YouTube channels and listening to podcasts.

There are some great content creators out there making huge efforts to find out what medieval life was really like.


What other games have you worked on?

Dozens probably, but nothing really that would ring a bell to anyone. Most of the games we developed were just for ourselves, actually.

We worked on smaller PC games for adverts, gifts, or commissioned work.

What was the inspiration for Rising Lords?

Games are never developed out of thin air. When you start to work on your project, many other games you play will influence you in one way or another. Simple or small aspects that you liked or disliked, design decisions, gameplay, and so on.

The biggest inspiration is definitely Lords of the Realm 2, a game I played countless hours as a teenager and that we played in 2016 when we started to develop Rising Lords. We did make a lot of design changes, though.

While the principle of medieval strategy games is similar and the economy and army movement is also turn-based, we went from real time back to turn-based for the battles and made those completely different.

We also completely changed the peasant management and added a lot of depth by adding civil buildings, morale, unit counters, general abilities, terrain modifications, factions, modability, and much more.


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.