machrider's Recent Forum Activity

  • I don't quite understand how this works. But could you tell me if it's possible to make ragdolls with this?

    Like this:

    http://www.yeeguy.com/freefall/ ??

    If so, that would be amazing. Is it possible?

    I know I should be trying it out myself, but right now I am still kinda figuring it out.

  • I've seen this suggested here and there, but I don't know if an actual thread was made about it. Can I suggest adding a path movement in a later version of Construct?

    Right now, I am making a shoot em up (i.e. Gradius, R-Type) and it's a real pain to get enemy movement patterns to work right.

    One thing I tried is making the enemy sprites as a ball movement and then using waypoints which tell the sprite where to go, but they never work right, sometimes the sprite will end up missing the way point and flying into something its not supposed to.

    It's also very hard to make curved movements with way points. Not only that, but since a shoot em up takes place in a single non scrolling frame (your character is always in the same scroll position, despite the illusion of the background moving), you tend to end up with a lot of way points in the same place and, well, all over the place.

    Anyway, one thing I'd desperately like to see is a path movement. A path movement would work wonders for this kind of purpose. The only thing is, I'd suggest is doing it a lot different than say the path movement in TGF/MMF/etc, which IMHO had the right idea but could be done a lot better.

    There are a few things I'd add or do differently.

    First of all, a huge problem with path movements is that they're limited by how precise you can draw the path. There should be an option to draw not only straight lines, but curved ones as well, and even circles (kind of like the tools used in a paint program) so that the accuracy of how well you can draw the path is not an issue.

    You should also be able to cut/copy and paste certain parts of the path and then be able to paste them and then flip or rotate them. That way, making even looking zig zag or inverted "s" like movements would be a lot easier to do.

    Second, you should be able to assign names to certain nodes for use in triggering an action. In the event sheet, there could be a condition such as "Enemy reaches node [node name]" in which you could then use trigger an action to shoot an object at the player.

    I also think that the path movement should have a "wait command" in which you can make the object stop for a certain amount of milliseconds before moving to the next node.

    This would make it easy to make "attack patterns" for boss characters in shoot em ups.

    You could have it set up so that

    "Enemy" reaches node "node 1" (or whatever you'd name it)

    • Wait at node for 20 ms
    • Spawn object bullet at "Enemy"

    Or something to that effect. But that would form the basis of a shoot em up boss attack pattern.

    A third idea I've thought about, is "optional" paths. At a node, you could be able to draw 2 or more additional paths (each with their own number) displayed as dotted lines, which eventually connect back to the main path.

    You could then have it so that, when the object reaches a certain node, depending on the conditions (say, the player is towards the left of the screen or the right) you could make the object move to that path instead of the path it originally was supposed to.

    Something like

    X of player is greater than X of enemy

    Enemy reaches node [node name]

    • Move to optional path 2

    This would be useful in making enemies that can change their position or method of attack based on certain conditions.

    And... I can't think of any other ideas besides that. Anyway, I think this would be very helpful not only in shoot em ups but in most games in general that require free floating objects that follow a predetermined path.

    For example, I remember in certain Mario games, there were levels where you rode a platform throughout the whole level. Not any ordinary platform, but one that moved up, down, and even loops and curved motions. With the path movement, you could easily create a similar effect.

    There are probably other uses for it as well. But most of all, this would be a godsend for making side scrolling shoot em ups

  • Why bunny hopping though? i can see inverse controls but what is the use for bunny hopping?

    Being able to toggle it on and off as a preference under a game's options screen could be one thing, or maybe even if someone wanted to include it as a power up. But I just say add it for the principal of things. Especially since I've read posts by Ashley considering adding another option for double jump and some other things. These all need to be togglable in real time IMHO, just to give the player the option of using it or not in game, or even using it later in the game (i.e. via a power up) rather than the current options which are to have it there permanently all the time or not have it at all.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Does the same thing happen with only loading from files and not using any resources at all? i.e. if in the example you sent, you change Load Resource to Load File, and delete all the resources? Does it only crash after separately running and closing the preview a few times? (that would suggest a memory leak)

    It works fine for me, loading from files (resources aren't set up right when you move the .cap to another computer)

    Yes, same thing happens when just loading a file with no resources.

    Even after turning off my computer yesterday and turning it on right now, the problem is still there. I used to be able to load from an external file, but it will no longer let me no matter what. Now I can't load any wavs without it crashing on me.

    "Does it only crash after separately running and closing the preview a few times?"

    Well, I guess. I mean, it worked a few times with each thing after previewing it. I mean, first I had it set up so that it loads the second file from the resource. After previewing the game a few times, that stopped working (instant crash on preview, message saying to report the bug to Scirra). I then thought I could possibly load a third file into the resources to avoid that crash message, but that didn't work.

    Then I just decided to load the file externally, and eventually after previewing a few times, that crashed as well and now I can't load a wav from inside or outside Construct at all. It's just crashing no matter what.

    Edit: Strangely enough, if I set it up so that it loads an external wav file into a channel when I press a button rather than at the start of the layout, it doesn't crash.

    I've somewhat averted this crash like that, for things that require playing a sound effect. For example, I made it so that the "shoot" button both loads the file into a channel then plays it, all in the same event.

    Before I had it so that it only loads the file into a channel at the start of the layout, and plays when the button is pressed.

    I also tried the way deadeye had it set up in his cap file, where he loaded a wav into a channel when the channel isn't playing.That gives me the "this may be a bug. report it to Scirra" error message.

    In fact, here. Here are the error messages depending on how I load the wav into the channel.

    Again, these messages are both the first thing that pops up as soon as I click the debug layout button.

    Clicking the preview button just gives me an error message saying that an unexpected error occurred and that I should go to the debugger to find more info. Of coarse, when I do that, I get the above messages.

  • I talked about how it suddenly managed to work in the chat, but now I'm getting the same crash out of nowhere again.

    XAudio was working fine. Then after running my layout a few times, it eventually went from not starting up but only starting up when I use the debugger, to suddenly not starting up at all even with the debugger enabled.

    I deleted everything except the XAudio object itself to isolate it this time.

    Try this .cap out

    http://machriderx.googlepages.com/xaudio.zip

    Tell me if it crashes when you try to use it.

    As for reproducing it, I can't even tell why it's happening or what's causing it. All that I know is that it was running fine, then suddenly after running it a few times, it started refusing to run at all. I know that's not very helpful, but I don't know what else I can do about this.

    Edit: Hmm... it only seems to crash when I use a .wav file that has been loaded as a resource. However, when I use a file from a file path, it works fine. It seems like something is seriously bugged with how Construct handles resources along with XAudio (and possibly Vista?), but then again I dunno.

    Edit: God damn it! Now the crash is happening with wav files I'm loading externally. I don't know what the hell is going on. The damn thing is completely broken, and the worst part of it all is that I can't even explain why.

  • Hold on, now I'm getting a whole new kind of crash.

    It tells me to go to the debugger for more info. Then when I do, it tells me to report it here.

    http://machriderx.googlepages.com/shooterbugged.cap

    Just try running that. I don't even know what's going on now.

  • Does it still do that on startup? If it does, you pasted the file to the wrong directory and need to reinstall Construct to get the original back, that file can ONLY go in the Plugins\Runtime directory. Then I still need to know if it fixes the original crash when you press run.

    Same goes for anyone else who had this file crash!

    Sorry, that was my mistake. Whoops...

    Reinstalled Construct and tried again.

    Okay, it doesn't crash now. I guess it works. I'm going to try to play an audio file and see what happens.

    Alright, everything is working as it should. But I can't load sounds from a resource for some reason (I can only load wavs from a file path). But XAudio is working for me now. I finally have sound.

    EDIT: For some reason, loading a blank wave file, THEN putting my other wave file as a resource causes loading sounds from resource to work for some reason.

    Construct refuses to load the first wav file you load, but loads every other resource besides that. Weird.

    Other than that, everything is working great now.

  • Yes but creating each individual part, and skinning the bones, is no different than doing the same in some tweening program, then importing the animation. Your still going to have to set up what you want to happen before you get any results. The bones system just keeps you from having to use expensive software.

    There's really only two differences between the two. Using an animation package you can adjust each individual image from within the software, then using the bones you can make adjustments to the motions from within the software.

    In the update, it's introduced as a "new bone movement behavior," keyword being behavior. As in, something that can be controlled and manipulated in real time.

    Now, if this were just a feature included into Construct's picture editor, then yes, there would be no different than importing an animation from some animation package like Anime Studio.

    But this isn't precanned animation. These are bones controlled via a behavior which can be manipulated in real time. With this, I imagine being able to create 2D ragdoll physics in Construct and even procedural animation, or even just less static, smoother looking animation in general than what using a precanned sprite animation allows.

  • Can you try this? Save it to your Plugins\Runtime directory, and let me know if it fixes it.

    Hmm...

    It gives me this when I open Construct:

    Error loading C:\Program Files\Scirra\Construct\Plugins\XAudio2.csx (127) - this plugin may not be available!

    EDIT: My mistake maybe it was the wrong directory wait a second

    Edit: Nope, still no go. Disregard that last edit.

  • Yeah, er.. whoops, looks like I forgot to file a bug report this time. Usually, I always submit things to the bug tracker, but for this I just wanted to make sure that I'm not the only one having this problem, or if it wasn't caused by something I'm doing wrong.

    I was just about to submit this one to the bug tracker as well, but if you've fixed it, then I guess that's not necessary. I'll be sure to submit everything else I see to the bug tracker from now on as I usually do.

  • I can't use XAudio for some reason. Just simply having the XAudio object in my layout causes it to crash whenever I try to run my program.

    I get the standard Vista crash dialogue saying "temp.exe has stopped working" then the choice to check online for a solution (yeah right) and an option to close the program.

    There is an option to show more details, which displays the following:

    Problem signature:
      Problem Event Name:	APPCRASH
      Application Name:	Temp.exe
      Application Version:	0.0.0.0
      Application Timestamp:	491f58b2
      Fault Module Name:	Temp.exe
      Fault Module Version:	0.0.0.0
      Fault Module Timestamp:	491f58b2
      Exception Code:	c0000005
      Exception Offset:	00057fd4
      OS Version:	6.0.6001.2.1.0.256.6
      Locale ID:	1033
      Additional Information 1:	fb12
      Additional Information 2:	e2b23605fa9d645aaf5f25bdf6ffcd7f
      Additional Information 3:	bfd7
      Additional Information 4:	680dcdc3677e0a08f6d2029b9a1a193c
    
    Read our privacy statement:
      http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409[/code:1j6nbiun]
    
    I have the latest version of DirectX. If I run the DirectX updater, it tells me that I already have the latest version and closes down since I don't need to update. So having the latest version of DirectX is not the problem.
    
    I've even tried to reinstall Construct, but that does nothing.
    
    I remember that XAudio used to work fine in the earlier versions of Construct. But now, it does nothing but crash.
    
    Here is a cap file, tell me if it crashes for you:
    [url=http://machriderx.googlepages.com/shooter2.cap]http://machriderx.googlepages.com/shooter2.cap[/url]
    
    I don't understand why it's crashing on me. Just having it on the layout messes it up. Deleting the XAudio plugin from the layout fixes the problem. I don't get it. Is it because I'm using Vista?
    
    Also, could anyone else using Vista tell me if they have the same problem?
  • You could make sprites with it

    Well, yeah. But then it would no longer be bone based, it would just be a sprite. A rigid sprite with no controllable bones at all, just prerendered frames of animation (which kinda defeats the whole purpose).

machrider's avatar

machrider

Member since 12 Jan, 2008

None one is following machrider yet!

Trophy Case

  • 16-Year Club

Progress

16/44
How to earn trophies