Alpha 10

User avatar
GFX47
Dev
Dev
Posts: 2914

Alpha 10

Post#1 » 13 Sep 2017, 11:15

Changelog:
- Rewind during replays
- AI editor undo/redo
- New AI check order

See the roadmap for more details.
+ viewtopic.php?f=5&t=998
+ viewtopic.php?f=5&t=997

Android
Windows
Linux

Warning: this build uses a new resolution engine version so Alpha 9 matches will be unplayable.

User avatar
Kanishka
Skynet
Skynet
Posts: 1421
Contact:

Re: Alpha 10

Post#2 » 13 Sep 2017, 14:41

roadmap.gladiabots.com is down... Opening Trello app.
Fixes break an AI more than bugs do. :ugeek:

Gladiabots Off-Topic Chat


My Stats: Kanishka_RN3;Kanishka_MiPad

User avatar
Kanishka
Skynet
Skynet
Posts: 1421
Contact:

Re: Alpha 10

Post#3 » 13 Sep 2017, 14:52

Training Bug: Introduction needs to be updated to explain the new AI checking
Fixes break an AI more than bugs do. :ugeek:

Gladiabots Off-Topic Chat


My Stats: Kanishka_RN3;Kanishka_MiPad

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Alpha 10

Post#4 » 13 Sep 2017, 14:54

Yeah, I'm on it ;)
It's still pretty much "left to right" at AI level though.
I have to find another wording while staying simple... not that simple.

User avatar
Kanishka
Skynet
Skynet
Posts: 1421
Contact:

Re: Alpha 10

Post#5 » 13 Sep 2017, 14:58

GFX47 wrote:Yeah, I'm on it ;)
It's still pretty much "left to right" at AI level though.
I have to find another wording while staying simple... not that simple.


So will my AIs work after the update? I ain't reorganizing XPRMNT Alpha
Fixes break an AI more than bugs do. :ugeek:

Gladiabots Off-Topic Chat


My Stats: Kanishka_RN3;Kanishka_MiPad

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Alpha 10

Post#6 » 13 Sep 2017, 15:05

Kanishka wrote:
GFX47 wrote:Yeah, I'm on it ;)
It's still pretty much "left to right" at AI level though.
I have to find another wording while staying simple... not that simple.


So will my AIs work after the update? I ain't reorganizing XPRMNT Alpha


It depends on your current way to design it.
Didn't the dedicated thread help you understand the changes?

User avatar
Kanishka
Skynet
Skynet
Posts: 1421
Contact:

Re: Alpha 10

Post#7 » 13 Sep 2017, 15:38

GFX47 wrote:
Kanishka wrote:
GFX47 wrote:Yeah, I'm on it ;)
It's still pretty much "left to right" at AI level though.
I have to find another wording while staying simple... not that simple.


So will my AIs work after the update? I ain't reorganizing XPRMNT Alpha


It depends on your current way to design it.
Didn't the dedicated thread help you understand the changes?


I actually knew how this works... Still, I'm worried about my Retreat
Fixes break an AI more than bugs do. :ugeek:

Gladiabots Off-Topic Chat


My Stats: Kanishka_RN3;Kanishka_MiPad

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Alpha 10

Post#8 » 13 Sep 2017, 15:41

So I guess you're the only one who can answer your question ;)

pier4r
Skynet
Skynet
Posts: 3389

Re: Alpha 10

Post#9 » 13 Sep 2017, 17:45

I am a fully left to right so go for it.

Plus: can you share the code snippet for angle match? That would be interesting!
http://www.reddit.com/r/Gladiabots/wiki/players/pier4r_nvidia_shield_k1 -> Gladiabots CHAT, stats, insights and more ;

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Alpha 10

Post#10 » 13 Sep 2017, 17:54

Code: Select all

