shini's Recent Forum Activity

  • You could use imagepoints on the general map image. If cursor is overlapping these image points then you could set a sprite to the imagepoint position and take the shape of the state in the form of an animation frame. This method would just be one sprite image for the general map and one sprite image for the highlighted state. You could even spawn invisible detect sprites on each imagepoint of the map if the detect area needs to be wider. In a general sense it would be like the US map, with pegs where the states are (imagepoints) and if the mouse goes over these, then the state appears to be highlighted.

    Oh, that does sound like what I'm looking for. I'll need to experiment with this method, but I think you've solved my problem. Was afraid I was going to have to assemble thousands of provinces manually. I don't even have the patience to do several hundred pieces worth of jigsaw puzzle lol.

    However, would these invisible detection sprites take up memory or consume significant processing power? I'm planning on making a game that's light on the hardware so that even computers running windows xp from late 2000s can play it. Theoretically speaking, that is. I'm not going to go out of my way to make it compatible for xp.

    Thanks a lot.

  • Hi,

    I'm currently planning on making a simple nation simulation visual novel. For that, I need a map that has its national and state borders clearly drawn and clicking on any state highlights that state. Those who have played grand strategy games by companies like Paradox probably have an idea what I'm talking about.

    Unfortunately, I do not know how to make parts of the map behave as its own separate states. Take United States for example, can a single map be separated into its own states so that clicking where Minnesota should be will only highlight Minnesota instead of the entire United States?

    Currently I only know how to take a sprite shaped like Minnesota and assemble it where it should be on the screen, like a jigsaw puzzle. But I'm wondering if there is a simpler way, so that I can perhaps draw the border on a single picture and it separates the states in that way. Assembling sprites like a jigsaw puzzle is going to take a lot of time and possibly require twice the memory requirement since I'll have to place the background image and the sprite as well.

    An alternative is to make Minnesota appear as just a single dot on a piece of US map and clicking the dot represents selecting the whole state. However, I don't want the game to look like this if I can help it although it will certainly be much easier.

    tl;dr Does anyone know how to create a world map with distinctive states and provinces without the programmer having to assemble the states and provinces like a jigsaw puzzle?

    Thanks in advance.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh, this looks good. Thanks for suggesting it. I'll have a look. Does it have any usage manual?

  • Hi all,

    I'm currently tinkering around Construct 2 (haven't started making a game yet) and wondering if there is a possibility to make a game that fetches time data from the player's OS and use it for the game directly?

    By this I mean:

    1) Time does not only start when the game starts

    2) When the game is started, it fetches time from the OS, and converts it into ingame season. For example, 12PM is noon. 12AM is winter and 6PM is Autumn.

    3) Although the time in the game stops when the game is closed, since it fetches time from the OS directly, it feels as if the game itself runs in the background.

    4) Example: player closes the game at 11AM, which is summer in the game. He then returns to play the game at 8PM which is autumn in the game.

    Is there a function for this in construct 2? Or if there's none, is there a method to do it? Please take note that I'm still new to programming. So it's better to explain it to me as if I'm a dummy. Thanks in advance.

    Err, guess I posted this in the wrong place. I thought I've read everything. Sorry.

  • Hi all, new here. How do you do?

    I'm someone from SEA and looking to make some computer and android games with Construct 2. Nice to meet you.

shini's avatar

shini

Member since 1 Dec, 2015

None one is following shini yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies