video video video
Ok, heaps of stuff to discuss and clear up here, with the new video releases....Das_vicky makes an excellent point here, and i wanted to discuss this in detail before moving on...ps: if you haven't seen the videos yet none of this will make any sense, so watch them!
>Gr8 work with the power bar. But i noticed some technical glitch with it and i want to notify.As a cricket player, to get a ball to or above the boundary we need to pick the line and length very early and hit (so greater chances of getting out), and wait as long >as possible to defend(allows more time for batsman to see the ball hence less risky). But in the power shot i saw that u have to press the switch as early as possible to reduce the power and wait a long time or press longer to get the power . So technically i >guess, u have to reverse the order. Like pressing the bar quickly will provide more power but more risky and waiting longer or keep on pressing the switch for longer to reduce the power, hence less risky. I guess u know what i am talking about.
Das, you are completely correct. I was going to reverse the power bar as you suggest, but i didn't as there are pros and cons for both systems....it's really hard to choose which one is best and most intuitive. Your way would make it seem harder to time a 6hit, but here me out on the way i have it, because although it seems opposite to what you suggest, it actually is doing what happens in real life (but in a seemingly opposite way - this is getting confusing isn't it? But stay with me here)...with the current way, by having the block at the start of the power bar (i.e. a quick button tap/press), what i am doing is allowing you to watch the ball right up until it gets to you before you tap the button to block it - it also makes it a kind of default if you are very very late in pushing the button...by making the 6hit at the high end of the power bar, you have to almost 'pre-meditate' the shot (picking up the line and length early and already deciding to go for a big hit) and power up so that you will will swing with full power in time for when the ball reaches you. Do you agree? Well, both ways seem viable to me, so i am going to try the 'reverse' power bar like your method suggests and see if it is in fact more realistic...in any case guys, nothing is set in stone yet...this power bar you see in the videos is still only a prototype and proof of concept, so it doesn't mean what you see here is the final product. This is great feedback though and something I am definately concerned about, as batting enjoyment is a MAJOR part of a cricket game. What does everyone else think?
The other thing i was going to add to the power bar if it remains as is, i.e. block at the lower end and 6hit at the top end, is a 'chaos zone' - imagine the power bar on a percentage level...let's say hitting a six is somewhere up around 93-98 (ignore other factors that influence power for this example)...then 99-100 could be the 'chaos zone' meaning anything could happen e.g. edge, leading edge, skying the ball, etc...this wouldn't be the only way of getting edges etc. but is more a deterrent for people to try to hit sixes all the time, cos if you slightly mistime it, then you lose control over the shot and anything could happen...well, this is just an idea...any comments on this?
Dhruvdeepak wrote:
>i really appreciate the pains you're taking to explain everything you're doing, and the work done so far in itself. This is like anti-establishment stuff.
>I have a couple of questions:
>Does it require some skill to time the powerbar? I.e. does your timing determine how well you play the shot? Or is there another element to the game, like how you press the other buttons?
>Can you position the batsman wherever you want, like move him left, right, up or down?
>Also, could you elaborate a bit on the random chaos . I love the concept in theory though
Well, firstly, yes, it does take skill to time it. There are several factors that all come into play when batting in the game....i) moving the batsman (footwork) during the bowler run-up right up until the ball reaches you ii) pushing the button for front foot or back foot iii) pushing the direction / type of shot button which brings up the power bar. You do have to time the power bar...collisions are pretty accurate so if the ball hits your bat then you do connect with the ball. So if you swing too early you will miss it, simple as that
![Wink ;) ;)](/forums/styles/planetcricket/xenforo/smilies/wink.gif)
There are also different collision zones on the bat so it knows where the ball hit the bat, this affects various things including timing and edges etc Now, it's not just all based on timing, there are several other factors - batsman skill level (batsmen have skill ratings for each individual shot type), type of shot being played vs type of ball being bowled, bowler skill level for delivery he bowled, spin on ball etc AND random chaos....which brings me to my next point....in real life there is always an element of random chaos. What this means is no 2 bowls / shots will be exactly the same - even if you time everything exactly the same with the power bar and same shot against the same ball etc. then it should be exactly the same result, because nothing can ever be exactly the same...you forearm may be slightly off position by 1mm
![Wink ;) ;)](/forums/styles/planetcricket/xenforo/smilies/wink.gif)
anyway, there is always going to be a random element to everything, in varying degrees, as i want the game to never feel 'scripted' - i want to feel like no 2 shots are ever the same...now, this is a computer simulation of a real life sport, so complete unlimited variety is impossible, but we can simulate that by making it 'close to unlimited', so much so that it gives the appearance of being unlimited
Now, about the videos i uploaded...again, remember the quality is low because it is compressed down from 70-90MB files to 1-2MB each! Also, there are several glitches you may or may not notice - do not be alarmed, i can see these too and i am going to fix them asap, but i simply ran out of time last night and i wanted to get these videos released...the bugs are gonna take some time to iron out so i thought i'd release them as is. But it should at least give you an indication of the power bar system and lofted shots physics etc. You can see the differences between blocks, chips, sixes and driving....now, remember this is all using the one button, i.e. Num2....i have not yet implemented front foot / back foot so these 3 shots are only front foot straight shots e.g. straight block, straight drive and straight loft. Also remember it's still early in development so the final product will be much more improved and polished than this. Oh yeah, ignore the debug text as well....
let me know your feedback though, as i want to get people's opinion on all of this...if everyone thinks something is bad then there's likely a good case to change things...so constructive criticism is what i'm after.
* edit - forgot to mention that all of the bowling in the video is spin (but no actual spin applied i.e. just straight) but i have not yet done the spin bowling animation, so dont be surprised by the ball just magically being bowled from nowhere and the bit where the bowler is standing at the start of his runup when the ball is bowled lol...this will be fixed once i have done the spin bowler...
regards,
LM :cool: