Joshiii-Kun's Forum Posts

  • Hey there,

    For an experiment, I'm trying to make a Mario game. However, when I got to the dying mechanism, I tried to make the layout restart/reset. Apparently that isn't possible, so I decided to create a different layout it would jump to, after which it would jump to the next layout.

    However, the layout is not reset. Isn't there any way to reset the layout? So strange.

  • Device name: NVIDIA GeForce 8800 GTS

    Pixel shader: 3

    Estimated VRAM: 1064 MB

    Motion blur: Yes

    Actually my pixel shader version is 4.0, not 3.0

  • Hmm, first of all, I managed to really fix my problem Instead of playing it as music, I decided to make the music an external ogg file, which I loaded into a channel on loop. That loaded without any lag and there are no problems anymore. I think XAudio's music playing lag was causing the problem. At one point my sprite would just disappear.

    One question though, when the camera scrolls into the next grid area, and pausing is enabled, the sound playing also pauses. Could it perhaps be made so that the sound doesn't pause? Or is there some other way around it, perhaps?

    EDIT: Oh, and another small thing

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is actually one of the things I warn against, as mentioned in the pseudo-documentation I posted. You should always make the areas the same size or larger than the window size.

    Oh, whoops. Skipped that bit of documentation. I thought it would've been nice though if it would scroll normally, but oh well ;D

  • Edit: Also, I noticed... When you enter another grid that's above you from jumping up, the scroll doesn't work, it just switches instantly.

    +1

    Tried it out too. It's a great plugin though! I'm sure this itty bitty problem can be fixed quite quickly

    Edit:

    Also, it seems that when the grid area is smaller than the view size (I think probably just the window size), it just jumps onto the new grid position without scrolling.

  • I think it's something related to Construct, then. I can hardly imagine that the your camera plugin could actually interfere with the sound system.

    I managed to fix it, sort of. I had the music playing event in the "Start of layout" condition. What I did is I created a new condition, "Timer is Equal to 1" and put the music events in there. Now it works again

    Also, I'll try out that new release! The new scrolling option sounds awesome ;D

  • Sure. Here's the compiled version with the music.

    http://dl.getdropbox.com/u/167571/FattieAdventure.exe

  • In your camera creation you have both the X and Y zoom levels set to 0, so the camera is zoomed out to infinity. You should set the zoom levels to something like 100 each, which is default size. That fixes the problem.

    o_O

    Darn. That I didn't see that!

    However, I fixed the numbers.. And then in the "Start of layout" condition, I add the event that XAudio2 must play music from a resource ("shortloop.mp3"). When I test the game then, the screen is black Hmm.. Confusing.

  • Huh, that seems really weird. I couldn't reproduce it, though. Would you mind posting the CAP with the problem so I can take a look at it?

    Uhm, nevermind what I said. I just wanted to work on the .cap again, but now it's happening even without playing the music. Weird! Here's the cap it happens with. It's quite big because of the sounds and images included.

    http://dl.getdropbox.com/u/167571/fattyadventure.cap

  • Hmm. Really useful plugin. Until I start to play music on the background. Then the camera just goes completely black. When I disable the music events, the camera acts normal again. Strange bug...

    I'm using the latest version of Construct.