Jump to content
Sign in to follow this  
vladislavbelov

Bulding Snapping Feature

Recommended Posts

1 hour ago, asterix said:

I also agree

Ditto.

So does at least one of the fans on facebook who asked for this specifically. 

  • Like 1

Share this post


Link to post
Share on other sites

This is a very significant feature for this alpha, let me say it again. :) I played last night and, I was way faster at advancing my phase (As for someone who takes city building seriously while playing RTS)

  • Like 3

Share this post


Link to post
Share on other sites
2 hours ago, wackyserious said:

This is a very significant feature for this alpha, let me say it again. :) I played last night and, I was way faster at advancing my phase (As for someone who takes city building seriously while playing RTS)

For positioning housing for turtling is more comfortable 

  • Like 3

Share this post


Link to post
Share on other sites
On 1/6/2020 at 5:55 PM, Nescio said:

Either:

  • default: no snapping; with Ctrl: snapping
  • with option toggled: snapping; with Ctrl: no snapping

Or:

  • default: always no snapping
  • press hotkey combination (e.g. Ctrl+Alt+S or whatever) to toggle snapping option
  • when activated, always snapping, so no need to keep Ctrl pressed

I made a patch: D2546, now you have 3 options: disabled (not working at all), optional (you need to press a hotkey to enable it), enabled (you need to press a hotkey to disable it). In the patch the optional one is default.

EDIT: Also there is a suggestion to not have the "disabled" option, as a user can disable it by set the hotkey to empty.

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites
1 hour ago, vladislavbelov said:

@nani, If I'm not mistaken you had a suggestion about angle after building placing. Could you describe it here? How it behaves now and what would you like to reach?

When holding shift the placing angle should be preserved for the next building placing.

For the code in question -> when the FSM state selection (input.js) is in INPUT_BULDING_DRAG and "mousebuttonup" event is fired  tryPlaceBuilding should preserve the angle of the last building for the new building if 

var queued = Engine.HotkeyIsPressed("session.queue");

is true even if a snapping is happening.

  • Like 2

Share this post


Link to post
Share on other sites
42 minutes ago, nani said:

When holding shift the placing angle should be preserved for the next building placing.

I always wanted this :o

Share this post


Link to post
Share on other sites
On 1/8/2020 at 11:14 PM, Sundiata said:

I always wanted this :o

It's already in the game just not taken into account for the snapping (for now :) )

Share this post


Link to post
Share on other sites
7 hours ago, nani said:

It's already in the game just not taken into account for the snapping (for now :) )

Could you explain how? 

Share this post


Link to post
Share on other sites
13 hours ago, Sundiata said:

Could you explain how? 

Press Shift while placing building and if rotated when placed the next will also have that last angle.

  • Thanks 1

Share this post


Link to post
Share on other sites

Is difficult to use changing the pattern or direction. For example an square of houses or multiple buildings. Is a bug saying you can't place over a building.

Share this post


Link to post
Share on other sites
27 minutes ago, Lion.Kanzen said:

Is difficult to use changing the pattern or direction. For example an square of houses or multiple buildings. Is a bug saying you can't place over a building.

You mean buildings of different sizes? You can rotate it after placement, it remains snapped.

Share this post


Link to post
Share on other sites

I will a test again recording a video and uploading a txt recorded game.

I didn't yesterday (today in your timezone) because was too late.

Share this post


Link to post
Share on other sites
15 minutes ago, wowgetoffyourcellphone said:

The buildings rotate to a backward angle when snapping instead of maintaining their default angle. 

Snapping should rotate the building for a nearest angle to snap to an edge. Do you mean that it rotates more than it should?

Share this post


Link to post
Share on other sites
7 hours ago, wowgetoffyourcellphone said:

The buildings rotate to a backward angle when snapping instead of maintaining their default angle. 

mostly of time. is very annoying.

Share this post


Link to post
Share on other sites
11 hours ago, vladislavbelov said:

Snapping should rotate the building for a nearest angle to snap to an edge. Do you mean that it rotates more than it should?

What happens is the building almost always snap rotates 180 degrees.

  • Like 1

Share this post


Link to post
Share on other sites
On 1/5/2020 at 3:32 PM, wackyserious said:

THANKS!!

 

On 1/6/2020 at 9:42 AM, Lion.Kanzen said:

 @Stan` Now you can do the sockets feature.

 

On 1/6/2020 at 3:55 PM, Nescio said:

Either:

  • default: no snapping; with Ctrl: snapping
  • with option toggled: snapping; with Ctrl: no snapping

Or:

  • default: always no snapping
  • press hotkey combination (e.g. Ctrl+Alt+S or whatever) to toggle snapping option
  • when activated, always snapping, so no need to keep Ctrl pressed

@Sundiata For those who did not registered it yet  it was committed sometime back https://trac.wildfiregames.com/changeset/23459

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...