snuffysam's Recent Forum Activity

  • Once players beat my game, I want them to be able to tweet about it. Ideally, the tweet would include text saying they beat the game, a mention of the game's official Twitter account, some appropriate hashtags, and an image from the game.

    I can find all the other options in the Twitter object, but I can't find any option to include an image. How do I do this? Do I need to use the Browser object instead?

  • I recently managed to fix this problem by updating everything in the Windows update. I also reinstalled Parallels Tools, but the wording of your issue implies that you aren't using Parallels? Anyway, try Windows update.

  • Has C2 ever worked?

    This is most likely due to graphics drivers or the Mac implementation of Windows 7 - I don't see how this can be construed as a Construct 2 bug, unfortunately.

    C2 worked the last time I tried using it, which was a few months ago (before the 221 update).

    Thing is, my graphics drivers and version of Parallels were exactly the same the last time I successfully used Construct. Which could be the explanation, except for that backdating the Construct 2 version doesn't fix the problem.

  • (I filled out all the fields for completion's sake, but if you want any actually useful information, you should probably scroll to the very bottom where I posted the error codes)

    Problem Description

    I open Construct 2, then click any of the menu buttons- File, the gear thing, Home, etc. The program immediately crashes. This happens no matter how long I wait, or if I go to another program first, etc.

    Attach a Capx

    N/A

    Steps to Reproduce Bug

    • Open Construct 2
    • Click any of the menu items

    Observed Result

    "Construct 2 game creator has stopped working

    Windows can check online for a solution to the problem."

    Expected Result

    The ability to access any part of this program.

    Affected Browsers

    N/A

    Operating System and Service Pack

    Windows 7 , run through Parallels Desktop 10.2.2 on Mac OS X 10.10.5 Yosemite.

    Construct 2 Version ID

    Construct 2 release r221

    Note: Since I couldn't post much helpful information, here's the exact error that happens when Construct 2 crashes:

    Problem signature:
      Problem Event Name:	APPCRASH
      Application Name:	Construct2.exe
      Application Version:	2.0.0.0
      Application Timestamp:	569cea62
      Fault Module Name:	Construct2.exe
      Fault Module Version:	2.0.0.0
      Fault Module Timestamp:	569cea62
      Exception Code:	c000041d
      Exception Offset:	00000000004534b0
      OS Version:	6.1.7600.2.0.0.256.4
      Locale ID:	1033
      Additional Information 1:	0975
      Additional Information 2:	0975f10465122d08f7b7f340d1fabc62
      Additional Information 3:	4f4d
      Additional Information 4:	4f4dac15e01e981ba4c6d1c2822d45e8
    
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    [/code:366d2fce]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check the Audio object's properties : one of the option is Save/Load. I haven't tried but I think setting this to none is probably the way to go.

    Oh.

    Well that was way easier than it looked. Thanks!

  • For my platformer i use several global variable

    Music_is_playing (to check if a music is actually playing)

    Zone x (where x is the zone player get into)

    For exemple :

    If Music_is playing = 0

    Zone = 1

    -> play music "blabla"

    -> set music_is_playing = 1

    if Zone is not = 1

    -> stop music "blabla"

    maybe it is not optimal but it is efficient.

    But again, using zones isn't really effective for me, because the player is only in one location, and the enemies come to you.

  • But the thing is, this is a space shooter, not a platformer. The only locations you actually go to are all within one view- everything else comes to you. So I'm not sure if saving by zone would be particularly effective.

    EDIT: I just bit the bullet and made my own save function that puts the player's position, the enemies' position, and the bullets' position into arrays. It's slower, but there shouldn't be more than 50 objects at a time so I think I'm good?

  • I'm not an expert, but here's a way you could handle what you're doing :

    Back when I was making something like what you're trying to make, I would give my checkpoints an instance variable that would depend on how far into the level they were :

    -Starting position would be 0

    -First checkpoint would be 1

    -and so on...

    Crossing one would set a global variable (with 0 being its default value) to that particular checkpoint's value, while also negating the effects of those with lower values so that you can't backtrack and stuff.

    At the beginning of a layout, the game would check what value was stored in the global variable and spawn the player on the checkpoint sharing that value. Any death would cause the layout to reset which doesn't affect music if I remember correctly.

    I thought of that, but would it be practical to save all the enemy positions as well?

  • In older game engines I used, loading a game would not stop the music from playing, so it was easy to check if the sound was already playing and decide whether or not to keep it playing. In Construct 2, it seems as if the music stops when the game loads (which, to be fair, makes a lot of sense), so I can't check if the music is playing or not.

    This becomes a problem with my game's checkpoint system- I have a bunch of checkpoints within a level, so I figured it was easiest to save the game and load whenever the player dies (which is often, hence the checkpoints). However, when I do, the music skips back to where it was when I saved, which gets annoying real fast, especially when the player can die only a few seconds after they reach the checkpoint.

    So how do I get around this? I can check if the game was just loaded from a save file, and... not play the song then? How would that work? And how should I go to the part of the song that was playing when the player died?

snuffysam's avatar

snuffysam

Early Adopter

Member since 15 Jun, 2015

None one is following snuffysam yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies