Sunday, November 2, 2014

Web and desktop programming, a few common easy questions.

WEB:


Can i make high graphic small games by WEB? I heard it is impossible because of speed problem, but there is client-side programming like Javascript. So is it possible to make high graphic small games using WEB just like it does on desktop?


Can i run, for example, Javascript code in a browser without internet connection?


If web programming can make high graphic games without speed problem, so, why people still learn desktop programming to make small games instead of WEB?


I am learning C# Windows Forms desktop programming over 2 years to make nice games,


did i make a serious mistake?


Should i switch to WEB, for example, ASP.net or Javascript to make pretty good cross platform games?


If you answer these simple question correctly, you help me much, thank you!


Web and desktop programming, a few common easy questions.

Thank you for attention!


Let's get a final answer:


-not so much,


-cuz there is a limit for what u can get with web and what u can get with a real 3d engine/card


What does "not so much" mean? I wanna make 2d graphic games and may be 3d in the future using clean language, not engines.


I don't wanna make websites or forums, i wanna make pretty cool games.


What should i choose finally? WEB (JavaScript, ASP.net..) or Desktop (C# Windows Forms)?


Is it true that web is for websites and simple pages, but not for serious games that i wanna make.


I wanna make for web, because it is cross platform, but is it possible?


Please help with the final answer, because i have read so much, but didn't find what i need for.



Web and desktop programming, a few common easy questions.

I wanna make simple games like flash games, but by clean web to write it once and run everywhere.


But is clean web like html able to make games like flash games?


Please give me one correct answer, thank you!


Clean html, javascript - are they able to make good games like those flash games on the internet?


Web and desktop programming, a few common easy questions.


Thank you for attention!


Let's get a final answer:


-not so much,


-cuz there is a limit for what u can get with web and what u can get with a real 3d engine/card


What does "not so much" mean? I wanna make 2d graphic games and may be 3d in the future using clean language, not engines.


I don't wanna make websites or forums, i wanna make pretty cool games.


What should i choose finally? WEB (JavaScript, ASP.net..) or Desktop (C# Windows Forms)?


Is it true that web is for websites and simple pages, but not for serious games that i wanna make.


I wanna make for web, because it is cross platform, but is it possible?


Please help with the final answer, because i have read so much, but didn't find what i need for.




unfortunatly there isnt a strait answer, we dont know ur level of programming nor what you wish for.


the basic advice i can give you is that if you want to be a real pro in game dev you just cant do it in native language without libs and engines, and you cant do it in web. even simple web games uses libs, cuz its tonz of math and vectors that would take you eons to develop.


if there is one think i am sure of is dont develop anymore in winforms, its really dying, and on the other hand do make some web games like 2-4 so that you can see and feel the entire context and efforts needed to create a real game, and maybe even go learn computer science. on the other hand remember that "heavy" game dev like wow, sc2, diablo (ye i'm a bliz fan) mean most of the time you take 1 object, like hand, water, shiled ect. and work on it for years, and not "completing" your own full games.


hope that helps, sry for my lazy eng.


synchronous multiple socket client clarification

I am going to create multiple synchronous clients . I need some explanation about below code. When i am creating a socket like below and call connect what is happening at network level.


I believe when we create a socket and call connect, a TCP/IP connection a tunnel made between client socket and server socket.


Once this sender(socket) connect with server ,that client & server will have a unique tunnel between them. if i create another client it will have another unique tunnel between them.


In case if we got an error, that the client is not connected, always we should reconnect using existing socket(sender) then we will access the same data/connection that we had. And we should not create a new socket then we will have a new tunnel and we will lost the previous connection and data.



Socket sender = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp );
sender
.Connect(remoteEndpoint)


Please clarify if i am wrong.


ListView SelectionChanged Event not fired correctly

Hi,



alright I figured out 2 things:

1) That the addedItems list was empty was probably due to an event order issue. I think that the event for the selected element was somehow processed first. Why I cannot say exactly, because it only happens, when the Listview had a selected Item, without a selection it works.

2) In the event handler I tried to get the ListViewItem for the newly added element. But when the event is fired, but it does not exist yet. So I have to figure out something else, because I want to change the ListViewItem, when it is selected.



So think my issue has to do with event processing and threading. I didn't really look into that yet. If anybody could point out on where to find out more about that, I would appreciate that.



Regards,

Rico

Friday, October 31, 2014

How to query WCF webservice and pass a parameter

See if this helps.


Andy Tauber

Data Architect

The Vancouver Clinic

Website | LinkedIn



This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click "Mark as Answer" and "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.