TechnoX / rcj-rescue-scoring

RoboCup Junior Rescue Scoring System
MIT License
5 stars 13 forks source link

Count number of used tiles in the parcours designer #24

Open janblumenkamp opened 7 years ago

janblumenkamp commented 7 years ago

Show the amount of tiles used of one type next to the corresponding tiles in the parcours designer. For this, the information about how many tiles are available should be given for each parcours set. It should be possible to use more tiles of one type than available, the amount becomes negative then. This way, tiles can be easily shared between different parcours sets and the amount checked.

janblumenkamp commented 7 years ago

This feature is implemented now partly, but the number of available tiles is not yet dropping in the line field designer if tiles are used.

TechnoX commented 7 years ago

How is this related to the ramps? I don't understand :)

janblumenkamp commented 7 years ago

The ramps need to be drawn into the map two times. Once up, once down; once for every level. But in the real arena, the tile is only used once. This makes it more complicated to automatically count the amount of used tiles in the arena, tiles need to be placed redundantly. What if the designer uses in the upper level a straight line and in the lower level a gap line for the inclinated tile at the ramp, even though this is the same tile in the physical arena? It would be better if the ramp tiles are visible in both stages it connects. Hope this is clearer now, if not I can try to draw a picture.

TechnoX commented 7 years ago

Please comment on the open issue, or make this the open one :)

It is still not clear. You should never use more tiles than it is placed on the actual field. Because then the scoring for reaching checkpoints will be wrong!

If the ramp is just one tile you can place the arrow up on the ramp tile itself and arrow down on the flat surface on floor 2 just after the ramp tile.

But if you just have a simple ramp there are no reason for designing the field multi-layered. The ramps doesn't give any impact on the score in line. So you can design it just as a straight line.

It is more if you have an old-style arena with a full floor of tiles above another floor of tiles you need to select which floor you want to visualize.

Still the ramps are not very well implemented in line. But I don't understand your issue exactly.

janblumenkamp commented 7 years ago

This is the open issue :) But now I understand what you mean. I missunderstood something you said in Issue 46. Can be closed now

TechnoX commented 7 years ago

This is not done?? This should still be open?

I have not decreased the number of tiles in the toolbox in the map editor.

janblumenkamp commented 7 years ago

Oops yes, I thought this was the ramp issue.