C# - Developing A Small Browser Based Game?
May 14, 2010
I am developing a small browser based game in asp.net. Think of a game room which has a capaticy of 22 players and players join the room by clicking a button. ( I am saving the number of players in the room in database) I need to call a method when the number of players in the room is 22. The problem is I don't know how to control the number of players in the room. I mean I think like there need to be a bacground code which has to run all the time at the server and that code controls the number and call the function.
View 4 Replies
Similar Messages:
Feb 12, 2010
Can anyone developing this small asp.net mvc application.
Login Page:
User Logs in through login.aspx page by providing username and password textboxes and clicks on login button.
Based on the valid credentials the user is redirected to the DashBoard.
MasterPage:
All the pages will be using MasterPage which has the following tabs.
Activity
Tasks
Dashboard Page:
The user will be redirected to this page after login page which displays the Activities and Tasks in 2 different gridview.
Activity Grid will display:
Activity
Task
ActivityDate
On click of each of this activity the page should display div popup menu with the following:
Show Activity Details
Add Activity Details
Edit Activity Details
Search Activity
On click of the above listed links the user will be shown a Popup of the appropriate aspx page
View 5 Replies
Sep 22, 2010
beginner programmer - basic C#, first year of university going too slow in terms of actually learning programming. i'm looking at creating framework for a basic browser game, in the vein of urbandead and the now dead nexuswar. because i'm a student i already have visual studio 08 for free - because of this, and my experience with C#, is it worth it to choose ASP.NET/ADO.NET over PHP/mySQL for this kind of project?
View 3 Replies
Jan 17, 2011
I am using Visual Studio 2008 Express and I wish to select a file for downloading. I have seen websites that when you select the file for download, a small browser appears to ask you where you which to store this data to.How do I get that component ?? I know the path on the web design where my data is store, and if its must be a hyperlink, I can make a hyperlink to that path.All I wasnt is when the user select the file he wish to download, a small browser appears to ask where he was that store to.Can someone tell me what I need to do to get that ?
View 7 Replies
Mar 18, 2011
Does anyone know of a way to embed a web browser within a web page, e.g. through a Java applet or similar mechanism? I have reviewed the discussion on various solutions for embedding a browser in a Java application. However, this will not work for our web-based tool, which is built on an asp.net framework. Using a Java applet is our current idea, but if you have other suggestions to address this issue
This is to be used in a web-based tool that guides middle school, high school, and college students to read websites critically. The tool provides a set of guiding questions and other information along with a data-entry box surrounding the actual 3rd party web-page being viewed. The purpose of our tool is to allow teachers to choose websites for students to view and analyze - or allow students to choose the sites themselves. We (/the tool) do not control what sites or types of media are chosen.
We are currently loading the web-page in an IFrame, but that technique is limited in several ways. It does not provide full control for browser-like features we would like to provide, and is very sensitive to changes in both third party web-sites and to browser versions used by students. The most difficult issue we have pertains to anti-hijacking mechanisms used on the third-party sites. For good reasons, they use mechanisms that make them impossible to load into an iFrame -- that is, when you try to load the page into the iFrame, it will take over the entire browser window. Not only will the page not load WITHIN our frame, it will actually make our application "disappear", thereby making it impossible for students to use these sites within our tool, and potentially also causing students to lose their work.
View 1 Replies
Feb 20, 2010
i would like to have the browse list which does NOT support the .net based created website
View 3 Replies
May 19, 2010
In one online application, like online exam, If two users are on same IP address series then I need to generate questions that are completely different.
I am having no idea what approach should I follow.
View 1 Replies
May 27, 2010
Is it possible, from within ASP.NET MVC, to route to different controllers or actions based on the accessing device/browser? I'm thinking of setting up alternative actions and views for some parts of my website in case it is accessed from the iPhone, to optimize display and functionality of it. I don't want to create a completely separate project for the iPhone though as the majority of the site is fine on any device.
View 2 Replies
Jul 23, 2010
In Visual Studio 2010, is there a way of changing the Cascading Style sheet on the server-side based on the client browser? I want to create different style sheets for the different browsers (Firefox, Chrome, IE, Opera, Safari etc..) and specify which one to use from the master page.
View 2 Replies
Jul 27, 2010
i have some flash game that the user can save his name and scores. the flash game sends tha values with POST method. how can i call this values from asp.net cs page? when its in get (querystring) i know how to get this value but its not good because of security problems.
View 1 Replies
Jul 7, 2010
I have some javascript files for each browser version and for different browsers. I want to include this files in script tag of script manager. Is it will detect these files and load based on browser version? Is there is best way to handle this scenario declaratively in markup insted of codebehind?If not declaratively how in code behind?
View 2 Replies
Oct 1, 2010
I was wondering, though I have got quite a few articles in this regard and all of them are for previous versions of XNA or not what I need, is it possible to embed an xna game in a asp.net website???
Means like there are several websites (game portals) having several games of may b flash or java. But is it possible to embed your xna game in a web site, and play it on web. May be using Silverlight so that User playing online do not have to updates its DirectX drivers or stuff.I am a beginner in Game Development.
View 2 Replies
Jul 13, 2010
Is it possible to host a game say counterstrike on ftp. eg. [URL]
This provides a game control panel to handle server from website. How game gets started on hosting server. Do we needs to install game on hosting server though commands given in its API. or is it there some other procedure to host game on hosting server
EDIT
Try referring to this link which show requirement of the control panel. I want to develop a same kind of thing with only starting and stopping server
I apologizes for not being able to explain my question clearly as even I dont know how to make my question clear as I used to play this game host server on my system. But want to host server on web hosting server.
View 1 Replies
Apr 5, 2010
I would like to know how a browser based POST request is converted to server side event like button_click.
View 3 Replies
Jan 20, 2011
I need a reliable way of checking if a user is logged into a web based game. This is the scenario:
I have a game on the front end built in Flash with Actionscript 3, that calls a web Service in .NET. So in some way I'd like to create a reliable way of getting a list of users that are logged into the game. I would need to create a Timer in Actionscript that calls a method in the Web Service every certain amount of time, but I'm not sure which is the best way to do it on the server side.
I remember in the old days with classic asp I'd use global.asa and it was not reliable at all. Also, checking a database with a boolean, would always depend on the user clicking on "logout". So i guess there needs to be some kind of asyncronous coding in there somehow.
View 9 Replies
Mar 17, 2010
I am starting to develop a facebook game using ASP.NET + Silverlight
Which architecture would you use? ASP.NET MVC or MVVM or RIA Services?
ALso what do you think about using XNA with Silversprite?
The game won't be a arcade game. It will be more strategy/RPG.
View 2 Replies
Jul 3, 2010
I have one grid view, similar to a Ranking, a ranking of Players registered on my created game. I added a Select button, "Play" to this grid view, and what i want to do is connect the play button with another player. Dont know if im explaining it all right but, its likeClick "Play", It goes to Ranking Table, Gets the mail of the registered player i want to play, and then i do my function about who wins the interaction.
View 1 Replies
Aug 16, 2010
I am going to start a new online trading simulation game.
Server Page:
A game will be loaded with an xml which contains the instruments for this game and each instrument initial and changing factor price(which determines the price for the next interval ex: 1 min).
User Page:
After the game is loaded successfully, Users can launch a page where they can buy/sell instruments. During this buy/selling process, the profit/loss should be shown to user in real time. A dropdown will be populated with the instruments, when selected, should show a real time graph of the price.
Design:
I want to use ASP.NET and silverlight to develop this application where an ajax request will be sent in configurable time to the server to get the latest details about the instruments. Then based on the response, the client browser will be updated with the latest prices. The instrument graph also will be updated in the same way. So, I would like to know whether this is a right way of building this applicaiton.
View 1 Replies
Mar 26, 2011
I was searching server software to build a Multiplayer Online Game. All of the servers I found up to now use Java in the server side (ie smartfoxserver)
Today I found this one, Photon, that seems interesting because it uses .NET, you can see it here:
www.exitgames.com
View 4 Replies
Dec 31, 2010
my question is this, how can i simulate a text base basketball game in a web application.
The game logic class is ready and in use in my WPF application, however I want to transfer it to a web base application. But I have no idea how to keep the game thread a live + updating the UI every second.(only text update are required).
View 1 Replies
Aug 9, 2010
I'm trying to create a typical Housie/Bingo Game ticket in Asp.net 2.0 (VB). But, not being succeeded. Ticket contains 3 row with 9 columns. Total 27 blocks, and it must be only 15 should be fill outta those 27. and each column contains value like 1st column should be between 1-10 and 2nd must have random values between 11-20.. It doesn't matter how many blocks filled in each column.. 1 is must, no single column should be blank, all 9 columns must be filled, some have all 3 blocks filled, some have 1 with total of 15 blocks filled in whole ticket. with random numbers..
Guys here was the typical housie ticket specification.. Please help me out generating a ticket like this. I've tried but, not being that much succeeded, I get whole column blank and validating columns.. takes extra load on system. please find me the way to make it.
View 1 Replies
Oct 14, 2010
I know the content palcehlder does not have a size ,I have a masterpage and content page, the master page has a table with a header, content area, and footer, header and footer are fixed size, content area is 100%. As the user sizes the browser the content area grows and shrinks and the footer stays at the
bottom of the browser window - perfect!
Problem: The contentpalceholder does not grow to fill the available content area. Now, the contentplaceholder gets its size from its contents, which in this case is a div holding a silverlight object.I was thinking I could hook the master or child page's re-size event and somehow pass that info onto the SL object, but as it turns out (and I'm surprised I never knew this) there is no aps.net page re-size event! (really?, wow.)
So is there a way to get a SL object hosted on a master page to size itself based on the size of the browser window?Or more generally, a way to size the contents (like a div or panel) of a contentplaceholder based on the browser? on a standard aspx page (not a master page) I CAN get the SL object to size itself based on the broswer, the problem seems to come from the fact that I'm hosting the SL object in a content placeholder.
I guess I could 'unroll' the master page into several standalone pages and have it work, but the menu is on the master page and I'm used to using them, plus it's already done...<sigh>
View 1 Replies
Jul 14, 2010
I am a student and i want to make online gaming website as a part of my academic project.
Now the problem that i am facing is that as it is an academic project i have to use downloaded swf games into my project . now i want to fetch the highest score for an individual for a particular game and i want to store that data into my database so that i can populate the list of high scorers for any particular game on my webpage.
View 1 Replies
May 29, 2010
It is an online game, I need to develop a 'Launch' button on the game site to launch the client side game. I have seen this in several online games like this one. How can this be done?
Note: I am using ASP.NET to develop the website.
View 2 Replies
May 29, 2010
I am passing query string and the url is as follows-> http://localhost:1086/Web/EditMobile.aspx?sno=2. But when i try to enter the url as follows,localhost:1086/Web/EditMobile.aspx?sno=2*3424324423432424* , i get the following error->Value was either too large or too small for an Int32. How do i handle this error. I must get an error report like " the value is not found in the table or database"
View 1 Replies