Jump to content

  • Log In with Google      Sign In   
  • Create Account

deepDweller

Member Since 12 Feb 2011
Offline Last Active Jul 09 2013 11:07 PM

Posts I've Made

In Topic: Standardizing Frame Rates and Handling Objects

18 April 2012 - 02:27 PM

I'll admit that I'm not quite sure what a quadtree is, but I think what Kyan is getting at is that if you have a bunch of objects that don't actively move around the screen (such as doors as were his example), then you may be able to have those objects themselves process, in their own code, the camera offset and apply it to their draw position, saving you the trouble of storing them in a container and looping through them whenever the big camera shift function is called.

In Topic: Java 2d game engine

18 April 2012 - 02:08 PM

Recently I've been learning some Java in order to make some simple 2d games for the android platform, but this is my first time hearing about slick2d. It seems very nifty, but a google search seems to come up with people having problems getting it to work on the android. Oh well.

In Topic: [AS3] Dynamically loading files from a webserver

03 April 2012 - 12:12 AM

An alternative to a cdn? A crappy one would be renting a machine in the cloud (or in your bedroom), getting its address and serving stuff off there... A server stack is your back end technology for your web game. If it was a facebook style zynga affair, probably a standard http lamp stack would do? Not sure about as3 - generally for getting static data do an http get to your content store, for updating data do an http post to your web server.


Awesome!

Disregarding where the files originally came from, store them in the local cache with HTML5/ECMAScript 5, or at least encourage the broswer to do it with HTTP headers. That removes both loading times and strain on the web server.


Is that possible? Do you think it would be considered dishonest to store game-related files on a player's computer through the use of browser scripts?

In Topic: [AS3] Dynamically loading files from a webserver

01 April 2012 - 06:44 PM

Don't serve static data through your web server stack, serve it from a static store (preferably a cdn).


I looked up the acronym and I assume you're referring to this?

http://en.wikipedia.org/wiki/Content_delivery_network

Are there other alternatives to this? What would be another example of a "static store"?

I suppose one of my problems is that I don't really know how a "web server stack" works. Would firing a URLRequest from a flash player be the same as requesting a direct file download from the website?

In Topic: [ C++ ] Declaring an ifstream corrupts unrelated list<object>

06 May 2011 - 03:38 PM

Holy crap, thank you Wooh and alvaro for your comments! I looked into the subject of memory corruption, and read through the Valgrind website. It got me thinking - I went back to my program and combed through some of my older code with the search function, and it turns out, at some point I tried to incorrectly delete a stringstream object that was initialized early on in the program. Got rid of that line and everything is now working perfectly! I'm so glad I made this thread, even though I probably look pretty dumb right now. :D

even throwing out a little comment could potentially give me an idea to help solve the problem.


looks like I was right about that, at least :P

PARTNERS