twdead's Recent Forum Activity

  • ok seems to work in IE now.

    If you want to see it completely in fullscreen find

    while( ch < $(window).height() ){

    and change .height() to .width(). No real way to use that yet but it might be interesting to play with ...

  • This is what I got so far:

    http://dl.dropbox.com/u/349494/c2project0/resize.html

    It isn't total fullscreen because you'd either have to stretch the canvas out to cover everything or have scrollbars I think, so this is the best I could do to keep the canvas proportional. Hitting the fullscreen text will make it resize vertically to the dimensions of the window and escape will move it back.

    The code for it is at the bottom of the html file where the runtime code is, it's just a few lines.

    Also apparently it doesn't work properly in IE. So give me a few more minutes to figure that out and it should work fine.

  • I just tried adding a jquery script to resize the canvas and it appears to work. I'll upload it in a minute.

  • If it's a good story you can find a market for it somewhere.

  • I'm making a top-down shooter with Rexu's LOS code running for the enemies and the player, so a crosshairs object disappears if the player can't actually 'see' what they're aiming at.

    I thought it was working perfectly until I linked the player angle to the crosshairs (so that if the angle of the crosshairs is +- 45 degrees from the current angle, the player turns to face the crosshairs), what seems to happen is when the line-of-sight code runs, the position of the crosshairs goes completely random at every tick and as a result whenever you get close to a wall or aim behind it you end up spinning around randomly as well.

    What's supposed to happen is, the opacity of the crosshairs just turns off or on depending on whether they have line of sight.

    I don't even know what to try here because I can't even figure out what would be causing it.

    http://http://dl.dropbox.com/u/349494/c2project0/index.html

  • It is... probably awesome, even though I can't see the effect in Chrome, Firefox or IE and I'm sure I have all of them updated (probably my graphics card is too old.)

    But for non webgl-enabled browsers, would you have to consider having the game be playable in 2d as well?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't think you can have a secure game if all the code resides in someone's browser.

  • Gameplay... it's a game. People still enjoy Tetris after all and Space Invaders and all manner of clever old games that don't look necessarily fantastic but are still addictive and fun because of the mechanics and challenge.

    Graphics are like... the cover of a book. It should look nice, and reflect the quality of the product inside, but if you open a book up and it's crap, you're not going back to it no matter how nice the presentation is.

  • Just export the files to a public dropbox folder and wait for it to sync. How much easier could it possibly be?

  • I know a method but not now to apply it to construct 2.

    • Put the first value into an array,
    • start a while loop that doesn't close until the size of the array matches the number of values you need.
    • generate a random number...
    • compare it to everything in the array...
    • if it doesn't match anything, add it to the array...
  • Thank you!

  • I don't need to increase speed, for me at least I'm getting like 10-15 fps in everything except Chrome and 60fps in Chrome, and in Chrome, I can't play it.

    As far as the other thing goes, A and D let you circle/strafe but i'm still not sure I want to go with that if I can't come up with a way to use them.

twdead's avatar

twdead

Member since 3 Mar, 2012

None one is following twdead yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies