• Register

To wake up with a fly in the nose... why not? But to be forgotten by the dwarfs convoy on its way to the northern lands, no way! Embark on a sumptuous journey through the Seven-league Hill, passing through the village of men and the terrible swamp! You'll have to be smart and clever to keep your dwarves on the road, because, unfortunately, the world is full of danger... especially when your name is "Le Bourru"...

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Post article RSS Articles

Well, I now have my engine, but as I mentioned before... the LibGdx actor system doesn't suit me perfectly. It's up to me to make the one of my dreams =)

As for object-oriented programming, I like to work in layers. So I had to establish the different layers and steps of what I consider to be "the father of all my next games".

It is rather obvious but what goes without saying always goes better by saying it: the first layer must obviously be "The Game" itself.

In this layer, it's simple, we define only the basic parameters of the application and we go directly to the "Screen" sub-layer.


Here, a little more work. This layer will contain the camera, the viewport and the event processor. It will be in charge of reframing the game in case of resizing the window, dispatching the received events and containing and changing the scene if needed.

Precisely, it is the following underlay: "The scene"!


Ahh! This is really where it gets interesting. The scene really represents what happens in a painting or a stage. For that, I split it in 4 sub layers:

- The background elements, which will always be below

- the dynamic elements, in the middle

- the elements that will always be in front

- the UI elements which will always be in front of all the others


It is also in this layer that I created a marker system. Basically, it's a graph with landmarks in our scene. This can be used, among other things, to place our elements at strategic points or to move our characters following a defined path.


Finally, the scene offers a catalog of characters and a system of selection of the current character (the hero ^^).


Concretely, this layer is intended to be overloaded in order to add the elements necessary for our scene.

After adding the elements in the desired order and layers and connecting the events dedicated to them... The scene is ready to be used !

First the elements of the back


Then the dynamic elements


And finally the elements always above


So, it's the end! I hope you enjoyed this article! If you liked it and would like us to make more, please let us know! Subscribe, comment it, share it, show us that you are there, it will encourage us a lot!

You can also make a donation on our ko-fi page, to support us and finance the development of our next game: 'Les Nains du Nord"!

Thank you! ♥

{Devtips} Which technology to choose in Java?

{Devtips} Which technology to choose in Java?

News

I recently had a little problem with the display of the layers in our next game " Les Nains du Nord ". This whole thing forced me to rethink a lot of...

{Devlog} We're adding an action menu!

{Devlog} We're adding an action menu!

News

As a pseudo point and click, our game obviously needs an action menu. We haven't had a concept meeting with our art director about this yet, but I can...

2D traditional animation live for "take" action

2D traditional animation live for "take" action

News

On Monday, we did a live 2D animation to share with you a little piece of our working day...

{Devlog} Traditional animation with perspective

{Devlog} Traditional animation with perspective

News

Well, now, we can work on the "Take" animation from the front! This animation requires some perspective, because our dwarf (here: "Le Petit"), leans forward...

Comments
LunarShuriken
LunarShuriken

Interesting...

Reply Good karma Bad karma+2 votes
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Twitter

Latest tweets from @lesjeuxdebebel

Action "Take" for "Le Bourru In traditional #animation, frame by frame -- #Animation2d #2danimation #gamedeveloperT.co

Jan 20 2022

12:00 pm: Relaxa...wait...Everything in this game wants to kill me!😱 After Pandemonium 1, the 2nd! -- #RETROGAMINGT.co

Jan 7 2022

Traditional animation for our game ☔️💧 27 frames, 8 drawings - #animation #Animation2d #2danimation #gamedeveloperT.co

Jan 7 2022

12:00 pm: Relaxation 🥊🎮 -- #RETROGAMING #retrogames #retrogamer #Nintendo #punchout #gamedeveloper #gamedevT.co

Jan 6 2022

Have a good 'goûter'! (4:00pm)🥪🥖🌭 -- #gamedeveloper #developers #development #developer #gamedev #indiedevT.co

Jan 3 2022

🎶🎵hum hum hum hum... Mortevielle...🎵🎶-- #mood #retro #retrogaming #retrogame #gamemusicT.co

Dec 20 2021