node.OutputIDs.Sort(delegate (int id1, int id2)
{
   AINode node1 = this.GetNode(id1);
   AINode node2 = this.GetNode(id2);

   Vector2I node1InputPosition = node1.GetInputPosition();
   Vector2I node2InputPosition = node2.GetInputPosition();

   float node1Angle = Vector2.Angle(Vector2.up, (node1InputPosition - nodeOutputPosition).ToVector2());
   if (node1InputPosition.x > nodeOutputPosition.x)
   {
      node1Angle = 360f - node1Angle;
   }

   float node2Angle = Vector2.Angle(Vector2.up, (node2InputPosition - nodeOutputPosition).ToVector2());
   if (node2InputPosition.x > nodeOutputPosition.x)
   {
      node2Angle = 360f - node2Angle;
   }

   if (node1Angle != node2Angle)
   {
      // Different angle
      return node1Angle < node2Angle ? -1 : 1;
   }
   else
   {
      // Same angle: use x position
      return node1InputPosition.x < node2InputPosition.x ? -1 : 1;
   }
});

pier4r
Skynet
Skynet
Posts: 3389

Re: Alpha 10

Post#11 » 13 Sep 2017, 21:00

Of love!

I actually expected to see the "angle" part. But it is the code that does it for you or did you code also the Angle() method?

edit: is this here? https://docs.unity3d.com/ScriptReferenc ... Angle.html

Impressive how a framework simplifies the coding process. One need to know the framework though.
http://www.reddit.com/r/Gladiabots/wiki/players/pier4r_nvidia_shield_k1 -> Gladiabots CHAT, stats, insights and more ;

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Alpha 10

Post#12 » 13 Sep 2017, 22:07

This is it.

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Alpha 10

Post#13 » 14 Sep 2017, 09:14

No bug to report for those who tested Alpha 10?

User avatar
LuBeNo
Autonomous Entity
Autonomous Entity
Posts: 532

Re: Alpha 10

Post#14 » 14 Sep 2017, 12:51

GFX47 wrote:No bug to report for those who tested Alpha 10?

Didn't had time yet.
Image
My algorithm of life: if(self.tired) sleep(); else if(self.hungry) eat(); else follow(Jesus);

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Alpha 10

Post#15 » 15 Sep 2017, 10:59

Releasing it publicly this week-end if no major bug occurs.

User avatar
LuBeNo
Autonomous Entity
Autonomous Entity
Posts: 532

Re: Alpha 10

Post#16 » 16 Sep 2017, 10:17

Had time now. Looks really good.

3 ranked games in 3 minutes all against Buzzlefall. Has the 5 minute rule changed?

Stat page looks good now. Cannot zoom it ingame though.

AI check from angle works like expected.

Undo redo works really fine. Could we have remove all subnodes as it is easily undoable.

Pressing rewind while fast forwarding results in the progress bar loading for a minute and I see the victory screen then with "watch again".

Pressing rewind at normal speed or slow motion works.

Perhaps it would be better if pressing rewind would result the game to pause itself. If I rewind and the game plays at normal speed or even fast forward (what currently doesn't work) I miss the first second or seconds.

As rewinding seems to be implemented like calculate the whole game from the beginning (takes some time; pressing rewind twice at the end of a game is a pain; could be technically solved by saving the game state every 30 seconds) it would be good to go back 15 or even 30 seconds. (It is easy to go forward fast) Or make it dependent on what speed I look at the game slow motion 10 seconds, normal speed 20 seconds, fast forward 30 seconds and paused 15 seconds.
Image
My algorithm of life: if(self.tired) sleep(); else if(self.hungry) eat(); else follow(Jesus);

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Alpha 10

Post#17 » 16 Sep 2017, 19:17

Fixing the rewind bug.

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Alpha 10

Post#18 » 16 Sep 2017, 20:32

OK fixed it.
Rewind now leaves the game paused and goes back 10 seconds when playing or paused and 30 seconds when fast-forwarding.

Looking at the matchmaking bug now.

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Alpha 10

Post#19 » 16 Sep 2017, 21:42

OK... server was in "dev mode" which means the join cooldown was disabled...
"Fixed" it ^^'

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Alpha 10

Post#20 » 16 Sep 2017, 23:33

Publishing Alpha 10...

Return to “Release candidates”

Who is online

Users browsing this forum: No registered users and 0 guests