Search Results - VBForums

Search:

Type: Posts; User: detlion1643

Page 1 of 9 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    22
    Views
    1,478

    [C#] Re: Collisions -> half working...

    Passel, thanks again for the great response!

    Describing out in great detail really put it into perspective for me. It's not confusing (well the simplified approach anyways). I chose to go with the...
  2. Replies
    22
    Views
    1,478

    [C#] Re: Collisions -> half working...

    I'm now back to reworking the paddle collision. I have all of the brick and wall collisions working out great. I originally sliced the paddle into 13 sections and changed the x/y movement based on...
  3. Re: [C#] Finding angles based on side lengths

    Jemidiah, thanks so much for the explanations and help. I have since gotten rid of all of that code I previously had and now with so many less lines of code, things seem to be working out great!

    ...
  4. Replies
    22
    Views
    1,478

    [C#] Re: Collisions -> half working...

    Do you move the ball at a faster rate than the width and/or height of the minimum width and/or height of any brick? That would cause the issue. Or do you happen to move the ball before the collision...
  5. Re: [C#] Finding angles based on side lengths

    That's why I posted. From what I've read when you don't know any angle but know the sides, you can compute the largest angle (opposite the largest side). That's where I started.

    Thanks for the...
  6. [RESOLVED] [C#] Finding angles based on side lengths

    I've been following solutions on various sites about the law of sines and law of cosines. However, I must be all mixed up or something because I can't figure out the formulas.

    I know the lengths...
  7. Replies
    22
    Views
    1,478

    [C#] Re: Collisions -> half working...

    Good job dday! I like your level generation, very easy. I have my level generation via code to maximize all sorts of different scenarios.

    Some things doable via code:
    - Bricks at any X,Y starting...
  8. Replies
    22
    Views
    1,478

    [C#] Re: Collisions -> half working...

    I am almost there. Some really glitchy movements atm, but it's coming together nicely. It's hard to pinpoint where or why the movement isn't correct as there are tons of points to check. I actually...
  9. Replies
    22
    Views
    1,478

    [C#] Re: Collisions -> half working...

    :D:D:D
    Did you do this in your bouncy ball game? If you did, I bet it plays a lot better :thumb:

    I am already beyond any attempts of going to back to not using Sin/Cos, so I am continuing...
  10. Replies
    22
    Views
    1,478

    [C#] Re: Collisions -> half working...

    I have since attempted to change my ball to move based on an Angle property. From debugging, I noticed some things that seemed different from the calculations above in Passel's old quoted post.

    I...
  11. Replies
    22
    Views
    1,478

    [C#] Re: Collisions -> half working...

    Passel, I must've been in the midst of writing my post when you posted. I've been idling through my words and thoughts and whatnot for damn near 2 hours now. Yes, I'm using C# (I thought I tagged the...
  12. Replies
    22
    Views
    1,478

    [C#] Re: Collisions -> half working...

    Now comes improvement time. I am currently basing my collision off of the outside bounding rectangle of the ball. I'd like to change that to coincide with the ball itself. I've read over this time...
  13. Replies
    22
    Views
    1,478

    [C#] Re: Collisions -> half working...

    Wow passel, impressive!

    FYI: The animations are already calculated on a time based movement. I am using a framework that provides a built in Animation class that does this. So, when I move an...
  14. Re: Understanding the correlation of static methods/events compared to non-static

    I think it's beginning to migrate into some game discussion now, which I didn't intend. But good points brought up.

    In the main game logic:
    - Loop balls 'this is to handle if more than 1 ball is...
  15. Re: Understanding the correlation of static methods/events compared to non-static

    I'm unsure whether if in the future I'll be updating the score from anywhere else... I think you've opened my thought process though. Maybe it's best to make a public static method on the main form...
  16. VS 2010 Re: vb net 2010 how to read a single string from a sqlite3 database file

    Your SQL statement would look something like this:
    "SELECT Quan FROM tablenamehere WHERE Name = 'scaff101'"
    Or are you looking for the complete code of writing your specific Command and getting a...
  17. [RESOLVED] Understanding the correlation of static methods/events compared to non-static

    I currently have a thread going in the Games and Game Programming subforum about a brick breaker game I've been coding. I've come across a scenario where I'm unsure on the preferred method of...
  18. Replies
    10
    Views
    451

    Re: Preferred way to exit an application?

    Might I suggest looking at JMC's codebank submissions. He has a great on on logon forms. Helped me in the past.
  19. Replies
    22
    Views
    1,478

    [C#] Re: Collisions -> half working...

    If anyone is interested, I figured out a way to send the ball on different angles based on where it hits the paddle. I divided the paddle into 13 sections. To preface this decision, I am originally...
  20. Replies
    22
    Views
    1,478

    [C#] Re: Collisions -> half working...

    Hey dday, I was writing up a reply to this thread when you replied. You might like to know that I fiddled with it a little this morning and think I got it figured out...


    Well after not coding...
  21. Replies
    22
    Views
    1,478

    [C#] Collisions -> half working...

    I am working on making an attempt at coding the collisions for breakout/brick breaker. I have already looked at the Bouncy Ball demo from dday. However, mine differs from that as I'm testing for...
  22. Replies
    9
    Views
    460

    Re: Debug

    I imagine you probably already looked at and/or tried a lot of suggestions. A quick search brought up this (some settings being checked and the app.config file):...
  23. VS 2010 Re: How to Connect arduino + ethernet shield to vs 2010?

    I don't know much about arduino's except for what they actually are and/or used for. A lot of car/pc enthusiats use them and have coded for them. There might be a library already built for this. A...
  24. Replies
    9
    Views
    460

    Re: Debug

    Do you happen to leave VS open for long periods of time and change code on the fly while debugging? I've come across issues where obvious lines can't become breakpoints when adding/changing code...
  25. Replies
    18
    Views
    497

    Re: web browser drop down boxes

    I was just pointing out that the id attribute is the one that gets tested and not the name attribute when using .ElementById("*"). If the element doesn't have an id attribute, then you gotta find...
  26. Replies
    18
    Views
    497

    Re: web browser drop down boxes

    FYI:

    That should be:

    <select id="somethingUniquelyNamed" name="SomeNameHere"...
    The .ElementByID("*") refers to the id, not the name.
    Not really so, in my testing, if using .ElementByID("*")...
  27. Replies
    18
    Views
    497

    Re: web browser drop down boxes

    We need to get the "option" elements that are part of the "select" element. Easiest way is to get a collection of the "select"'s children elements:

    Dim htmlCol As HtmlElementCollection =...
  28. Replies
    18
    Views
    497

    Re: web browser drop down boxes

    .GetElementById("") does just that, get's an element by it's id... The different options in the dropdown list don't contain id's. ID's are just like the "value=" you see, only it would be "id=*".
    ...
  29. Replies
    3
    Views
    185

    VS 2010 Re: Issue with Webbrowser raise Click

    How are you entering the value? Are you doing it manually? Via code?

    As for your "click event", do you see a click event attached to that element? Are you sure you're clicking the right element on...
  30. Replies
    3
    Views
    185

    VS 2010 Re: Issue with Webbrowser raise Click

    The keypress event looks like all it does is click the go button. If, like you said, you already hit the go button, why do you need to raise the event for the keypress?
    Not sure about the...
  31. Replies
    9
    Views
    412

    VS 2008 Re: Help with vb.net

    So, what have you done in the class up to this point? We're here to help you learn, not do your projects for you... Do you know what classes are? Constructors?
  32. Replies
    16
    Views
    617

    VS 2012 Re: Plugin Based Application

    I hope this seems relevant to the discussion, but is it worthwhile to have events in the interface?

    If the interface has events, then the main application has to hook those events for each plugin...
  33. Replies
    10
    Views
    562

    VS 2010 Re: Relative path! PROBLEM!

    First off, in the last screen, your not setting dbPath to the returned combined path...

    I don't know much about OLEDB so I'm bowing out now.
  34. Replies
    10
    Views
    562

    VS 2010 Re: Relative path! PROBLEM!

    It'll return a string.
    Dim dbPath As String = Path.Combine(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "YourAppName"), "YourDBName.accdb"). Now when you need...
  35. Replies
    10
    Views
    562

    VS 2010 Re: Relative path! PROBLEM!

    Why not use the special folders? IE:
    Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "YourAppName") creates a folder in C:\Users\*\AppData\Roaming\ named...
  36. Replies
    2
    Views
    399

    Re: Object Orienting -> proper methods

    Ah shoot.... I realized I posted this in VB.Net and not in C#. Could an admin/mod please move it for me? I can't seem to report my own thread for it, apologies...
  37. Replies
    2
    Views
    399

    Object Orienting -> proper methods

    I'm still learning the proper ways of OOP, and making things easier for other users and myself. With that said, I'd like to run a few ideas/code through the forums here to see if what I am doing is...
  38. Re: I have made most of the cosing but need help with finishing it off

    Because you need to protect all of the code that you have copied so far!?!?

    If another user has an issue with the exact same assignment, I'm sure they'd understand to stay far away from this...
  39. VS 2012 Re: SQL Query works in management studio but not in .Net

    When using SqlDataReaders, you must "Read" the results. Each "Read" will read the next row if there is one.

    I apologize if the loop isn't VB ready, I normally do more C# these days.

    If...
  40. VS 2010 Re: Changing from ClickOnce to a setup project

    After working with this for a while, I have gotten the entirety of it to a point I am satisfied with. Except for one issue...

    I have 2 different apps, let's call them MainApp and AppUpdater. The...
Results 1 to 40 of 337
Page 1 of 9 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.