deadeye's Forum Posts

  • Hi.

    I was trying to make the fall gravity to be constant... But I can't get the vertical speed as condition ...

    If it's not available as a compare condition for the behavior in the wizard you can usually do a "Pick by comparison" and get the expression. Which is the case here. The actual expression is Sprite[Platform].VectorY. Or you could use a System compare I guess.

    [quote:2i19medq]when falling, the gravity doesn't add speed to the vertical Y speed. I know, is not real, but that's how the game is.

    All you have to do is set the Max Fall Speed.

    Out of curiosity, what version are you using?

    Sometimes the sounds doesn't play very well. I have a sound for shoots, a sound for collision between bullet and enemy, and a sound for explotion of enemy. If I shoot very fast, sometimes the collision sound doesn't play

    Are you playing from resources or from files? Are you playing the shooting sound on a channel or are you autoplaying it? Is the sound trimmed and optimized? What do your events look like?

  • To expand upon Lost my Keys' eloquent synopsis, the Sound and Music folders are not yet finished. If you put your sound files into the Files folder, you will be able to see them from the resource list.

  • Mine doesn't. And I can't find any information online that says his site is linked to trojans or other malware. It's probably just a false positive.

    But... it is rather spammy to show up and link to your site in your first post, especially when you're charging money for your game. It just doesn't look good. Most of the time when people do that, they end up making just one or two posts and then disappearing. And I did find evidence suggesting link spamming for FunEffect (the site) on other boards and blogs.

    But instead of a ban I will give FunEffect (the user) the benefit of the doubt. I've changed your link though, FunEffect. It now points to a Google search for your game. People can find it that way. Hopefully you really are here to learn Construct, but I suppose only time will tell. If it turns out that you become a regular member of the community then I'll approve of linking to your site.

    And if you really are here to learn Construct then welcome

  • set text
    textfile.Text & NewLine &  "please wait a moment..."[/code:w5umtw6p]
    
    textfile is the name of the text object
    is this a correct method??
    

    Yep.

    [quote:w5umtw6p]can i make the background of the edit box transparant and change the text colour??

    Nope.

    Just make your own custom edit box if you want to change the appearance of it:

  • TheInstance, I just reduced your whole event sheet down to two simple "On collision" events and it behaves in exactly the same way as your .cap... so I don't know what all those crazy variables and loops are for.

    http://dl.dropbox.com/u/529356/noloops.zip

    v0.99.82

    You say that the speed of the object is not an issue, but the collision itself... well, okay then. Collisions work fine. I've never had a problem detecting a collision. So I guess I don't know what it is you're on about.

    Perhaps you could explain in plainer detail exactly what it is you are trying to accomplish here?

  • Though the Rotate behavior seems to be the root of the problem, it appears that it may be a perfect storm of other criteria contributing to the bug as well. It might be hard to reproduce it.

    You can create/destroy as many of the objects with Rotate behavior as you like, but the bug doesn't happen unless a totally unrelated object performs a totally unrelated action.

  • Excuse my ignorance, but could you explain what a 'State Machine' is? I've seen it mentioned before but never understood what it was and the advantages it brings to the table. Maybe an example *.cap will help?

    A state machine is a logical construct. It's basically a way to simplify handling an object by reducing it's flood of information down into one single "state" variable, that returns simple values like "walking" or "dying" so that you can interact with it it more easily.

  • It is kind of embarrassing how showcase projects that were reviewed by major indie gaming sites show "Application 1" title.

    Well, lesson learned I guess...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Car behavior isn't one that people have used very often in the past, so I believe it may have been a little neglected as far as features go. It might be worth it to try creating your own car movement from Custom Movement behavior, then you'll have more control over collisions and crashes.

    At any rate, I recall that Guyon recently found a solution to stopping the car on collision, you could ask him about it. I'm not terribly familiar with the behavior myself, and I'm not on my Construct computer at the moment.

  • Isn't 'for each enemy' true every tick?

    Yes it is. You need to trigger it just one time.

  • "Scroll to X" and "Scroll to Y." They're System actions.

  • Okay, I've tracked down the bug in your .cap. It's the CyclopodDroneDamaged object that's causing it. Or, more specifically, it's the Rotate behavior that's on the object. If you remove the behavior, the game runs fine.

    Don't know why that bug is there, but if it's possible to recreate it in a smaller .cap then that would be the way to go. My advice is to remove the rotate behavior and spin your sprite manually with events.

    [quote:2x69ovmy]This seems to instantly set the Sampling to point for everything (if the underlaying layer has Effects on it) resulting in crazy jaggies:

    Try checking "Force own texture" on your layers. Another option would be to set the ship in the same layer as everything else and make an "Always -> Send to front" event.

    [quote:2x69ovmy]Also - evilly exploiting your helpful nature - I'd like to have the ship mouse controlled, but with a 8-way like behavior = limited speed, slight acceleration and deceleration. Wonder if there's any way to do this without too many extra events

    Here's an example that uses Custom Movement:

    http://dl.dropbox.com/u/529356/mousecontrol.cap

    v0.99.82

    Hope that's the sort of thing you were looking for.

  • You do not have permission to view this post

  • Right, but you need Python installed to actually script with Python. I believe that .exe's built with Python only need the .dll to run, however there might be an issue if you're using other Python libraries.

    Again, I'm no expert, we should really get a Python person in here. I'm probably just spouting nonsense.

  • Set Text.Text to global('variable')