It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am making a game in which you move the character with the arrow keys, and I want to do something when it collides with a certain step. (See picture below). I want the top value of my character to increase every time it touches the steps, and the second flight of stairs, I want it to descend. I have tried and tried to no avail. Any help?
Doing a Bing search on Collosion detection with VB6, I found a few articles out there.
Try looking at:
http://www.vb6.us/tutorials/rectangular-and-circular-collision-detection-vb6
But as #Matt Ball is trying to say, is in order to help you we need to see what code you have tried. Otherwise anything we come up with is just a guess of what your problem is.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am working on finding the similarity/differences in the source code of different java programs.
I've used an implementation of the Levenshtein algorithm to find how similar two programs are.
I want to know if there is any algorithm that can help in finding the exact positions where two strings differ.
You will find more than you ever wanted to know by looking at the inner workings of diff - see for example this link or simply the wiki article
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm not sure how advance a subject this is, but I am wondering if there's a code that can do the following:
Scan each pixel in an image.
Get the Red, green, and blue values of each pixel.
Assign the x and y position's and color to a table/variable, which ever is the most efficient (And possible).
Use this data in a separate script/function to make something happen based on the RGB values.
So, can this be done in Lua? And if not, is there a language that can attach to Lua like C++ that can? Or am I not able to have Lua at all? I've done some searching but can't find an answer. Not even sure if this is possible, doesn't seem to have popped up anywhere.
It is definitely possible with libraries. See this page for a list. If you do not know which one to choose, start with imlib2.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am implementing a virtual file system. As part of it, i am trying to add the content based search feature to it.
Basically content based search feature allows user to search for a "word" and the system returns all the file names which contain the "word" in their content.
In my view trie would serve my purpose. But it is not space efficient and while constructing it, it seems i need to populate wit with all the words from the entire content.
Please suggest me with a better get around solution.
Patricia tries could be a little more space efficient than the normal tries. Check if they might serve your purpose although I am not very sure.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
On Shai's blog entry about Searchable list, I noticed that he commented that since he optimized LWUIT some things are broken.
I want to implement search on my list in LWUIT, please how do I implement? Some basic examples would also be very helpful, thank you.
The only thing you need to do is explicitly invoke form.registerAnimated() which was missing in my original demo code.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I was just wanting to go ahead and make an OS. Because working on projects makes one's knowledge quite good enough. I know I will have to study OS inside-out before actually trying to implement one on my own. I also know I wouldn't be able to implement something right from square one. So I searched the internet for something to work upon. The most common option that I found was to work upon existing Linux distro and contribute to it.
But I found some more interesting options. Would like your suggestions on what to choose for and work upon.
LFS: http://www.linuxfromscratch.org/lfs/
PintOS: http://www.scs.stanford.edu/10wi-cs140/pintos/pintos_1.html#SEC1
Cosmos: http://www.gocosmos.org/index.en.aspx
I would get around 6 months time to work upon it. But before I start off with it, I want to do my research work properly and finalize what and how to work.
Drop in your suggestions on what should I use to work on. :)