Jump to content
Sign in to follow this  
Mu0n729

I programmed a maneuvers test bench in C#

Recommended Posts

This program is meant to let you test out a sequence of maneuvers and visually see how it fills out the game area's space. You can try out formation maneuvers and figure out the best initial placement for your ships to prevent collisions and clogging. It's not meant to be a playable multiplayer game client at all. I think the main feature I wanted for myself is to see all movements at once, all rounds at once.

 

I'm looking for some feedback for my next round of improvements. Here's what I'm already aiming for:

-Add barrel rolls

-Saving a game in progress, regardless of number of already programmed in movements

wave3c.png

Download link: (Updated September 8th 2013): https://docs.google.com/file/d/0B1lSm7DauvkCUXB6WWRxeWFUSzQ/edit?usp=sharing

 

 

 

(click image for larger view) 

 

Demo video 1: basic ship placement, arbitrary rotation, playback mode
http://screencast.com/t/CR5CSC8dCCQ

Demo video 2: What happens if you replace a move in an already defined sequence of moves, during playback mode 
http://screencast.com/t/Og5ewfFu1i

Thanks to the following BGG beta testers for their suggestions and feedback:

reitoei :
noticed imperfect rotations FIXED
asteroids TO DO
undo button DONE
delete ship DONE
playback DONE
give every ship a 1 straight because of ion cannon) TO DO

xBino
undo button DONE
toggle for a grid or moveable range ruler TO DO

Edited by Mu0n

Share this post


Link to post
Share on other sites

Interesting concept, but a lot of stuff is getting cut off on my screen even with the resolution maxed out. There doesn't appear to be any way to resize elements or scroll to access things I can't read or see. While it looks cool, I'm afraid it's unusable, at least on my machine.

 

Edit:

Here is a screen shot of it on my PC:

 

Screenshot

Share this post


Link to post
Share on other sites

I use a 1920x1080 resolution and I did see there was some weirdness when you resized the window, I didn't think it'd get that bad. I've now fixed the problem by giving the faulty elements the ability to autoscroll and to dock themselves to the top left.

Thanks for your feedback!

I'm going to add a new feature or two before uploading a new version tonight.

 

 

Share this post


Link to post
Share on other sites

 

New update!
 
-Fixed the pegs for the larger base ships
-Fixed autoscroll when resizing the window
-Added create screenshot button
-Added create gallery of screenshots for the whole sequence button
 
Demo video 3: You can create a sequence of .png files of the whole sequence of moves - the idea is to facilitate battle reports posted in forums

Share this post


Link to post
Share on other sites

Nice! Much better, and it works great! I've been putting down minis on the table and trying to get a feel for how to maneuver various sized formations without my ships stepping all over each other. This is a much nicer solution. 

Share this post


Link to post
Share on other sites

I've been working hard on several super-needed features. Here's the first phase (hopefully the second phase will be done before the weekend is over):

March 15th version: https://docs.google.com/file/d/0B1lSm7DauvkCaXhZOE1WQ1QwRTQ/…

-Huge interface overhaul for the ship spawning

-Fixed repeated koiograns that would shift slightly if you made a ton of them repetitively (won't happen ingame, but this is good on a perfection point of view)

-Menu item that lets you change the board size from the default 913 mm x 913 mm.

-Asteroids! You can place as many of the 6 asteroids you want. They'll be placed alongside the ships in the manifest list.

-Added Boost + Barrel buttons, they are non-functional but they'll work in next update (it's going to be non-trivial to add this, I have to change many things first).

 

full size view: http://s93768914.onlinehome.us/pub/xwing/fullsetup2.png

fullsetup2thumb.png

Share this post


Link to post
Share on other sites

Daeglan said:

It would be helpful to be able to move items after placing to you can more easily set up the starting area.

 

If I'm reading this right, this is something that would be useful to me too. Let's say that I set up my ships just so, and start moving them about. I find that after a few moves, they overlap, so I'd like to adjust the starting position. It would be nice to be able to drag the whole movement path up to that point, rather than having to back up, reposition and start over again.

This is a great tool, and I have used it to test out some movement strategies. I'd love to see firing arcs incorporated.

 

Share this post


Link to post
Share on other sites

ziggy2000 said:

 

Daeglan said:

 

It would be helpful to be able to move items after placing to you can more easily set up the starting area.

 

 

 

If I'm reading this right, this is something that would be useful to me too. Let's say that I set up my ships just so, and start moving them about. I find that after a few moves, they overlap, so I'd like to adjust the starting position. It would be nice to be able to drag the whole movement path up to that point, rather than having to back up, reposition and start over again.

This is a great tool, and I have used it to test out some movement strategies. I'd love to see firing arcs incorporated.

 

 

 

 

First, I just want to make sure you're aware that by holding shift and moving the mouse about, you can displace the currently selected item (the one highlighted in red). It doesn't displace all its moves though, if it's a ship. I think it will be an easy fix the way I programmed this thing. I'll try to put it in the next update.

 

Keep up that feedback, it's invaluable to me to know where to focus my efforts next.

Firing arcs is going to be a little headache becasuse they're oblong circles. The vassal module programmer figured it out obviously, but I haven't yet. (or even tried).

 

Share this post


Link to post
Share on other sites

Daeglan said:

Firing arcs are not oblong circles. they are one quarter of a circle centered on the ship. 4 firing arcs make a complete circle. :)

Technically correct, but since range is measured from the base of the ship (not the center), the area you can actually hit is a quarter circle with a "flat space" in the middle that is exactly the width of the ship base. See the illustration below (from Vassal) to see what I'm talking about.

i-8W5BkfF-L.jpg

Share this post


Link to post
Share on other sites

ziggy2000 said:

Technically correct, but since range is measured from the base of the ship (not the center), the area you can actually hit is a quarter circle with a "flat space" in the middle that is exactly the width of the ship base. See the illustration below (from Vassal) to see what I'm talking about.

 

 

A firing arc is also not 45 degrees, because the the "aim-lines" (for lack of a better word) are not half-diagonals of a square, they're half diagonals of a rectangle that's smaller in its width than its length. It's somewhere between 41-43 degrees depending on your inclusion of the width of the lines themselves or not.

 

Share this post


Link to post
Share on other sites
Instead of fretting about the main bug that remains, I'll disable playback for the time being and release this:

 

September 7th version (1st post has been edited as well)


 

 

Additions:

Barrel roll procedure:

-click on either barrel left or barrel right

-move mouse vertically (relative to current ship's position, always vertical even if it's rotated differently) to place your template

-click to confirm template's position

-move mouse vertically again to place ship's final position

-click to confirm choice

 

Once all these steps are made, you can backtrack in the case of an error, as if it was a move, with "undo last move"

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.
Note: Your post will require moderator approval before it will be visible.

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...