gumshoe2029's Forum Posts

  • The webserver software that you are using should have cookies.

    We use Apache Tomcat and I use the HttpSession object to store a unique session id that I use to access a server-side in-memory cache that contains all of the specific player info.

    The basic idea is this: http://machinesaredigging.com/2013/10/2 ... sion-work/

    If you don't have cookies, then you have to use an amalgamate of parameters from the request like: External IP, User Agent, Time Zone, SSL parameters, etc.

    Like this: https://panopticlick.eff.org/

    I had come up with the idea of building a unique fingerprint for each computer, based on various request parameters, but it really only works with SSL, Flash, or Java Applets.

    In order for the username to be cryptographically secure, you need to use a cryptographically secure random number generator when creating session IDs, etc. For example, I use a cryptographically secure session ID using the SecureRandom class in Java to generate random bytes which I then convert into a Base64 string and include in the session ID, along with their public IP address, and the date in form (YYYYMMdd).

  • Nutzaboutpoker do you still have your checkers example?

    You can use rex board and squareTx to make a reliable board in C2.

  • The main properties of Construct that hang me up at the inherent asynchronicity of JavaScript and the fact that all root global events (even if they are sub-grouped) are automatically executed "per tick".

    Check and make sure you don't have conflicting conditions executing simultaneously or in quick sequence (like a toggle). With toggle switches, you must have a toggle variable and alter this parameter and change the object state based on the parameter's value, not based on simultaneously executing conditions.

  • You have to take the objects width into account.

    Like:

    X= platform3.ImagePointX (0) + Object.Width + 655

  • You should look at using parametric circle equations.

    https://en.wikipedia.org/wiki/Parametri ... ion#Circle

    http://www.mathopenref.com/coordparamcircle.html <--- for generic circle (of arbitrary radius)

    Then just spawn it at a random t-value between 0 and 2pi.

  • We do it like this:

    We have the mouse-centering disabled at the moment though.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Sorry for the reply delay, I was traveling for the holidays.

    Our game is still using the r206 version of Construct, so I can't get your capx working to run it, but I did look at your events, etc.

    You might have some layering problems too. Is your event supposed to happen on Layout 2? Because all of your events are currently on Event Sheet 1, which is inherently tied to Layout 1. If you want to add Event Sheet 1 to Layout 2 also, you need to specify by selecting the layer and setting the "Event sheet" to Event Sheet 1.

    However, the actual actions should look like this ( I believe ):

    You would need to change the layer too from "Action" to "Layer 0" if you wanted this to happen on Layout 2.

  • You can change the angle of the arrow to aim it.

  • Our main layout uses a roughly 10,000 x 10,000 px field of view with around 40,000-400,000 sprites on screen at a time. No animations on any of these sprites though.

  • Why not just have a stat text/sprite that only becomes non-opaque when you mouse over it (or some other innocuous action)?

    Otherwise, you get to write a custom plugin using http://stackoverflow.com/questions/1636 ... dow-pop-up

    or

    http://www.ian-devries.com/multiscreenjs/

  • You will never have a reliable unix addon that works in android since all JavaScript time plugins rely on local system time which can be tinkered with/manipulated freely.

    C2 doesn't even really use time, per se, anyway, it operates purely on the concept of frames and the time component comes in frames per second. C2 is designed to run at 60 frames per second, and has a 'dt' parameter to allow you to get frame-rate independent time measurement relative to the 0th time from app launch based exclusively on local system time clocks. Like: https://www.scirra.com/tutorials/67/del ... dependence

    If you want un-manipulable time, then you have to use a server.

  • Sometimes it is graphic drivers, firmware, etc. Just because you have good hardware doesn't mean that the driver handles all of your game code properly... although C2 should technically account for that.

    Other than that read: https://www.scirra.com/manual/134/performance-tips

  • Hardware problems... the bane of software developers existence.

  • Randomly in what way? In position? In time? In color? In orientation?

  • You have to use C2 Multiplayer or do your own multiplayer solution.