Search:

Type: Posts; User: Rich2189

Page 1 of 7 1 2 3 4

Search: Search took 0.19 seconds.

  1. Replies
    10
    Views
    1,836

    Re: Combinations of numbers

    w(0) = 0

    w(1) = 1! = 1

    W(2) = 2! = 2

    w(3) = 3! = 6

    W(4) = (4! + 4!/3!) = 28
  2. Replies
    10
    Views
    1,836

    Re: Combinations of numbers

    Looks like the same goes for the others, apologies If I make silly errors. So the number of combinations is actually:


    W(6)
    1: 1,2,3,4,5,6 No factor substitutions. 6!

    2:...
  3. Replies
    10
    Views
    1,836

    Re: Combinations of numbers

    Hopefully I have not misinterpreted the question. I had a quick think about W(6). I came to the conlusion that W(6) would be 6*6!

    W(6)
    1: 1,2,3,4,5,6 No factor substitutions.

    2: 2,2,3,2,5,6...
  4. Replies
    50
    Views
    2,558

    Re: what's your level?

    14, and doing A-Level impressive. I wish I had a copy of the core 4 paper I took there are a few nifty questions in there :). The question they asked which wasn't even in that unit was below the belt.
  5. Replies
    13
    Views
    1,711

    Re: requesting help!!!

    C# will do the job well enough;It's free; Easy to learn. You will need a server to run a mmorpg; You might want to use Direct X; Direct X is much harder to learn.
  6. Replies
    6
    Views
    5,234

    Re: How to connect to a LINUX machine using VB6

    Winsock will do the trick, set up a listening socket on the Linux box then let your VB app connect to it. The Linux server can then send your file through the established connection. If changes need...
  7. Thread: Zelda Game

    by Rich2189
    Replies
    8
    Views
    2,619

    Re: Zelda Game

    Wow, thats is eye candy. Absolutely amazing. I also suffer from getting board of projects; the longest I spent on one was a year. Still I barley got anywhere. We need to set up more team programming...
  8. Replies
    22
    Views
    2,691

    Re: [RESOLVED] How to rotate pictures

    Yes it would be at those angles because the pixels are all in a straight line. I don't think there is much you can do about the distortion. Anti aliasing may solve it but thats heavy stuff.
    ...
  9. Replies
    22
    Views
    2,691

    Re: [RESOLVED] How to rotate pictures

    Ah, you are drawing directly to the screen that is slow. You will need to double buffer it, this will give you a significant speed increase but it still might not be enough.

    You will need to...
  10. Replies
    22
    Views
    2,691

    Re: [RESOLVED] How to rotate pictures

    The quality of you pictures isn't the problem; but the limitations of using angles and the speed of the GDI functions compared to using bitmap pointers is. As I have said, consider moving your...
  11. Replies
    22
    Views
    2,691

    Re: [RESOLVED] How to rotate pictures

    You may want to look at changing the language you are using, C# for instance makes it easy to work with bitmap pointers. This technique was shown to me recently and it is blazing fast. Rewrite the...
  12. Replies
    22
    Views
    2,691

    Re: I give up

    What exactly do you mean by not efficient? Too slow?
  13. Replies
    22
    Views
    2,691

    Re: How to rotate pictures

    Try

    http://www.codeguru.com/forum/showthread.php?t=399670&highlight=Rotate+Image


    Or there are tones of threads here
    http://www.codeguru.com/forum/search.php?searchid=2049581

    and here...
  14. Replies
    22
    Views
    2,691

    Re: How to rotate pictures

    A simple search on google,codeguru or vbf will return all you need.

    http://www.devx.com/vb2themax/Tip/19360
  15. Thread: Story Line

    by Rich2189
    Replies
    17
    Views
    3,163

    Re: Story Line

    Now that is useful, the majority of apps now need some kind of scroll feature. Hopefully in a few months I will have something cool to show you! Thanks for all the advice guys.
  16. Thread: Story Line

    by Rich2189
    Replies
    17
    Views
    3,163

    Re: Story Line

    After your example and my last post I decided to have a go:





    private void button2_Click(object sender, EventArgs e)
    {
    drawImage(40, 40, (Bitmap)pictureBox2.Image,...
  17. Thread: Story Line

    by Rich2189
    Replies
    17
    Views
    3,163

    Re: Story Line

    Thanks for the example!

    Wow, that is fast though I don't understand why it is faster than using the built in functions.

    So if i wanted to draw 1 image onto another I would do something like:
    ...
  18. Thread: Story Line

    by Rich2189
    Replies
    17
    Views
    3,163

    Re: Story Line

    I was just using the graphics object, I will look into bitmap pointers. Better to have a decent engine since the game is all about effects :). Hopefully the GIMP will do me proud.

    Depends what...
  19. Thread: Story Line

    by Rich2189
    Replies
    17
    Views
    3,163

    Re: Story Line

    Cool thanks, I will send you the source when the tile engine is complete and tidy. Yes it's bitmap based, I thought learning direct X was over the top for a game style that can run on a Nintendo game...
  20. Thread: Story Line

    by Rich2189
    Replies
    17
    Views
    3,163

    Re: Story Line

    Chem:
    Thanks for the advice.

    Trigger:
    :) I can imagine it getting out of hand easily. Most of the time I've spent on the game is not adding new depths such as attacks, enemies and levitation but...
  21. Replies
    3
    Views
    1,389

    Re: need help wit a blackjack game on vb

    Search the Forums, Martin Liss has created a black jack game.
  22. Replies
    26
    Views
    985

    Poll: Re: Do you have a website or blog ?!

    Website: http://www.richchemistry.com

    I have a blog but they are pointless unless you have something worth saying, which I don't.
  23. Thread: Story Line

    by Rich2189
    Replies
    17
    Views
    3,163

    Re: Story Line

    Well the game consists of several map files, the map file so far includes the required tile files and what the tile will be at each location. + any overlays such as rocks/pots.

    But for instance if...
  24. Thread: VB: Blackjack

    by Rich2189
    Replies
    44
    Views
    81,517

    Re: VB: Blackjack

    Found a bug:




    GetRawAmount = CDbl(frmGame.lblBet.Caption)



    frmGame.lblBet.Caption holds the value "$10.00"
  25. Thread: Story Line

    by Rich2189
    Replies
    17
    Views
    3,163

    Story Line

    Just out of interest how would you go about coding/scripting a story line for a role playing game? Similar to Final Fantasy or Zelda.
  26. Thread: Typing Game?

    by Rich2189
    Replies
    4
    Views
    1,132

    Re: Typing Game?

    You will need to use the rich text box control to change the letters to different colours. Add it by going to Project-> components. Experiment with the rtb's properties see if you can get the letters...
  27. Thread: Typing Game?

    by Rich2189
    Replies
    4
    Views
    1,132

    Re: Typing Game?

    Is there anything in particular you need help with? We cannot do the entire project for you. Post what you have done so far.
  28. Replies
    5
    Views
    6,153

    Re: Aphabet Game [SOURCE and .EXE]

    Ha ha :lol: good spot, fixed it and updated the top post. Thanks,


    Rich
  29. Replies
    3
    Views
    1,499

    Re: Fitting a polynomial to a graph.

    Thanks for the pointers guys, I used this post here POST

    Managed to get the same answer that MS Excel provided which is a good sign :).
  30. Replies
    3
    Views
    1,499

    Fitting a polynomial to a graph.

    If you have a set of results on a graph that appears to have a straight line of best fit you can use regression to obtain its algebraic equation.

    But how can you do this if your results show a...
  31. Replies
    5
    Views
    6,153

    Re: Aphabet Game [SOURCE and .EXE]

    All the VB code is in the zip file. Make any modifications you wish, just be sure to upload any changes you have made to this thread.
  32. Replies
    14
    Views
    1,326

    Re: Natural log Calculation

    It's including decimals :). Thank-you both for all the advice, if I manage to get it sorted I'll send you a link.
  33. Replies
    14
    Views
    1,326

    Re: Natural log Calculation

    Well initially I had thoughts of working with numbers accurate to 200 d.p but it seems that is pointless and not needed. So working with numbers beyond 1099 would be my current aim. so 20/30 decimal...
  34. Replies
    14
    Views
    1,326

    Re: Natural log Calculation

    :) I just want to best Microsofts Calculator. Plus I don't like seeing

    1.9382938x10^99

    there is no way all the other numbers are 0. What would you suggest a realistic value was? 30? then move...
  35. Replies
    14
    Views
    1,326

    Re: Natural log Calculation

    Thanks guys :), 1000 decimal places is too much of a challenge then, well i'll try for something more realistic like 200. Ill sit down with a piece(lots of) paper and work through some of this stuff....
  36. Replies
    14
    Views
    1,326

    Re: Natural log Calculation

    But in order to store e to that many places i must first make my big Number class. Which raises the question how do you perform ^ operations, on numbers that large when neither of the numbers are...
  37. Replies
    14
    Views
    1,326

    Re: Natural log Calculation

    :) thanks for the explaination, I needed it :). Could you please explain the square root one? All I can gather is that it is a sum of a sequence. The reason for this question is i'm trying to make a...
  38. Replies
    14
    Views
    1,326

    Re: Natural log Calculation

    Thanks, I'll look at the maths later.
  39. Replies
    14
    Views
    1,326

    Natural log Calculation

    In short, how do calculators work out what the natural log of a number is? I have read that the infinite sum:


    ln(1+x) = x - x^2/2 + x^3/3 - x^4/4 + x^5/5 - x^6/6 + ...


    Will produce the...
  40. Replies
    5
    Views
    824

    Re: 2 Mechanics Questions

    mechanics questions are the best!, if you want a good read, look for some perm and coms questions in statistics, they read like mud.
Results 1 to 40 of 255
Page 1 of 7 1 2 3 4



Click Here to Expand Forum to Full Width