linkman2004's Recent Forum Activity

  • someone had already made this for me once, cant find it tho

    That was me. It was one of the many files that was eaten up by FileShack, and I don't think I have the original. The one I made tinted a color range.

  • Again, thanks for all the feedback, guys. I've added some extra resizing options for the next version. There's now a "Resize" check box and a "Size multiplier" field for more(any) control over resizing.

    The bouncing is turning out to be harder to implement than I thought. And this is for true circle/circle bouncing, not just going back the direction the ball came. The math is pretty complex and I can't seem to find a good method that doesn't require really fancy stuff.

  • Hooray! I don't know if it was this build or one of the previous ones, but the problem involving duplicates of objects with the bone behavior seems to have been fixed.

  • Thanks for the comments, guys. Glad you're all liking it so far.

    but a tip I've noticed to get people to try your stuff, is to post an exe sample as well

    that way the lazier folks (myself included were it not for said plugin devness) can try it out before they install a new plugin they may not be interested in

    This is a good point. I'll look into bundling a bunch of examples into an EXE later on.

    p.s.: For STABLE examples use the STABLE version of Construct. I had to download Construct 99.3 for trying the examples.

    Whoops, sorry. I always forget about this. I'll try and make all future examples for the current stable build.

    Question: Would collisions and bumping work or be possible?

    That's actually a good idea, and it should be rather easy to implement. I'll try and squeak that into the next build.

  • You could add all of your messages to a list box, then get the text from a random line. Here's an example for how it could be done:

    Random message example

  • Although this object could pretty much qualify as done, I'm going to post it here as a beta for now to make sure the bugs are worked out. Anyways, onto what this plugin does.

    What it does:

    This is essentially a far more advanced version of my Orbiter behavior. BUT... instead of merely rotating an object around another object in a completely predictable/stable orbit, this acts more like a gravity well. You can set an object to act as a satellite, an attractor, or both, where every object could have it's own pull on the others and orbit the others as well.

    Also, you can apply forces to the objects(in a way similar to the physics behavior) to make them move in certain ways. You can use the movement actions to make a space ship movement, for example.

    Parameters:

    <img src="http://files.getdropbox.com/u/917406/parameters.png">

    Actions:

    <img src="http://files.getdropbox.com/u/917406/actions.png">

    Expressions:

    <img src="http://files.getdropbox.com/u/917406/expressions.png">

    Conditions:

    <img src="http://files.getdropbox.com/u/917406/conditions.png">

    Download:

    DOWNLOAD NOW - 102KB

    Examples:

    Gravitation example pack - 22KB

    Full documentation will come when I release the completed version. If you have any specific questions about what something does, go ahead and ask and I'll explain. Be sure to let me know about any bugs you find, and have fun with it.

    By the way, just thought I'd mention the speed impact of this object. I would keep the amount of objects simultaneously orbiting and attracting to around 100, depending on what type of processor you have. Although it's good to point out that this object is 5-10 times faster than doing the same thing through events.

  • I didn't even think of doing that with the angle() expression. I'm using the function to get the angular speed of an object based on it's separate X and Y speeds.

  • A function I didn't realize was missing until I found out how amazingly awesome it is is atan2(). Any chance it could be added for the next build?

  • In the projects tab on the right, right click the "Objects" folder and click "Add object folder". You can then drag the objects from the "Default" folder to your new one.

  • Conditions and events are generic programming terms. Conditions are like IF statements, where you check the value of something. Events are things such as keyboard key presses or mouse clicks. They're not specific to any one program.

  • Ooooooooo... it turns out the problem was something entirely seperate from the GetData() code.

    Sorry for all the trouble, and thanks for the help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So, if I understand this correctly, your example would merely return the value of the integer that MyIntPointer is pointing to, right? My code:

    	int* MyIntPointer;
    	int MyInt;
    	MyIntPointer = &MyInt;
    	MyInt = 5;
    	stuff = (*i)->GetData(1, MyIntPointer);[/code:jwg63bgz]
    The code I put in the GetData() function is the same as what you have.
    
    Shouldn't what I have above return 5?  I'm using a Construct expression to access the value of stuff, but it always comes back as a random value between 20 million and 25 million.
linkman2004's avatar

linkman2004

Member since 15 Jan, 2008

Twitter
linkman2004 has 1 followers

Trophy Case

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

Progress

18/44
How to earn trophies