DarkViGaCi's Recent Forum Activity

  • After looking more closely I was wondering how you could assign a movement cost to each hex? Like swamp takes two counts of move vs one for open areas.

    It is a very good start.

    yours

    winkr7

    I have implemented this mechanics in another turn-based example (sorry for bad English there). But in that case, I use a square grid of tiles. So, I will update hex-grid template to add movement cost mechanics in few days :)

  • I've created the template with a hex pathfinding algorithm. It's based on 2D Array object. I don't use any additional plugin and behavior (except "MoveTo").

    HOW IT WORKS

    1. At the beginning, an array is filled with numbers using the "Wave Algorithm" method. This means propagating "waves" around neighboring tiles until the destination point is reached.
    2. Then, a revers path is found using a simple subtruction of the index from the current value through a loop.

    Basically I used a wave algorithm to fill the array. The main feature is how to determinate neighboring hexes:

    Try this on Arcade

    Download template

    Tagged:

  • Added some minor improvements to the logic of group movements for units. Just one condition "For each (ordered)" and one action which start the "wait" timer makes units movement more natural.

    BEFORE

    AFTER

  • Another way to make switch languages system

    It's works with only 2 events

    Download Example (*.c3p)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Do it this way

  • Just one event

  • Example. Press "X" to add "else" condition.

  • Events in Construct 3 are executed sequentially, from top to bottom. In your case, first the variable sets the value to "French", and then (in the event below) it changes the value to "English" again.

    Use the "else" condition.

  • #1. Procedural World Generation

    Try on Arcade

    Download *.c3p

  • I think the best way to grow your Construct skills is to make a clone of another game. This is not for earning money, but only for educational purposes. I want to create a turn-based strategy game like Civilization with Construct 3 in the future. It's a really difficult task, and first, I should start by creating something simpler. So, I've decided to make a clone of a very special game.

    Revival is a Civilization-like strategy game published on the J2ME platform for old mobile devices over 15 years ago. I spent hundreds and hundreds of hours playing this game when I was a teenager. It's a great honor for me to recreate this game using Construct 3.

    This project will be published on Scirra Arcade. I will also be sharing the source code. I hope this will help you find some ideas that you can use in your own projects. An important detail is that I will not be using any JavaScript code or any third-party plugins or behaviors for my project.

    Wish me luck ;)

  • You do not have permission to view this post

  • Hi! I'm created fog of war mechanics for real-time stategy game based on Tilemap and Array objects. It's works without any WebGL effects and JavaScript code.

    So, map in this game is grid-based. Every unit can take just one tile. Also, each unit has vision-range variable. "Vision = 6" means that the unit can can look at 6 cells around himself. I am used a wave algorithm to fill Array by numbers which need to make vision area.

    Try on Arcade

    Download *.c3p

DarkViGaCi's avatar

DarkViGaCi

Member since 29 Mar, 2017

Twitter
DarkViGaCi has 6 followers

Trophy Case

  • 7-Year Club
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies