TheDom's Recent Forum Activity

  • Thanks, I appreciate that.

  • Ok, here's my scenario. I am creating a "wing commander" style game. The game has a tatctical display target in center screen. I need to be able to create a variable to create a constant towards center point. When the game run on different screen sizes or devices the fixed angle is no longer good and move torpedo fire out of center alignment.

    I tried to follow the example in ghost shooter, but cant seem to get it to work. the torpedoes alaways veer off target. Aiming for the point that was center at time of press key to fire. But the player target center point is always moving (through space)

    neoprofessor.com/starfighter

    You can try it here. The torpedos are set at a fixed angle.

    I hope Im being clear about what i need to acomplish. The torpedos must hit Target Center Point with angle being calcualted updated every tick. The example in Ghost Shooter uses a varible. Really could use some help here.

    Thanks

  • Thanks for the responses everyone. Much appreciated!

  • Im looking for a way to lock the web page from turnining when the phone turns sideways. I'm assuming that I need to edit the index.html file. I published my game in scale mode and it is actually is sized 640x480 and views fine on any phone I've tested on. Basically I want it locked in position. I don't want it resizing on double touches either, which it does on some phones even if the "screen rotation" is turned off. Is there something more I can do in Construct2? Or is it a matter of editing the index.html file?

    Any help is appreciated.

    Also: you can view it here at neoprofessor.com/3013/M

  • Thanks!!! That was It!!!

  • Hi all!

    Here's my issue. Sound doesn't play when I publish to Internet.

    All sound plays normally in browser when I "Run Layout" locally from C2.

    All sound files(.ogg & .m4a) are exported to media directory during export(for HTML) process( except .wav files ).

    When published, everything works and plays normally except sound. All sound files are published successfully i media directory. Tried on 2 computers, 1 on XP with Chrome and Opera. Tried Windows 7 with all browsers. Both have quicktime installed and flash upto date.

    Any ideas ?

    neoprofessor.com/3013

    to see it action...

  • OK, here's what I'm trying to do. I'm trying to spawn an object (transparent targeting graphic) on an enemy fighter ship. The game is top down similiar to the "space blaster demo game". When the Player(palyerShip) is in direct X alignment with an enemy ship, I want the spawned image to appear. I tried the following:

    Enemy1 > (Compare X) > X=Player.X Event:Enemy1 Spawn Taregetting Graphic

    But nothing happens...

    Either I'm doing something wrong or there has to be another way.

  • Aaarrrghh!!!!

  • Thanks so much! Perfect solution for my game! Really awesome

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, the solution was very helpful and you did answer my questions...I took no offense, it didn't seem rude however, I appreciate it because I am new and I sometimes feel a little stupid with my questions and Im sure others do too. it's nice to know everyone is looking out.....Thanks again to everyone.

  • Just curious, I wasn't aware you could use "choose". Is that a regular expression or is something unique to Construct 2? And can I find a reference other such statements?

  • The ghost is the player?

TheDom's avatar

TheDom

Member since 7 Jul, 2012

Twitter
TheDom has 1 followers

Connect with TheDom

Trophy Case

  • 12-Year Club
  • x6
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies