Sprazzal's Forum Posts

  • Sorry, I explained that rather poorly. What I mean is start playing music at a certain point during the song, so on event triggered play song starting <variable> seconds into the song.

  • How would I, for example, play my song starting 10 seconds in? I expect there should be a way I can do this. Thanks

  • You do not have permission to view this post

  • I'm trying to give the impression that the player is moving right in an infinite runner, but I want to make particles and spawning them normally would ruin the illusion since they wouldn't be moving left like everything else except the player. Is there a way I can do things with the actual particles spawned rather than just the place which they spawn? Or should I just use sprites to replicate particles? Thanks

  • Is there a way to get images straight from .gif or other animation files into construct's animation system? Thanks

  • How do I make it so that my object can spin around but its angle of motion for general movement and motion related to behaviours is completely unaffected? And on the same note, change angle of motion without changing the object visually? Thanks

  • Is there a way to, for example, say "every tick do such and such unless time scale is 0"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've just started experimenting with multiple layouts and I want to be able to make it so a command only activates if I'm currently on layout 2 or whatever, but I can't seem to find any conditions for that. Any help? Thanks

  • I can't really reproduce the template since there are no problems with the actual software, but basically what's happening is when I try to "update game details" for my game this error message comes up:

    Server Error in '/' Application.

    Not found

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: Not found

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [HttpException (0x80004005): Not found]

    V4Arcade_Viewgame.Page_Load(Object sender, EventArgs e) +3038

    System.Web.UI.Control.OnLoad(EventArgs e) +106

    System.Web.UI.Control.LoadRecursive() +68

    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3130.0

    Same thing for Chrome and Edge (don't have any other browsers), and I can't edit the file because when I try to go to the upload files page it automatically redirects me to the game details page. Sorry if I'm being stupid or I should have tried to use the template anyway, but any help would be appreciated. Thanks in advance!

  • This is caused by parallaxing. When you drag an object on an layer with parallaxing 0,0 you have to use Mouse.AbsoluteX or Mouse.X("MenuLayerName"). Same for Mouse.Y.

    Setting its position to Mouse.X("MenuLayerName") worked perfectly. Thanks!

  • You can disable the physic behavior for all objects with Y less than your character. Problem is, that other objects ignore those to, so you have to add an invisible sprite/TBG with physic behavior, lay it over all JumpThru platforms and disable collision for your character. The reason why you can not deactivate the collision of the JumpThru Platform for the player right away is that this action always counts for all instances and is not applicable individually.

    + System: On start of layout

    -> PhysicBlockInvisible: Disable Physics collisions with Player

    + System: For each PhysicJumpThru

    ----+ PhysicBlockJumpThru: Y < Player.Y

    -----> PhysicBlockJumpThru: Set Physics disabled

    ----+ System: Else

    -----> PhysicBlockJumpThru: Set Physics enabled

    I did a slightly more convoluted version of that and it worked very well, so thanks! Just wondering - would there be a simpler way to have other physics objects also pass through the platform than having a platform for each individual object I need to control? Doesn't really matter if there isn't one, it's just for the sake of polish. Not really necessary.

  • I'm trying to do a thing where I can pick up an object and drag it somewhere else and the code I'm using is basically start with a variable on -1, set it to 1 when I click, set it to 0 when I release, and setting it to 0 does some fancy stuff then automatically sets it back to -1. I've made it so that when the variable = 1 the object sets its position to Mouse.X Mouse.Y. All of this is working, but something really weird is happening with the last bit. When I click on it, instead of setting its position to my where my cursor is it sets it a set distance to the right, but even weirder, if I move my main character left (all this stuff is part of a pause menu) so that the main character's X value gets closer to 0, the change is less significant. If my main character's X value is 0 there is no problem.

    So is there anything I should check my code for that might be causing this issue? Thanks!

  • So, I'm making this platformer but instead of using the platform behaviour for my character I'm using the physics behaviour to move them around (so that I can apply interactive impulses, blah blah it's just easier). I've given my character the platform behaviour so that I can test for things like being on the floor, but all the movement is physics-based.

    So my question is is there a way to make an immovable platform which interacts with the player the same as any other immovable physics object, but which I can jump through the bottom of like an object with the jump-thru platform behaviour? Thanks in advance!

  • You do not have permission to view this post

  • Something like this?

    https://www.dropbox.com/s/6drs0fiqhkcdzag/TiledLine.capx?dl=0

    That worked impeccably, thanks!