enriqueto Posted June 19, 2018 Share Posted June 19, 2018 Level based billiard game. At the end of each lesson you play a match against its boss (AI). Available for licensing (it may contain contain some little bugs that we are currently fixing). Play it here. Capitaine Herlock 1 Quote Link to comment Share on other sites More sharing options...
bruno_ Posted June 19, 2018 Share Posted June 19, 2018 Looks promising, very nice graphics, music and gameplay. When playing in firefox against the first boss, I got a warning from firefox saying some script is slowing down the page. Maybe something you have when the opponent is thinking. Quote Link to comment Share on other sites More sharing options...
enriqueto Posted June 19, 2018 Author Share Posted June 19, 2018 2 hours ago, bruno_ said: Looks promising, very nice graphics, music and gameplay. When playing in firefox against the first boss, I got a warning from firefox saying some script is slowing down the page. Maybe something you have when the opponent is thinking. Thanks for the compliments, I'll forward them to the guy who coded the game. AI calculations are quite intensive. I'll check the game with firefox. Quote Link to comment Share on other sites More sharing options...
b10b Posted June 19, 2018 Share Posted June 19, 2018 @enriqueto I enjoyed this (solid feel of the ball was very satisfying) and played several opponents before encountering an issue with black-select-pocket and rage quit. My main comment would also be about the "Thinking..." delay. It was strange that the opponent thought for so long and then made such a poor shot. I understand the need to assess and compare multiple outcomes for advanced level NPC but perhaps a random shot (decided instantly) would be just as poor, but a whole lot faster, for the lower level NPC? Quote Link to comment Share on other sites More sharing options...
enriqueto Posted June 19, 2018 Author Share Posted June 19, 2018 3 minutes ago, b10b said: @enriqueto I enjoyed this (solid feel of the ball was very satisfying) and played several opponents before encountering an issue with black-select-pocket and rage quit. My main comment would also be about the "Thinking..." delay. It was strange that the opponent thought for so long and then made such a poor shot. I understand the need to assess and compare multiple outcomes for advanced level NPC but perhaps a random shot (decided instantly) would be just as poor, but a whole lot faster, for the lower level NPC? You are right, I didn't invest much time on that. I quickly tried before with a pure random shot but the whole thing is not that easy because the result needs to look natural. An algorithm that selects the best ball and pocket using randomness in the shot would look better. I'll do it for the next game I'm coding and I'll update this. b10b 1 Quote Link to comment Share on other sites More sharing options...
pietf Posted June 21, 2018 Share Posted June 21, 2018 On 6/19/2018 at 11:18 PM, b10b said: @enriqueto I enjoyed this (solid feel of the ball was very satisfying) and played several opponents before encountering an issue with black-select-pocket and rage quit. My main comment would also be about the "Thinking..." delay. It was strange that the opponent thought for so long and then made such a poor shot. I understand the need to assess and compare multiple outcomes for advanced level NPC but perhaps a random shot (decided instantly) would be just as poor, but a whole lot faster, for the lower level NPC? Hi there, b10b. Mafia BT coder here. Thanks very much for your feedback. Would you mind giving a bit more info about the issue with black-select-pocket? Was it gameplay related, or did the game crash? Quote Link to comment Share on other sites More sharing options...
b10b Posted June 21, 2018 Share Posted June 21, 2018 @pietf a few issues with the black pocket if I recall correctly. First, minor one, was the selection ring can visually obscure detail of importance? Second was the selection mechanism ... I'm on the black, I'm asked to pick a pocket, I click, then there's a delay or similar so input is unsure it's selected, maybe I clicked again (on the pocket?), but that click registers as a "shot", with no power, so I miss the cue ball ... foul on black / lose the game / insulted by an NPC / cry and quit. Unsure about what caused the selection glitch, but maybe add a "fuse" on the shot setup, so if released < 500ms then disregard shot? But - more importantly - what a great feeling game thanks to some very smart choices on ball dynamics and aesthetics! Quote Link to comment Share on other sites More sharing options...
pietf Posted June 22, 2018 Share Posted June 22, 2018 15 hours ago, b10b said: @pietf a few issues with the black pocket if I recall correctly. First, minor one, was the selection ring can visually obscure detail of importance? Second was the selection mechanism ... I'm on the black, I'm asked to pick a pocket, I click, then there's a delay or similar so input is unsure it's selected, maybe I clicked again (on the pocket?), but that click registers as a "shot", with no power, so I miss the cue ball ... foul on black / lose the game / insulted by an NPC / cry and quit. Unsure about what caused the selection glitch, but maybe add a "fuse" on the shot setup, so if released < 500ms then disregard shot? But - more importantly - what a great feeling game thanks to some very smart choices on ball dynamics and aesthetics! Such useful feedback! Thanks a lot! Quote Link to comment Share on other sites More sharing options...
Pavel Mishin Posted September 8, 2018 Share Posted September 8, 2018 Hi, very interesting, how did you made so smooth 2d ball animations? Is it "standard" phaser animation based on spritesheet? How many frames should be in such spritesheet? Quote Link to comment Share on other sites More sharing options...
Milton Posted September 9, 2018 Share Posted September 9, 2018 On 9/8/2018 at 7:25 AM, Pavel Mishin said: Hi, very interesting, how did you made so smooth 2d ball animations? Is it "standard" phaser animation based on spritesheet? How many frames should be in such spritesheet? You could just transform a texture on the fly (without using a 3d engine or WebGL). I played around with that a while back. See here. Use the cursor keys to move the ball, and press X for aXes. The original Java code I based this on is here. Pavel Mishin and jamespierce 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.