|
Hi everyone
We have many .doc files in an Ethernet,and many users are editing these,
we need a system version control over them which lets the progress get done concurrently
so anyone suggests any idea or experience ,I'll be thankful.
|
|
|
|
|
Pooya Musavi wrote: We have many .doc files in an Ethernet,and many users are editing these,
we need a system version control over them which lets the progress get done concurrently
Very interesting.
One question springs to mind though. What does this have to do with C#?
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
I don't know how to make collisions work for a game I'm currently making. I have an image (800 / 600) and a person. I'm not going to make any tile classes for the level (at least yet...), but I can't seem to get the person to 'work' with this. They fall through places and such, and sometimes when there's cliff, move straight to the top of it when moved that direction.
I have a physics engine I could utilize, but I heard it isn't great for platformers.
(To help understand my issue, I want something along the lines of the game "Braid")
If anyone could give *** *** *** ANY *** *** *** insight or help, please do. Even if it's a different design idea (such as tiles). (And please don't bring XNA's Torque level building whatever into this)
I hope I explained my issue well, but if there are any questions about the dilemma, please ask.
PLEASE help if you can. Thanks many in advance.
- I love D-flat!
- Need. More. Code.
|
|
|
|
|
I've not used XNA, what does it add to C# ? that is, if I wrote an article on per pixel collision detection ( I did, it's here on CP ), would it help, or are you using some level of abstraction in XNA that protects you from that sort of code ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
XNA just adds certain specific things easier for beginners. (Game loop, draw loop, simpler things)
It could help, and I might have seen it a long time ago... so maybe not...
Btw: I switched the design to tiles.... I've almost got it but ONE part doesn't work.
What exactly is the algorithm for collision.
I set it up to find if the velocity.X / Y is smaller / bigger (based on input) and from there updated certain parts for positions, but it doesn't seem to work right. (The player ends up on top of the platform as they fall....)
- I love D-flat!
- Need. More. Code.
modified on Sunday, March 16, 2008 11:39 PM
|
|
|
|
|
I am trying to implement an ADT specification for a SET and i have got the specification now implementing the interface with C# is the problem. Can someone help me with coding it in C#
<br />
using System;<br />
namespace SetInterface<br />
{<br />
public interface ISet<br />
{<br />
int Cardinality {get;}<br />
<br />
void Add(Object element);<br />
<br />
void Remove(Object element);<br />
<br />
bool IsMember(Object element);<br />
<br />
bool IsEmpty();<br />
<br />
bool IsSubsetOf(ISet anotherSet);<br />
<br />
bool IsEqual(ISet anotherSet);<br />
<br />
ISet Union(ISet anotherSet);<br />
<br />
ISet Intersection(ISet anotherSet);<br />
<br />
ISet Difference(ISet anotherSet);<br />
}<br />
}
|
|
|
|
|
|
Look at the other replies you've received and get the clue...
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
The specification and requirement are already spelled out for you, at least you need to attempt it yourself.
ADTC.Add(FlipBurger);
ADTC.Add(McDonald);
ADTC.Remove(ProgrammingCourse);
bool isEmpty = ADTC.IsEmpty(); // 99.9% returns true
bool isSubSetOfProgramming = false; // ADTC.IsSubSetOf(ProgrammingSet); Fixed, never returns true anyway
ISet anyOtherJobBesideProgramming = ADTC.Union(AnyJobOMGSet);
|
|
|
|
|
Read this[^].
This looks a heck of a lot like homework, sounds like you're going to fail. Learn from the experience, next time, do your research, pay attention in class and get the resources you need, such as reading the texts they provide. If all else fails, try to do your own homework and ask specific questions like 'here's my implimentation of a difference function, but it's returning only the items that were in the first set, how do I fix this ?'.
We never do homework where people are too lazy to try for themselves, but I think people like yourself sometimes don't realize that we are here to help, for people who are willing to try.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Is there a way to take offscreen captures of a application, the article http://www.codeproject.com/KB/graphics/screen_capturing.aspx[^] use the handle, but does also show the visible foreground programs. I want only the application, and not the foreground applications.
Note: The Taskbar Popups in Vista does what I want, but I do not use Vista.
|
|
|
|
|
Hello..
I did the Riemer's XNA tutorial about moving water http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series4/Moving_water.php[^].
Now I'm trying to adjust the code a little bit so that I can control the wave using the keyboard. I know that I can control the wave here:
effect.Parameters["xWaveLength"].SetValue(0.5f);<br />
effect.Parameters["xWaveHeight"].SetValue(1.0f);
Anyone who can help me to change the code coz I'm so bad in programming..
[img]http://img488.imageshack.us/img488/6241/signaturesakirahku9.jpg[/img]
|
|
|
|
|
I'm not sure doing graphics programming with DirectX (XNA) is the correct thing to do if your find yourself "so bad in programming". Changing these values using the keyboard should be a thing of five minutes for any advanced programmer.
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Hi,
Try this code:
<br />
float x = 0.5f;<br />
float y = 1.0f;<br />
<br />
if (Keyboard.GetState(PlayerIndex.One).IsKeyDown(Keys.Up)) <br />
{<br />
x += 0.1f;<br />
}<br />
<br />
if (Keyboard.GetState(PlayerIndex.One).IsKeyDown(Keys.Down)) <br />
{<br />
y += 0.1f;<br />
}<br />
<br />
effect.Parameters["xWaveLength"].SetValue(x);<br />
effect.Parameters["xWaveLength"].SetValue(y);<br />
Have a look at the Chase Camera example on the XNA creators club site. When I was beginning XNA I found that example to be very useful for learning the basics - primarily camera and model movement.
Mark.
|
|
|
|
|
Thank you so much..
[img]http://img488.imageshack.us/img488/6241/signaturesakirahku9.jpg[/img]
|
|
|
|
|
hi
I want to know how to install a software which is developed using dot net bar components.
Please do let me know
thank u
*** Why EXPERTS behave like a fool ***
|
|
|
|
|
Let me get this right! You want to install software developed in .NET onto a Windows Computer right?
If so the there is already PUBLISH tool available in Visual Studio.NET. Goto your project properties and then Publish. Goto Build -> Publish yourAppName
This will create a setup file for for your application and then... you should know the rest.
- Stop thinking in terms of limitations and start thinking in terms of possibilities -
|
|
|
|
|
thank you,
As in the refrences folder dlls will be added (DevComponents.dll)....
So i want to know how to register these dlls to the clients GAC
Publish will work,,
Please tell me how to add dlls to the clients system
*** Why EXPERTS behave like a fool ***
|
|
|
|
|
Everything you are using or have used will automatically be added to the setup file. And as far as I know I don't think you will need to register dlls on client's GAC, because they are already registered in VS. But I may be wrong about this.
Read this artical it may help you understand Publish Feature.
http://msdn.microsoft.com/vstudio/tour/vs2005_guided_tour/VS2005pro/Smart_Client/ClickOnce.htm[^]
And simple way to find out is Test it! Create setup file and install on other windows machine.
- Stop thinking in terms of limitations and start thinking in terms of possibilities -
|
|
|
|
|
killerp wrote: because they are already registered in VS.
If the software is being installed on a client machine, then VS will not be present
only two letters away from being an asset
|
|
|
|
|
Allright!
Well the easy way to do is to Create your Installing package and in that you can use the following code to register your DLL.
<br />
{<br />
<br />
System.Diagnostics.Process.Start("regsvr32", "LocationOfUrDLL /s");<br />
<br />
}
Hope you get it done!
- Stop thinking in terms of limitations and start thinking in terms of possibilities -
|
|
|
|
|
Great, if the dll is a COM component.
OP: So i want to know how to register these dlls to the clients GAC
only two letters away from being an asset
|
|
|
|
|
Thank u i got idea about this..
*** Why EXPERTS behave like a fool ***
|
|
|
|
|
|
i trying use my cursor in c# but my cursor colour not colourful, it's colour is black and white. how i do?
my code:
this.Cursor = new Curso("D:\\Cursors\\cls_m2.cur");
|
|
|
|