Thank you, I will look into this. Regards, Stephen
stephen darling
Posts
-
Spinning Roulette Wheel -
Spinning Roulette WheelAlan Balkany wrote:
For a more realistic spinning roulette wheel (even on a slow system) use blurred intermediate images. These will give an appearance more like what a person would actually perceive seeing a real wheel spinning. Transition to actual images as the wheel slows down.
This sounds like a very interesting idea, however, I would not have a clue where to start by doing this. Would you possibly be able to provide a little more information please? Thank you, Regards, Stephen
-
Just wondering..c# onlineThank you for the advice, however, the game will be simple and aimed at one player. It must run in the browser as I must retain full controll of the source code. The game itself will be very basic, with basic graphics and minimal animation. I am currently persuing the idea of hosting a c# app in silverlight. Thank you, Steve
-
Just wondering..c# onlineOK thank you again, I have pleanty to get going with. Thank you, Steve
-
Just wondering..c# onlineThank you, I will have a look at XNA aswell, Steve
-
Spinning Roulette WheelThank you, That has gave me something to look over the weekend. Regards, Stephen
-
Spinning Roulette WheelSledgeHammer01 wrote:
You should just bite the bullet and learn WPF.
What? While learning C#?
SledgeHammer01 wrote:
one line of XAML.
Could you show one line that does this? Either way, I am starting to lean toward the idea of WPF. Thank you, Steve
-
Just wondering..c# onlineAspDotNetDev wrote:
One more thing. Keep in mind that you will probably also be heavily involed with XAML if you use Silverlight. XAML is basically what you use to build UI's in Silverlight. Everything you can do in XAML you can also do in pure C#, but most documentation and such shows the XAML.
OK, Thank you for the "heads up", I will take a look into it. Proberbly just end up getting myself a book on WPF and Silverlight. Kind Regards, Stephen
-
Just wondering..c# onlineAspDotNetDev wrote:
Yep, Silverlight can do pretty much anything Flash can do
Excellent!
AspDotNetDev wrote:
Flash uses ActionScript, if you feel like learning that.
Not really. I am still learning C#, and I have heard that the learning curve for proper use of ActionScript can be a bit high. I am glad I can use C# with Silverlight, and I will look into this when I become a little better with C# Thank you, Steve
-
Just wondering..c# onlineHi, I was just wondering... To write a good, interactive online game (as an example) would normally require flash, and this has its own language...right? Now, if I learnt C#, is it possible to have some kind of "flash" like interface so that I could place interactive programs online. I was looking at Silverlight, would you be able to use this to write 100% C# games and then run them in the browser, or is there another method? I am interested as I want to create my own little, fun, gaming website. But instead of presenting my games for download, I would like to allow the user to run them in the browser, online. I really don't want to start learning flash and other tools and technology’s just yet, and would prefer to do this as close to 100% C# as possible, but would still like to include basic graphics, animations, sound etc. Thank you for any ideas. Steve
-
Spinning Roulette WheelRob Philpott wrote:
Yes, WPF makes things like that considerably easier.
I am excited to get started with WPF, however, I think I should get through my "Head First C#" Book first, and learn C# properly. I will look into what you have sugested, and see if I can get something going. Thank you for the sugestion, Regards, Stephen
-
Spinning Roulette WheelPIEBALDconsult wrote:
I can't stand games that waste time doing crap like that.
Maybee. I do see where your comming from, but the idea is to design a realistic and working mini roulette game, so the spinning wheel is a real big part of it. Also, this is just a fun app, and a doubt many other people will use it. The main idea for this is a learning curve for a beginner, and not so much the spinning wheel, but the fact that I can learn how to spin the wheel realisticaly, which may be usefull for other stuff. but thank you for your point of view! Steve
-
Spinning Roulette WheelHi, I was just woundering if anyone knows how I would do this... I have an image of a roulette wheel, and I would like to animate it as it was spinning, faster to slower and then stop. How would I achive this using c# and winforms, as I am not ready to delve into WPF just yet? Thank you, Kind Regards, Steve
-
just woundering about random numbers?Hi. This is for fun, and not the real thing. It is going to be my first "real" project after the book. Although I would like it to be as "real" as possible. I was actually thinking along the same lines. 1) Generate a random number 0-36 2) Animate the wheel, and somehow when the ball arrives near the generated number, make it "bounce a little" as though it was going to (random again) land on the number to the left or right before "faling" into place. 3) Use some kind of list/enum to look up the value and also get whether it is black or red (or green) I have just started with the book now, and when I finish I am going to give this a real go. Thank you for your advice and comments. Kind Regards, Stephen
-
just woundering about random numbers?This sounds very interesting. I will continue to learn what I am from the book, then I may be able to place this code into context. Thank you, it seems much better than the standard Rand.next(0,35); Regards, Stephen
-
just woundering about random numbers?PIEBALDconsult wrote:
With a roulette wheel. :-D
Are you suggesting there is no real way of randomising this? :)
PIEBALDconsult wrote:
As to the horse, he may be favored to win, but he doesn't have an "80% chance of winning". However, one of the techniques I like to use to select a random entity, from amomg various entities with varying chances of being selected, is to simulate putting slips into a hat, each entity may have a different number of slips in the hat, in proportion to their desired probability to be drawn.
Please could you explain this a little further? Thank you, Steve
-
just woundering about random numbers?Hello. I am learning c# and reading my book "Head first c#" In the interum, I would like to ask about generating random numbers. My example uses the game "Roulette" where the wheel spins, and a number between 0 and 36 comes out. I would like to ask the following questions: 1)What is the best (as in most random) way of generating a number between 0 and 36? 3)How would this be done if we had an animated roulette wheel, I ask this because if you play the game online, the ball may look as though it is ready to land on, say, 6, but then it appears to "bounce" to an adjacent number, is this down to a "random " value. And lastly, lets say we are creating a random horse race, but the horse in question has a 80% chance of winning, how would we add this "odds" into a random value? Thank you, Stephen
-
How do I generate a number divisable by 5, and check it?Kenneth Kasajian wrote:
You're kidding me right?
Are you? This thread was cleared up a while ago, and I am not going to explain myself yet again :) Regards!
-
Is this a good book to learn c#?Eddy Vluggen wrote:
Good decision :)
Yes; I realise that now!
Eddy Vluggen wrote:
That's being used in school 'ere; covers a lot, reads quite pleasantly.
Really? If it is being used in a school, must be OK then.
Eddy Vluggen wrote:
Yup, definitely worth the time
Great. I will crack on and be back soon with my questions ha. Thank you
-
Is this a good book to learn c#?excellent. thank you