InDWrekt's Recent Forum Activity

  • There is an open source program called VirtualDub that will open many video formats and allows you to save it as a sequence of images. It is no longer updated and has very few options but should be able to do what you want easily.

    If you want a more full featured tool, Blender 3d has a built in video editor that can render out the result to a series of png files. The video editor has a pretty steep learning curve but would allow you to modify and export your video including adding effects if you want.

    Both of these tools are free and have no restrictions when it comes to using the result commercially. At least as long as the source you are working with is your own.

    I hope this helps you with what you need and good luck with your project.

  • This actually may be a bug in the physics system. I downloaded your capx and did some tests. I was able to get the joint to work on single click if I applied an impulse to the box between creating the Sprite2 object and creating the joint. I gave the impulse a power of 1 in the direction of the Sprite2 so it didn't really cause the box to move but it still did the trick. It appears the problem is caused by the box sleeping. If you quickly grab a box on start up using your current settings, it will grab it with a single click. So, when you create the initial joint on a sleeping object, it wakes it up for a couple ticks but the joint doesn't connect properly. If you then click again before the box sleeps, the joint is created. Using the impulse wakes the box up so the joint can be created.

    You may want to do some more testing given the above information and submit a bug ticket. Whether you do decide to submit it or not, the impulse should get you what you need. Good luck with your project.

  • Found another thing that could possibly be a bug. World 2 level 3 the mouse at the beginning sometimes starts facing left and other times facing right. I haven't seen this with any other enemy.

  • First, I have noticed a few posts where a person asks how to do something to which people respond, "it's not possible." The truth is, "it's not possible" is very rarely the correct answer and if you think it is, don't answer the question because you are probably wrong. In one case, one of the forum moderators told a user what they wanted was not possible, after which I posted a couple different examples showing how to do what the user wanted.

    Next, I learned that there are too many times users rush to the forums to ask a question, thinking they will save time instead of searching the manual, tutorials or even previous topics. This winds up making the user wait a day or more before they can continue their project when a search would have taken only 20 mins to a few hours. In trying to save time, they wind up wasting it instead. I have used the software for more than 3 years and have not once yet created my own question topic because every thing I needed was already documented. This isn't to say there aren't times people might need a little more explanation for which the forums can be very handy. Just that a little research can save time and frustration.

    I've learned that, while the information about C2 says you can make games without any programming, having a good understanding of programming techniques goes a long way toward making it easier. I am constantly using programming techniques to lessen the number of events I use and when answering questions in the forums I like to try to share some of these enhancements. The truth is, C2s event system is really an image based programming language. When we setup up our events, we are programming the game.

    I've learned that people think C2 should make their game for them when in fact it is a tool. Like all tools, it's only as good as the person using it.

    I think the most important thing though is, I have learned a lot about C2 simply by trying to answer questions other users have had. There are so many creative people in the community that just need a little information on their projects and taking the time to help them work through these has really pushed my own skills. If you really want be get a better understanding of C2, open the How To forum and try to answer questions there.

  • In the file menu, it is the export project option. It will then give you a choice of how you want to export it.

  • Try this:

    OnEnterPressed(){

    if (object1.active = true)

    object1.active = false

    object2.active = true

    else

    object1.active = true

    object2.active = false

    }

    The system else event is used to create these toggle type of events. Since object2 is only set active with object1 is inactive, the else statement should work fine.

  • Since you are using physics, you will want to apply forces. Instead of changing the gravity of the ball, you would apply an upward force on it to slow it. Think of it this way, when a skydiver deploys their parachute, their own gravity doesn't change. Instead, they slow down because the parachute is affected by a force called drag. So, when the umbrella you mentioned is open, there would be a "drag" force applied causing the ball to fall slower. To get the ball to change direction, simply change the direction of the force applied.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In the following, assume the variable valueToAdd is a string value representation of the number you want to add and total is a float value. Using a string, you can check for an existing decimal with the find() method. Given this information, you would use the following to set the total amount after the addtion.

    set total to total + (find(valueToAdd, ".") = -1 ? float(valueToAdd) / 100 : float(valueToAdd))

    What this does is, first checks if a decimal is present in the valueToAdd (find(valueToAdd, ".") = -1). If the result of the find is -1, no decimal is found so we divide by 100 (float(valueToAdd) / 100). If the result of the find is > -1 the string already contains a decimal so, no need to divide.

    To get more information about the statement, read the ?: section of the expressions tutorial here:

    https://www.scirra.com/tutorials/77/nat ... uct-2#h2a0

    I hope this gets you what you need and good luck with your project.

  • [quote:2ibb7vtz]I pretty much just want an enemy that kind of floats around the screen, ignoring everything except the player.

    According to this statement, I would assume you don't need the object to collide with anything. You just need to disable collisions. Of course to test collision with the player you would have to check overlapping rather than collision with it.

  • Use either the System "Pick by Comparison" or "Pick by Evaluate" event. Both events will pick all instances of an object (or family) that match the specific conditions you set in the event properties. You can then get the item/families PickedCount variable.

  • Take a look at this tutorial:

    https://www.scirra.com/tutorials/940/ho ... -a-project

    The information in the tutorial will give the browsers date/time value. You could also use the Javascript command Date.now(), which will give you the browsers current time stamp in milliseconds. This value can be easily tested to see if more than a day has passed by getting the difference between the stored time stamp and the current time stamp and converting the result to hours (int(result / (1000 * 60 * 60)))

  • eli0s

    I see your point. Thank you.

InDWrekt's avatar

InDWrekt

Member since 19 Sep, 2011

Twitter
InDWrekt has 7 followers

Trophy Case

  • 14-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies