Search:

Type: Posts; User: Werbad; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    969

    Re: Animated Picture problem

    It's a general problem with MMF, not specific to this extension. It can happen with any extension that uses image or sound filters.
  2. Replies
    25
    Views
    5,727

    Re: Box2D 2.0.0 Public Beta

    Good to hear. Remember to report any other issues you have, and do please try out as much as you can. When I test the stuff I implement I usually do things the right way, but the users might...
  3. Replies
    25
    Views
    5,727

    Re: Box2D 2.0.0 Public Beta

    I think it's time to update MMF. Still running 250 I think.

    Edit:
    Updated to 251 and it still runs fine, not sure what might be causing the crash.
    I will investigate.

    Edit 2:
    Found something...
  4. Replies
    25
    Views
    5,727

    Box2D 2.0.0 Public Beta

    As some of you are probably aware of I'm currently working on a new version of my Box2D extension. I've finished up the basic features and is now ready to have my first public Beta. Note that this...
  5. Replies
    2
    Views
    885

    Re: Box2D extension help documents

    Not for the currently released version, I'm working on a new better version of the extension that will include a manual and some tutorials. It's mostly done and will soon have a public beta, the...
  6. Replies
    8
    Views
    1,633

    Re: Phizix for Iphone (box2d and phizix)

    The newest version of the library has fixed most of the problems I had that required me to customize the library. At the moment I haven't changed anything in the Box2D source, and there does not seem...
  7. Replies
    4
    Views
    859

    Re: Problem with Box2D

    The only cause I can think of is that you might be removing the world body if the destruction zone touches one of the boundary line segments. The easiest way for me to find the cause would be if you...
  8. Replies
    4
    Views
    859

    Re: Problem with Box2D

    Hard to tell without seeing your code. Are you perhaps removing the ground body? Do you have any event controlling what bodies are destroyed or are you removing any body that happens to be within the...
  9. Replies
    16
    Views
    3,251

    Re: Box2D polygon problems...

    The collision would be from the outside of that chain, make it the other way if you want the collision to be on the inside.
  10. Replies
    16
    Views
    3,251

    Re: Box2D polygon problems...

    Did you make the chain in the right order? Chains have to be made clockwise since they are one-sided, if you do it the wrong way things will get sucked into them.
  11. Replies
    16
    Views
    3,251

    Re: Box2D polygon problems...

    For a dynamic object this is the only way to make an inverse curve in Box2D, for static objects you can use an edge chain.

    The point of polygon shape creation is to create polygon shapes, I'm not...
  12. Replies
    16
    Views
    3,251

    Re: Box2D polygon problems...

    You guys are clearly misunderstanding what a convex shape is. The shape Ethan tried to create in the first post and the first shape on this image are examples of concave shapes.

    Box2D can only...
  13. Replies
    4
    Views
    1,035

    Re: Weird problem with surface.

    If 'Automatic' is checked under filter settings the filter might not get included even if it is checked.
  14. Replies
    2
    Views
    6,277

    Re: Phizix - Box2D Engine

    The extension has been updated. I have fixed some rare crashes and some bugs with some less commonly used actions. I guess my testing must've been light for some of them.

    Download
  15. Replies
    39
    Views
    5,960

    Re: Box2D portet to Flash!

    Looki has decided to give it a shot, I'd do it myself but unfortunately the Box2D version used in the extension is heavily customized and since I've never worked with Flash, I'm not sure how much...
  16. Replies
    4
    Views
    1,515

    Re: Box2D Angular Gravity

    If you do the Gravity Controller approach, remember to add all bodies you want to be affected to it.
  17. Replies
    4
    Views
    1,515

    Re: Box2D Angular Gravity

    You can make a sensor that covers the radius, and for every body touching the sensor, apply a force based on the angle between the bodies. Or I guess you could use a gravity controller with a...
  18. Replies
    4
    Views
    1,716

    Re: Box2D Polygon Not Clockwise?

    No idea why reversing the order worked, that should have caused even more Assertions...

    Something like this should work, assuming you're registering collisions properly:

    * On Collision Begin
    +...
  19. Replies
    4
    Views
    1,716

    Re: Box2D Polygon Not Clockwise?

    The problem is that the polygon has parallel edges. There are multiple points on the same edge in your polygon and this is not allowed. Removing these points will solve the problem.
  20. Replies
    5
    Views
    1,738

    Re: A few Box2D questions...

    That code should work, are you sure you're setting the collision type after the shapes have been created and not before? I've made that error myself...
  21. Replies
    5
    Views
    1,738

    Re: A few Box2D questions...

    1. First, give both bodies a type, it can be the same, and make sure to register collision between the types. Order does not matter. The collision conditions (with the exception of the is touching...
  22. Replies
    6
    Views
    1,070

    Re: Box2D Error? @_@

    The problem is an error in the code for that specific action for adding a polygon from a string, it seems I'm not scaling the local position by the world scale in the code and the shape ends up out...
  23. Re: [BUG] Destroying strings and having them reappear

    It works like this by design, I don't remember the exact reason but string objects placed in the frame editor will not be removed when the Destroy action is used.
  24. Replies
    28
    Views
    3,052

    Re: ReturnFloat() crashes

    You are retrieving the coordinates wrong. When you retrieve a rotated coordinate the resulting X position will depend on both the original X and the original Y coordinate. Try using this instead:
    ...
  25. Replies
    10
    Views
    2,258

    Re: Crashing with MyVector.clear()

    Sorry about the confusion, I wrote that from my head and it seems I've gotten a bit too used to Java's standards...
  26. Replies
    10
    Views
    2,258

    Re: Crashing with MyVector.clear()

    When you use objects in your rundata structure you need to store them as pointers and create them in the CreateObject function in runtime.cpp, rather than storing them directly in the struct. The...
  27. Replies
    3
    Views
    718

    Re: Cover orange type

    Unfortunately there is no simpler way as the game will require a proper physics engine if you want it to work like the original. If I recall correctly Cover Orange uses the flash port of Box2D.
  28. Replies
    1
    Views
    867

    Re: Box2D Polygon String

    The numbers are pixel coordinates relative to the body origin, which usually is the hot-spot of the active attached to it. The coordinates are entered like "X1,Y1,X2,Y2,X3,Y3...".

    ';' can also be...
  29. Replies
    9
    Views
    2,372

    Re: Range of an Alterable Value

    There shouldn't be any length limit for strings.
  30. Replies
    4
    Views
    867

    Re: A code to choose everything?

    If position >= 0 and position <= 100? Or am I missing something here?
  31. Replies
    13
    Views
    1,848

    Re: Easy way to negate values in editor?

    MMF does allow you to write -value in some cases though, for example Cos(-Angle("Object")) works but using -Angle("Object") by itself doesn't.
  32. Thread: Phizix - Box2D

    by Werbad
    Replies
    33
    Views
    9,649

    Re: Phizix - Box2D

    If you already have the angle you can just use: Cos(Angle) * Force and Sin(Angle) * Force.
    Sometimes you have to invert the Y force though depending if the angle is clockwise or counter clockwise.
  33. Thread: Phizix - Box2D

    by Werbad
    Replies
    33
    Views
    9,649

    Re: Phizix - Box2D

    That's not possible with any of the current controller types I'm afraid. But you can do it manually by always applying said force. Using the object interface this should be a one-liner.
  34. Replies
    28
    Views
    3,278

    Re: A Few SDK Questions

    I just remembered something, I have made a modification to rSDK which is required for the float macro to work. Since you have the original you need to change the helper function for fParam to:
    ...
  35. Replies
    28
    Views
    3,278

    Re: A Few SDK Questions

    Are you sure you didn't declare CounterValue as an int instead of a float? I don't seem to see any other reason it wouldn't work.

    Also, is CounterValue a global value? If it is you will have...
  36. Thread: Phizix - Box2D

    by Werbad
    Replies
    33
    Views
    9,649

    Re: Phizix - Box2D

    The list is 0-based, if you want to get the ID of the first body hit you should use:
    RayBodyID( "Phizix - Box2D", 0)If you want the last body hit you should use:
    RayBodyID( "Phizix - Box2D",...
  37. Replies
    28
    Views
    3,278

    Re: A Few SDK Questions

    You had to set it in the old SDK I think, but as I said it works fine without it so whatever...
    My macros were made to simplify the parameter retrieval to one-word functions rather than the many...
  38. Replies
    28
    Views
    3,278

    Re: A Few SDK Questions

    You're supposed to set EXPFLAG_DOUBLE instead of 0 in the expression flags. I think it works even if you don't set it though.

    The problem is (unless they fixed it) that Param(TYPE_FLOAT) returns...
  39. Replies
    4
    Views
    1,302

    Re: Binary object encode to hex crash

    The problem is that some extensions read bytes as signed numbers and as a result you get -114 when you read 8E. As negative numbers cannot be displayed as a hexadecimal value (atleast Hex$() can't)...
  40. Thread: Phizix - Box2D

    by Werbad
    Replies
    33
    Views
    9,649

    Re: Phizix - Box2D

    Phizix - Box2D cannot, and will never be able to interact with MMF's movements or collision system. Everything has to be made through Box2D and events. Phizix is a very advanced extension and if you...
  41. Replies
    11
    Views
    2,004

    Re: Box 2D Anchoring

    You can move the anchor by removing the joint and recreating it at the new position. There is currently no way to move a joints anchor without messing with Box2D internals.
  42. Replies
    11
    Views
    2,004

    Re: Box 2D Anchoring

    That's exactly what the revolute joint is for, check the wheel in the joint demo in the testbed. Note however that if you don't attach the joint to the center of mass on the body it will still be...
  43. Replies
    7
    Views
    1,133

    Re: "Destroy if too far from frame" bug!

    I'm guessing the window control object isn't changing some internal value that is causing the bug. Using the storyboard control object to do it is a good work-around at least...
  44. Replies
    7
    Views
    1,133

    Re: "Destroy if too far from frame" bug!

    Set the frame size using the storyboard controls instead and the problem disappears.
  45. Re: Text Blitter 1.5 "Load Image" action not working

    The reason it is not working is most likely because of your image filter settings. You can find them in the application properties, uncheck automatic and choose the ones you need. The automatic...
  46. Re: Mario Type Game - Enemies not changing direction

    The reason this happens is because of how MMF treats the event list. Every frame MMF runs through and checks every event in the event list from the top to the bottom. If your object is moving to the...
  47. Replies
    2
    Views
    993

    Re: animated picture

    You can also do the loading via the surface object:
    * Load the image from the clipboard into the surface object.
    * Export the image as an overlay.
    * Load exported overlay into the animated picture...
  48. Replies
    6
    Views
    960

    Re: Set direction is off. Build 248

    I'm not sure what you are talking about as I have never had any problems like this. Maybe you could upload an .mfa showcasing the problem?
  49. Replies
    8
    Views
    953

    Re: Stupid... crashes...

    I do that too. The only problem is that autobackups kind of lose their function as they all end up being practically the same file...
  50. Replies
    7
    Views
    1,026

    Re: How do you fix the unfixable?

    String Qualifiers don't have alterable values... Qualifiers have the exact same data as the object(s) they're representing.
  51. Replies
    18
    Views
    2,987

    Re: Cannot get percentage?

    If you want to use a string you can use FloatToString$ instead of str$. I don't remember exactly what the parameters was but you can limit the number of decimals with it.
  52. Re: Is it possible to truly create/delete objects...

    If you don't include AppPath$ the application will look relative to the current directory, which by default is the application directory. So using just "images\"+str$(Global Value)+".png" will work...
  53. Replies
    21
    Views
    4,596

    Re: Box2D problems with collisions

    Good. I've uploaded the fixed version to http://www.phizix.tk
  54. Replies
    21
    Views
    4,596

    Re: Box2D problems with collisions

    I searched for a while trying to find the problem and then all of a sudden it stopped crashing. I don't know what the problem was but it seems to have fixed itself somehow... Could someone confirm...
  55. Replies
    4
    Views
    974

    Re: How to create item sprites? And a bug.

    Animated Picture supports loading tilesets and displaying single tiles in separate instances.
  56. Replies
    6
    Views
    1,187

    Re: Array + fastloop bug.

    MMF does not round during integer division. MMF simply strips the result of it's decimals.
  57. Replies
    4
    Views
    966

    Re: Some weird image bug

    Try right-clicking the frame and select flip there. It will flip the entire frame instead of just the image.
  58. Replies
    5
    Views
    2,602

    Re: Box2D Chain Problem

    Get the angle from the body position to one of the anchor positions of one of the attached joints and use that.

    Johnny's example actually displays one of the problems with attaching a heavy object...
  59. Replies
    5
    Views
    2,602

    Re: Box2D Chain Problem

    There are a couple of things you can do to increase stability of the chain.

    You can use distance joints instead of revolute joints, distance joints are generally more stable for a chain. To use a...
  60. Replies
    5
    Views
    2,299

    Re: Box2D - Colliding with corners of tiles

    This is actually a very common problem for people who create tile-based games.

    The best solution I know of is to merge the tiles along the same surface into a single polygon, but this is...
  61. Replies
    21
    Views
    4,596

    Re: Box2D problems with collisions

    There seems to be a bug in the runtime version of the extension, I will look it up when I get back home. Doesn't explain why it crashed the event editor though.
  62. Replies
    21
    Views
    4,596

    Re: Box2D problems with collisions

    I won't have access to MMF until after this weekend, so I can unfortunately not test it. I'm thinking it might be a problem with the latest MMF version as I last tried it on build 248.
  63. Replies
    21
    Views
    4,596

    Re: Box2D problems with collisions

    You can give all bodies collision type 0 and check the objects in the collision events if you want to, similar to hw you would have done it with MMF's collision system. The collision types are just...
  64. Replies
    21
    Views
    4,596

    Re: Box2D problems with collisions

    In Box2D you give bodies collision types, register collision between said types and use the various On Collision conditions to check collisions.

    The Sticky Body tests and the Collision Test in the...
  65. Thread: Phizix - Box2D

    by Werbad
    Replies
    33
    Views
    9,649

    Re: Phizix - Box2D

    Not possible with the current Box2D version. The only way to do worms like terrain is to destroy and recreate the static geomerty when you blow parts of it up. The Chipmunk version has a demo of...
  66. Replies
    3
    Views
    811

    Re: Sub-app gains focus immediately?

    I had the same problem with an application recently where an invisible sub-app stole focus when I launched the application. I solved the problem by bringing the main window to top at start of frame...
  67. Replies
    3
    Views
    1,613

    Re: How to calculate the angle between 2 points.

    Atan2 takes the parameters in reverse, the first parameter is Y and the second X.
  68. Replies
    12
    Views
    1,864

    Re: Alterable values in Title

    "Timer " + Str$(value("Minutes"))
  69. Replies
    8
    Views
    2,324

    Re: Alterable Value Limit?

    The limits depends if the number is stored as a decimal value or an integer. As far as I know MMF only works with 32 bit integers and floats, at least parameters for extensions do.

    If the value is...
  70. Re: Another BOX 2D Query - Motors on Prismatic Joints

    You can set the motor speed to a negative value to make it move backwards.
  71. Re: See values from Properties in Event editor?

    If you select an object at the top of the event grid its properties will be shown in the property window. I think the window stays open even if you deselect the object, but I'm not sure.
  72. Replies
    12
    Views
    2,431

    Re: Finding Distance

    Sqr((X1-X2) pow 2 + (Y1-Y2) pow 2)
  73. Replies
    7
    Views
    1,390

    Re: Ini++ Doesn't save over existing groups

    This might be what "Ensure new group" does, or whatever the option called is when you change group. I'm not sure as I always choose no.
  74. Re: Box2D - When item explodes, affect body/shape near

    Looking back at this demo I really should have made it value-controlled. It was originally a quick test I did for a friend that ended up in the testbed. Anyways, here's a little info how you can...
  75. Re: Box2D - When item explodes, affect body/shape near

    There is an explosion demo in the testbed.
  76. Replies
    133
    Views
    43,159

    Re: MMF2 Build #249 - Pre-release version

    It is possible to paste Comments or Groups in the action editor, replacing the current event. In the case of a group it will set itself as parent to all following events and trying to select it will...
  77. Replies
    3
    Views
    1,026

    Re: Indexing files/folders, possible, how?

    Sphax File-Folder object can do this using the Browsing loop actions.
  78. Replies
    5
    Views
    1,203

    Re: easy math to convert mouse position to frame?

    Use the XMouse and YMouse expressions?
  79. Replies
    3
    Views
    1,197

    Re: cSurface Clipboard

    It seems like the image data is one byte off, causing the colors to rotate. What parameters does SaveImage take? I suspect the error might have to do with the (bmp+1) part.
  80. Replies
    8
    Views
    1,932

    Re: Porting from MMF-1.5?

    The Mouse Object does exist for MMF2, hence the .mfx extension in the error message. No idea why it's failing to load though...
  81. Replies
    10
    Views
    2,755

    Re: Darkness and Flashlight Effect

    I made this some time ago: http://www.mediafire.com/?mlzzzo3q4in (Needs HWA)
  82. Replies
    9
    Views
    1,631

    Re: [Request] Picture encryption

    If the player has account control enabled you won't be able to change files in the Windows folder from your application.
  83. Replies
    9
    Views
    1,442

    Re: Look at Coordinate without having an object

    The difference will be that the object will look up when the target is below it if you swap the sign.
  84. Replies
    9
    Views
    1,442

    Re: Look at Coordinate without having an object

    Atan2 takes an Y and an X value and returns the angle. Atan takes a Y/X ratio and requires a lot more work to use properly.

    Angles have 360 steps, directions have 32, so you have to divide the...
  85. Replies
    9
    Views
    1,442

    Re: Look at Coordinate without having an object

    I'm pretty sure you can't enter expressions for the "Look in direction" action. If there isn't this should work instead:

    * Always
    - Object: Set Direction to Atan2(Stored_Y("Object") -...
  86. Replies
    4
    Views
    1,030

    Re: Cannot get Binary Quick Load to work

    You have to resize the Binary Object before you load the file using Binary Quickload. Binary Quickload has an expression to get the size of a file.
  87. Thread: Phizix - Box2D

    by Werbad
    Replies
    33
    Views
    9,649

    Re: Phizix - Box2D

    It can be done with a distance joint, but you need to destroy and recreate it every time you extend or shorten the "rope" as Box2D doesn't support changing the length after a joint been created. I...
  88. Thread: Phizix - Box2D

    by Werbad
    Replies
    33
    Views
    9,649

    Re: Phizix - Box2D

    You should be able to attach as many actives as you want to a single body. If it crashes it's a bug that must be fixed.
  89. Replies
    10
    Views
    1,830

    Re: Full vs. Normal in MMF2 Standard

    There is a Hi-Score object too. The score object displays the current score for a player, the Hi-Score object works as a Hi-Score list. I haven't used it since TGF though...
  90. Replies
    8
    Views
    1,361

    Re: A question about "Alterable Values"

    That won't work since you can refer to values by their index using an expression as well...
  91. Replies
    92
    Views
    33,894

    Re: MMF2 Build #249 - Beta #10

    Check the "Create before frame fade-in transition" checkbox in the objects runtime properties and it won't crash.
  92. Replies
    3
    Views
    950

    Re: Expressions in expression parameters

    I assume you're using rSDK. The problem in rSDK is that the nested expression causes the first expression to use the GetFirstExpressionParameter function twice. I solved this in Phizix by making the...
  93. Thread: Phizix - Box2D

    by Werbad
    Replies
    33
    Views
    9,649

    Re: Phizix - Box2D

    That's the debug draw that I left in after my bug-fix. Remove the overlay and the event if you don't want it.
  94. Thread: Phizix - Box2D

    by Werbad
    Replies
    33
    Views
    9,649

    Re: Phizix - Box2D

    I don't know how it happened, but it seems like the debug dialog I used when fixing one of the distance joint actions reinserted itself again somehow. I'm pretty sure I removed it after I found the...
  95. Replies
    2
    Views
    1,154

    Re: Box2D rotating bat test problem

    The problem is that the shape of the rotating body is misplaced. Shapes are added relative to the body's origin, which is the same as the objects hot spot in this case, so the shape is added 180...
  96. Thread: Phizix - Box2D

    by Werbad
    Replies
    33
    Views
    9,649

    Re: Phizix - Box2D

    The reason I use mediafire is that it doesn't have any waiting time and never removes files unless you do it manually. I still have files uploaded june 2008 working. It was better when nobody knew...
  97. Thread: Phizix - Box2D

    by Werbad
    Replies
    33
    Views
    9,649

    Re: Phizix - Box2D

    What's the problem exactly? I can upload it somewhere else if it's something serious.
  98. Thread: Phizix - Box2D

    by Werbad
    Replies
    33
    Views
    9,649

    Phizix - Box2D

    I'm releasing this now as I probably won't be working on it much longer. There is a new version of Box2D coming out that changes the very foundations of the engine, so if I want the new features I'll...
  99. Replies
    19
    Views
    3,461

    Re: 3d looking buildings like GTA

    The Open GL object would probably be a lot better and faster than my shader. Especially if using Lua do handle the rendering routines.
  100. Re: Phizix Extension Questions -- Several and Random

    The hot spot must be at the body's origin, where the origin is depends on where you create the shapes. Boxes are created relative on their center, so the hot spot would normally be placed at the...
  101. Re: Phizix Extension Questions -- Several and Random

    Attaching objects should work the same for both extensions, the main difference is the engine they use (Box2D and Chipmunk). The chipmunk engine is a 2D physics engine as well.

    How exactly are...
  102. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    You could try applying the movement force relative to the surface the player is standing on. You can retrieve the contact angle from the collision callbacks. Note that this is a non-issue with the...
  103. Re: Phizix Extension Questions -- Several and Random

    The center of the body depends on where you create your shapes. Or rather, you add the shapes relative to the body's center point. Active objects are attached to this point. When you add a box to the...
  104. Replies
    2
    Views
    962

    Re: Startup App with Vista - How..?

    You seem to be able to put shortcuts in the "Autostart" folder in the start menu without requiring administrator rights. You could try that method...
  105. Re: Phizix Extension Questions -- Several and Random

    Right click the condition and select "Negate". It works for most conditions but not all.
  106. Re: Phizix Extension Questions -- Several and Random

    1. They don't have to use any qualifiers. Qualifiers was just used in the examples to make things easier.

    2. Phizix cannot and will probably never use MMF's collision system. Setting an object to...
  107. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    It should be safe to use this version, I'm not planning on adding any features that would break backwards compatibility in the future.
  108. Replies
    42
    Views
    14,832

    Re: MMF2 HWA Beta #6

    The chipmunk version doesn't support float angles that HWA uses, so you'll have to update the angle manually. Attach the object with no rotation and set the angle to the body's angle in an always...
  109. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    Other than using circles/cutting the corners of the boxes or merging the ground shapes I don't know of any solution. This is a common problem with most physic engines that I know of...
  110. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    http://www.mediafire.com/?2kx4yww2zuo
    A movement I made some time ago...
  111. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    Internal edge collisions can generally be solved by using edge chains for static geometry. For players I usually use the unicycle model, a rectangle with a circle body attached underneath with a...
  112. Replies
    4
    Views
    1,357

    Re: Help locked object

    Hold Ctrl+Shift and click on it to unlock a single object.
  113. Replies
    1
    Views
    708

    Re: Extensions - Resizing RUNDATA

    Store a pointer in your rundata and dynamically allocate it at runtime? There is no need to store the entire array in the rundata...
  114. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    Use the "Attach Object" action to attach multiple actives to the same body. The "Add object as shape to body" is for adding shapes to a single body at the location of one or more actives. For...
  115. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    It seems I had mixed up the order of the bodies and there was an error with the local-flag of the second body. I must have missed it when I copied the Object+ID action...
  116. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    Yet another menu error it seems. I've had similar errors before...
  117. Replies
    2
    Views
    626

    Re: Phizix - dragging the body help

    I guess that the reason they won't move is because they're static. Try changing their mass-data before moving them and see if that helps.
  118. Thread: Sprite Engine

    by Werbad
    Replies
    12
    Views
    3,036

    Re: Sprite Engine

    http://www.mediafire.com/?hyii0dldcet

    There is probably some unnecessary stuff left since I didn't bother looking at the movement code. The drawing events could probably be made more efficient as...
  119. Thread: Sprite Engine

    by Werbad
    Replies
    12
    Views
    3,036

    Re: Sprite Engine

    My computer has: AMD Turion 64 X2 Mobile Technology TL-60 ~2.0GHz, 2GB Ram.
    I got 25 fps on the demo you posted. I made some changes in your demo:

    I moved the background into it's own layer and...
  120. Thread: Sprite Engine

    by Werbad
    Replies
    12
    Views
    3,036

    Re: Sprite Engine

    I don't think ~20 fps for a single unit is regarded as "very quickly"... It would probably be a lot faster if you didn't paste the background every frame and used the "Remove Created Backdrops"...
  121. Thread: Sprite Engine

    by Werbad
    Replies
    12
    Views
    3,036

    Re: Sprite Engine

    Why not use the Animated Picture object instead? It's kind of made for this purpose... Adding tons of backdrops every frame doesn't seem like an efficient solution to me.
  122. Replies
    95
    Views
    37,245

    Re: MMF2 Build 249 - Beta #5

    You can uncheck "Create at Start" in the objects properties instead of removing it from the frame, it has the same effect at runtime.
  123. Replies
    95
    Views
    37,245

    Re: MMF2 Build 249 - Beta #5

    Isn't that just that destroyed objects aren't actually removed until after the event list has been iterated? Sounds like it...
  124. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    Never seen that happen before... Could you upload an example?
  125. Re: easy way to change the layer an object is on?

    You can drag the object onto another layer on the layer toolbar to change it.
  126. Replies
    18
    Views
    3,998

    Re: Registry++ (Beta)

    You should make sure the map entry exists before trying to retrieve it or an empty element will be created. Something like this should work:

    char* str = (char*)Param(TYPE_STRING);
    if(...
  127. Replies
    3
    Views
    836

    Re: Upon pressing a Key

    The Key Object can detect all keys, including mouse buttons and some special keys.
  128. Replies
    4
    Views
    2,794

    Re: Help with Camera Scrolling for Side-Scrolling

    You need to change the frame size in frame properties. Unfortunately, placing stuff outside the frame won't increase the frame size.
  129. Replies
    11
    Views
    1,837

    Re: [Request Update] Select Object

    The solution is:
    * Alterable Value A of ("Active") = 2
  130. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    The only thing that the Chipmunk extension has that the Box2D extension doesn't is a Maximum/Minimum Distance joint. It's a bit unfortunate as it is great for making strong ropes.

    I don't think...
  131. Replies
    8
    Views
    1,739

    Re: Past image in to background bug!

    Use Add Backdrop instead of Paste to Background.
  132. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    Changed the demo to use Box2D instead: http://www.mediafire.com/?zgnymliwtmu

    I've changed the wheel mechanics to use Tensor Damping Controllers instead of manually calculating the forces. I've...
  133. Replies
    12
    Views
    2,161

    Re: Gah... Object destroying offscreen

    The problem is because you constantly restart the sharks movement, causing them to move infinitely out of the screen. Limiting the "Right or Left = X > Set Movement" events solves the problem.
  134. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    You won't need loops if you use the object interface. There is a condition for it.
  135. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    The bodies are pretty much always moving, unless they are sleeping. Maybe you can check that instead?


    Thanks for that :)
  136. Re: Planet with Box2D - not working out how I planned

    Did you extend the world boundaries to match the frame size? You can't create stuff outside the world, that might be the assertion you're getting. Stuff that touches the boundary gets frozen, so you...
  137. Re: Planet with Box2D - not working out how I planned

    Fixed it for you. Increasing the density of a shape will increase the mass of the body. You can also set the mass manually. I solved it by giving the planet a lot of density and lowering the force of...
  138. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    I seem to have managed to fix the menu disappearing issue. The problem was that rSDK doesn't destroy menus after they've been used, so it kept stacking up until I assume windows ran out of menu-space...
  139. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    If you want the controller to work for just an area you will have to manually add the bodies to the controller as they enter the area and remove them from it when they leave. Controllers only affect...
  140. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    It seems that it's caused by simply opening the actions menu too many times. I managed to recreate it by spamming right click. This could be a rSDK issue, I have to look it up.
  141. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    When you do that you add a lot of tension to the joints, causing them to stretch apart. Box2D can't keep up with this and creates unexpected behaviors when it tries to correct the problem. In fact,...
  142. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    Fixed Version: http://www.mediafire.com/?ll3cxomyet2
  143. Replies
    74
    Views
    24,896

    Re: Phizix - Box 2D Public Beta

    That was some random error, rebuilding the extension solved it. I will upload a rebuilt version.
  144. Replies
    74
    Views
    24,896

    Phizix - Box 2D Public Beta

    This has been pretty much finished for a while now and I've been hesitant to release it as it has practically no documentation. I've decided to release it anyways hoping it won't be too much of a...
  145. Replies
    8
    Views
    1,187

    Re: Car Test - Phizix

    I'm pretty sure the wheels would be a lot more stable if you used a pivot joint instead of a pin joint. They act kind of weird at the moment...
  146. Replies
    17
    Views
    2,417

    Re: I can't delete objects.

    I've never had that problem with mediafire, nor have anyone else mentioned it before...
  147. Replies
    45
    Views
    14,427

    Re: Phizix - Box2D Ragdoll Test

    It's practically finished already, I just haven't gotten anywhere with the documentation. I'm considering releasing it to the public anyways as most people who have tried it understood it from just...
  148. Thread: Strings Again

    by Werbad
    Replies
    6
    Views
    795

    Re: Strings Again

    Did you press the ... button first?
  149. Replies
    120
    Views
    57,699

    Re: MMF2 Build #249 - Beta #4

    The updates are for the full version, not for the demo.
  150. Replies
    5
    Views
    772

    Re: Mod Numbers - quickest route to a number

    Add this to the <current> value to "rotate" it towards the <target> value:

    max(min(((<target> - <current>) + <limit> + <limit>/2) mod <limit> - <limit>/2, 1), -1)
    Change -1 and 1 to change the...
  151. Thread: Strings Again

    by Werbad
    Replies
    6
    Views
    795

    Re: Strings Again

    You can press the ... button next to the edit box to open the full edit window for any paragraph. This dialog allows you to add line breaks.
  152. Replies
    38
    Views
    7,055

    Re: MMF2's Collision is obviously BROKEN

    It works properly in MMF1.5...
  153. Replies
    38
    Views
    7,055

    Re: MMF2's Collision is obviously BROKEN

    I'm pretty sure negating an overlap condition negates the result and not the collision check. Thus it will only work if no objects overlap.
  154. Replies
    11
    Views
    1,369

    Re: make a value a decimal value. 500 to 5.00?

    FloatToString$ is an mmf function for converting floats to strings while keeping a set number of digits/decimals.
  155. Replies
    11
    Views
    1,369

    Re: make a value a decimal value. 500 to 5.00?

    This should work:
    FloatToString$(Value/100.0, -1, 2)
  156. Replies
    2
    Views
    724

    Re: hex to decimal??

    Use Val()
  157. Thread: pic load

    by Werbad
    Replies
    9
    Views
    2,211

    Re: pic load

    It seems like the drag and drop movements prevents setting the Y position of the object...
  158. Replies
    6
    Views
    718

    Re: problems with overlay redux

    Enable "Use Absolute Positions" in the overlays properties and it will draw the circles at the correct position.
  159. Replies
    3
    Views
    719

    Re: Phizix Floating bug

    As stephen said, separate the Loop actions from the spread actions. Spread value doesn't work if you start a loop in the same event. There is no problem starting multiple loops in one event though.
  160. Replies
    16
    Views
    2,465

    Re: One Action when event loops

    Move the event to the bottom and it will work. With the current event order the check is done right after you've 0'ed all values, so the event will always be true.
  161. Replies
    3
    Views
    706

    Re: Animated Picture Object - Flip?

    Use an x-scale of -1.0 to flip the image. Not sure if reversed animations will be supported.
  162. Replies
    120
    Views
    57,699

    Re: MMF2 Build #249 - Beta #4

    I get a confirmation dialog... Sure you're running the latest version?
  163. Replies
    3
    Views
    826

    Re: Displaying the waveform of an audiosample

    I did something like this, but it only worked for Wav's and was very slow.

    I deciphered the wave format and printed the samples using an overlay, probably not the best solution.
  164. Thread: Slider

    by Werbad
    Replies
    4
    Views
    1,801

    Re: Slider

    The Trackbar Object is a slider control, if that's what you're asking for.
  165. Re: Is it possible to reduce the Array object size?

    If the array has been expanded Destroying and Recreating it should reset it's dimensions.
  166. Replies
    115
    Views
    60,322

    Re: [Beta public] Sphax VectorialShape object

    The newest beta have fixed event numbers so that they are correct even if groups are closed. You sure you are running the latest version? Or is there a way to disable that?
  167. Thread: phizix question

    by Werbad
    Replies
    3
    Views
    745

    Re: phizix question

    Always setting the angle+angular velocity to 0 should make it stand still in slopes, assuming it has friction.
    Damping should help if it starts sliding slowly. It's been a while since I worked with...
  168. Replies
    30
    Views
    6,000

    Re: Lives and score vanish

    Is your frame using scrolling? If so the lives must be placed within the top-left area of the frame.
  169. Thread: Layers & IDs

    by Werbad
    Replies
    19
    Views
    2,883

    Re: Layers & IDs

    What is the object limit set to? By default you can't have more than 500 objects on the frame...
  170. Replies
    7
    Views
    1,088

    Re: help with phizix - add vertex

    Yes, vertices have to be added in counter-clockwise order.
  171. Replies
    7
    Views
    1,088

    Re: help with phizix - add vertex

    The vertices are relative to the hot-spot, the custom shapes in the examples have their hot spot at the center.
  172. Replies
    7
    Views
    1,088

    Re: help with phizix

    You have to split those into multiple convex shapes, Phizix doesn't support concave shapes. Or you could use line segments, at least for the static ones.
  173. Replies
    15
    Views
    1,968

    Re: question about "winkey"

    I think you can disable such things under group policies, wherever you access that. If you find the windows key annoying you could just shut down explorer.exe while playing the game.
  174. Replies
    3
    Views
    1,241

    Re: top down physics with the physics extension?

    You will also need to apply some sort of damping to fake ground friction.
  175. Thread: Ket Object Bug?

    by Werbad
    Replies
    5
    Views
    809

    Re: Ket Object Bug?

    As I said earlier, go into Application Properties -> Runtime Options and check the "Run when minimized" checkbox. Just tried it in the app you uploaded and it seems to work.
  176. Replies
    3
    Views
    1,241

    Re: top down physics with the physics extension?

    Yes, check the car demo for an example.
  177. Thread: Ket Object Bug?

    by Werbad
    Replies
    5
    Views
    809

    Re: Ket Object Bug?

    Do you mean minimize? The application is paused when you minimize unless you check "Run when minimized" in application properties.
  178. Thread: Tiles?

    by Werbad
    Replies
    5
    Views
    1,524

    Re: Tiles?

    The problem is because of a rounding error.
    You can fix the problem by adding a parenthesis to the positioning events:
    > Set X Position to 0+((LoopIndex("X")*Frame Width)/value( "Tile Amount" ))...
  179. Replies
    36
    Views
    7,743

    Re: OINC - Kicking/banning

    Can't you send messages to specific peers? I recall seeing some actions like that the last time I checked the extension...
  180. Replies
    23
    Views
    2,593

    Re: Will String objects have alt.values?

    If you store the name in the player active and do it the way I did it in the example it should work fine. The idea is that you don't assign any specific string to any specific active, but rather let...
  181. Replies
    2
    Views
    432

    Re: Ogg not working in build

    Try unchecking the automatic checkbox under sound filters and select the ones you need manually.
  182. Replies
    23
    Views
    2,593

    Re: Will String objects have alt.values?

    It applies to any object, though it's not that useful for many objects.
  183. Replies
    7
    Views
    1,024

    Re: Condition: End of application?

    End of Applications is a triggered condition, it triggers every time you exit the application. Don't know why it doesn't work for you, works fine here...
  184. Replies
    7
    Views
    1,024

    Re: Condition: End of application?

    I'm pretty sure MMF won't quit until the end of the current event loop. Could be wrong though.
  185. Replies
    23
    Views
    2,593

    Re: Will String objects have alt.values?

    Just destroy a random string, they will be reassigned properly anyways. And store the color as a value on the enemy and always set the string color to this value. Change the value to yellow when the...
  186. Replies
    23
    Views
    2,593

    Re: Will String objects have alt.values?

    It has worked like that for as long as I can remember. It even worked in KnP now that I think of it.
  187. Replies
    23
    Views
    2,593

    Re: Will String objects have alt.values?

    Check the example, it works fine even if you have multiple instances. MMF will automatically pair the objects if you do it that way.
  188. Thread: MMF2 Build #249

    by Werbad
    Replies
    235
    Views
    252,378

    Re: MMF2 Build #249

    Destroying String Objects doesn't seem to work. It gets visually removed but according to the Debugger it's still there.
  189. Replies
    23
    Views
    2,593

    Re: Will String objects have alt.values?

    You don't have to use loops to position objects relative to each other.
    Always -> Set Position works fine, MMF will handle the object picking for you.

    Made a quick example:...
  190. Replies
    7
    Views
    1,337

    Re: Pinball engine needed

    If you used the installer it should be in your Multimedia Fusion 2\Examples folder.
  191. Replies
    3
    Views
    574

    Re: Objects that deal with binary

    Binary data is usually faster to process and takes less space than text data, but it really depends what you want to achieve.
    A binary data file is harder to organize than a ini file for example.
  192. Replies
    15
    Views
    4,383

    Re: Physic engine for MMF

    I'm not planning on canceling it when it's almost complete. I have some free time the upcoming week, so I'll see if I can get working on it again.
  193. Replies
    15
    Views
    4,383

    Re: Physic engine for MMF

    I am currently not working it, but pretty much all that is left is completing a few features and writing the documentation. Unfortunately I do not know when I will have time/energy to pick it up...
  194. Replies
    8
    Views
    1,684

    Re: overlap of 2 objects with the same qualifier

    From the looks of it that would only work if both enemies were thrown into each other. The first condition will select the enemies that are being thrown, and the second will only test these objects....
  195. Replies
    7
    Views
    1,204

    Re: counter value to string (tricky)

    It converts a decimal value to a string with a set number of digits/decimals. Putting 0 in either field means no limit(at least for the left value).
  196. Replies
    7
    Views
    1,204

    Re: counter value to string (tricky)

    Try:
    FloatToString$( >Value< / 100.0, 0, 2 )+"$"
  197. Thread: Binary Obj

    by Werbad
    Replies
    2
    Views
    831

    Re: Binary Obj

    Binary Quickload can do it, just make sure you resize the binary object to match the number of bytes you want to load first.
  198. Replies
    5
    Views
    869

    Re: Listen for keystrokes even when no focus?

    Just enter GetLastKeyVal( "Key Object" ) as the key value and it should respond to any key.
  199. Replies
    5
    Views
    869

    Re: Listen for keystrokes even when no focus?

    The Key Object should work.
  200. Replies
    27
    Views
    5,118

    Re: Animated Picture Fixed

    What is the problem? You can start an animation between any tiles in the tileset, it only needs some manual coding to make it work.
Results 1 to 200 of 500
Page 1 of 3 1 2 3