Member Avatar

Hi everyone. Well I've been trying to figure this out for a quite a long time now by looking at some examples and searching the web, reading some tutorials and so on, but I don't even know where to start yet. Can you explain to me about the sprites too and how I can use them or at least link me to a tutorial? But my main concern is how am I suppose to get the mouse click position and make the bullet travel in its direction until it disappears from the screen or it hits an object (Which I …

Member Avatar
0
35
Member Avatar

I have a code designed to show the different spaces a knight can move to in a standard chess game. It needs to be a function created that outputs the possible spaces in tuples. I can't figure out how to make the output in tuples and I would appreciate it if anybody knew how to make this code more efficient. [CODE]def knightmove(x, y): and have the output turned back into letter, number form rather than the current number, number form that it is in. endloop=0 while endloop==0: xcoord=x ycoord=y xcoord=xcoord.lower() if ycoord>8: print "The 'Y' co-ordinate you entered is invalid" …

Member Avatar
0
5
Member Avatar

Hi, I want to move a shape (label) when I press WASD around a maze. I got what I have so far off the net, but I cant figure out whats wrong with it. [URL="http://www.programmersheaven.com/mb/VBasic/223364/223860/re-basic-key-press-question-answered/"]Original code[/URL] [CODE] Public x 1 'This is whats wrong - it says "End of statement expected" when mouse over Public y 1 'the "1" Private Sub Form_KeyDown(ByVal KeyCode As Integer, ByVal Shift As Integer) ' if keypressed is right move the shape three more ' spaces to the right If KeyCode = 68 Then x = x + 3 shape1.Move(x, y) End If ' if …

Member Avatar
0
13
Member Avatar

I am trying to move the huge no of file into different folder.. the files in the style of "HNI [0-9]{3}.*.jpg" i.e [ICODE]HnI 001.Sunday Party.jpg HnI 002.Car.jpg . . . and so on[/ICODE] I want to place the certian no of files in the single folder like.. .[ICODE]mv file1 file2.... fileN destination[/ICODE] i tested with something like .... [CODE] $for i in *.jpg; do n=`echo $i |cut -b 5-7`; if [ $(($n > 30)) ]; then echo $n; fi; done; 025 026 027 bash: 028: value too great for base (error token is "028")[/CODE] can't understand what the problem... and …

Member Avatar
0
8
Member Avatar

Hi, thanks for helping. All this code does is remove the checked items. I want to remove it from one listview box and transfer it to another. Is that possible? [CODE]Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click With ListView1 If .CheckedItems.Count > 0 Then For checked As Integer = .CheckedItems.Count - 1 To 0 Step -1 .Items.Remove(.CheckedItems(checked)) Next End If End With End Sub[/CODE]

Member Avatar
0
11
Member Avatar

Hi, My front end has a Tshape(Cirle) Over a Panel and I am trying to move the circle on the panel and get the X and Y values and send these values through comport for serial communication. However I am able to retrieve the values but the shape is flickering when I move it over the panel and it finally disappears.I am having the shape at the center of the 120*120 panel and having the center of the shape as 0*0. When I move the shape towards the left I should be getting -60 to 0 and towards right 0 …

Member Avatar
0
7
Member Avatar

It only took Sony four years, but they’ve finally created their version of the Wii killer: a glowing magic wand lollipop known to the world as the PlayStation Move. Requiring Sony's PlayStation Eye camera to deliver the experience dubbed by some as the most advanced motion controlled gaming to date via Bluetooth technology, it is slated to take interactivity to new heights for casual and hardcore gamers alike[ATTACH]15862[/ATTACH]In conjunction with its release on September 19th, Sony plans to release two Move bundles, which were announced and priced on Wednesday: the PlayStation 3 Sports Champion Move Bundle and the Playstation Move …

Member Avatar
1
3
Member Avatar

Hello. I have a file, with some HTML in it. I would like to make a shell/bash script that moves ALL of the content of that file into ANOTHER HTML file at a CERTAIN line number... Does anyone have any suggestions? If not possible at a certain line, then at the END of the file. Thanks a lot in advance ~ Nikhil

Member Avatar
0
5
Member Avatar

Hello. I have a file, with some HTML in it. I would like to make a shell/bash script that moves ALL of the content of that file into ANOTHER HTML file at a CERTAIN line number... Does anyone have any suggestions? Thanks a lot in advance ~ Nikhil

Member Avatar
0
2
Member Avatar

Hi everyone, Just a quick question please. Its it possible to MOVE index.php files to a different location ?? if companyA registers to advertise would it be possible to move the index.php i have created to [url]http://websitename.com/companyA/index.php[/url] so the complete URL would read [url]http://websitename.com/companyA[/url] Id like to do the above but not sure how to move a file in php ?? any pointers would be very appreciated.

Member Avatar
0
3
Member Avatar

I have no idea how to move a bitmap with the arrow keys. Here is my code [CODE] #include <windows.h> #include <tchar.h> #include <stdlib.h> #include <string.h> #include "Menu.h" #include "Icon.h" LPCTSTR ClsName = L"App"; // Class name LPCTSTR WndName = L"WindowsAPI"; // Window title HWND hwnd; // Handle to our main window //////////////////////////////////////////////////// LRESULT CALLBACK WndProcedure(HWND hwnd, UINT Msg, WPARAM wParam, LPARAM lParam); //////////////////////////////////////////////////// INT WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR lpCmdLine, int nCmdShow) { MSG Msg; // Structure to hold messages for our WinProc WNDCLASSEX WndClsEx; // Our WNDCLASSEX structure used to define a window // Define our window WndClsEx.cbSize …

Member Avatar
0
26
Member Avatar

is there any way to move files from old host to new host without upload the files from my computer i have asked my hosting about FXP but they doesn't support it can it be done by any way or by PHP script to archive the files in zip file and move it by php script ?

Member Avatar
0
2

The End.