jobel's Recent Forum Activity

  • I've only tried this with the audio preloaded into memory. I'm not sure if streaming it (ie, putting it in the "Music" folder in C2) will have an effect. I put everything in the "Sounds" folder, personally, and just preload everything I need.

    Now that you can unload sounds it's less of a problem but still.. you need to be careful here.. loading music fully into memory can take up a lot of space quick! If I remember correctly audio is uncompressed in memory so your 8MB song can easily be 80MB in memory. Add a handful more tracks and suddenly your footprint is half a GB... and that's no good.

  • I played for about 10 or 15 mins before I gave up..

    everything looked the same color, I couldn't tell where I was and if I was going anywhere different really... although when there were more enemies I realized I was in a new area.. Oh and the outer light purple color which is the bounds of the game? I thought I could walk on it.. so I was surprised when I couldn't go through it..and died pinned up against it a few times.. maybe this needs more contrast (darker) as its the edge of the screen? or maybe it was weird how the character starts to overlap it but then you can't quite go through it? not sure.. something just wasn't right so when I was running from those bat things I wasn't sure where the bounds were exactly... also the bats go through this so I thought I could... if it's supposed to be higher or lower elevation, maybe you could add something to the tiles give it height or depth?

    The player needs some work.. without any walking animation the player really feels like it's like a HUD element. doesn't feel as part of the world. Also think about doing a Scroll to lerp instead of ScrollTo behavior to make it in the world more maybe?. And the player needs a drop shadow like those bats.. and needs to turn left/right.

    I played a second time and eventually I found 1 human.. but not another one.. and I looked hard!

  • for the gun sound just add variations..take the original sound bring it into Audacity and do one of these to each version:

    -change the tempo

    -change the pitch slightly (very slightly)

    -give a small doppler effect (pitch slide)

    -add a little shimmer, echo or something to it (make this one twice as long)

    you can trigger sounds randomly: Play sound "gun" & choose("1","2","3")

    or do something more elaborate..every 6th one play a different sound

    Play sound "short_laser" & (counter < 6 ? "1" : "2")

    set counter to counter % 6 + 1

  • you can just run the debugger and it should show the array data if you are curious... but yes it will bring the whole "row" when sorting.

    generally the way I think of arrays are like Excel spreadsheets

    column A is the X axis AND the row number

    once you include additional columns you need to get specific and into the Y.. think of them as coordinates.

    and the X is always the Row number

    so this has 2 columns and 3 rows:

    X[0] Y[0] "John"

    X[0] Y[1] 3231

    X[1] Y[0] "Fred"

    X[1] Y[1] 1291

    X[2] Y[0] "Mary"

    X[2] Y[1] 3920

  • that's sorting..

    C2 doesn't have very powerful built-in sorting.. but if you make your first column "Names" you can sort by X axis and it will do the trick. And it will be ascending..

    Any other kind of sorting then you probably have to do it manually yourself..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • played, good job so far.

    the good:

    -cool art

    -good enemies

    -interesting mechanic (find people I assume?)

    the bad:

    -repetitive shooting sound, after a while it's just too much, I'd force the player to stop shooting, like an eventual overheat or something

    -too hard, never found the people I was supposed to rescue, played for a bit, never found anyone, for level 1, add some success early.

    -no minimap, easy to get lost. either that or make each "section" unique looking with a different background

    -the old retro tv look is ehhh.. it's just gimicky and doesn't really serve the game too much, it's pretty dramatic - I could take it or leave it.. if it wasn't as intrusive I would keep it.. I don't know, I'm just not sold on it. Maybe make it an option to turn off?

    -I assume you will give the player a walk animation? if not.. I definitely would do that.

    keep up the good work...

  • definitely need to be more specific... you can do millions of different kinds of "effects"

  • I tried it.. it's strange.. it depends on system resources I think.. and if it's already been played before.. on the first play through it's fine..sometimes I can hear the last cut, but not always.. but when I start the entire song over already having played it once, the overlap is too long and you hear each cut.

    https://www.dropbox.com/s/7pbenhfmarbbq ... .capx?dl=0

    Definitely streaming from disk is the culprit. If you read your tracks into memory that would fix it - not that you would want to do that.

  • Suppose you have a song divided into 4 parts.

    You want the four parts to sound one after another without silences, otherwise the song will sound bad.

    That's what I want to do.

    depends on how you cut the music but in that case I would probably do:

    Set overlap to 1 //number of seconds to overlap tracks

    Function PlaySong()

    Play SongArray[x] as tag "CurrentSong"

    Compare 2 values: Audio.PlaybackTime("CurrentSong") > (Audio.Duration("CurrentSong") - overlap)

    Add 1 to x

    PlaySong()

    If you want seamless music that is constant - meaning from a track with an abrupt end cut and seamlessly goes into another track you could try it OnEnd of Audio, then trigger the next track.. but it really depends on the music and how you start/end the track. there might be a small pop or silence that sounds like a pop.. thats why I'd start it before the end.. even 0.05 would prevent the pop.. but you have to make sure there's no beat in the music that will be messed up by offsetting the tracks. But again, it depends on how you make the tracks.

    If you are splitting tracks into 4 parts, most likely you want to mix and match parts.. or loop certain parts? What exactly are you trying to do? there might be a better way..

  • Hello, I think it is not possible to create a playlist in C2.

    I mean put songs to a list, then run the list (play list "name") and make the songs run automatically.

    As an option it would be well to choose to run without spaces of silence, then one of the other.

    I mean, the songs go from one to another without spaces of time, without silences.

    you mean like this?

    Function PlaySong()

    Play SongArray[x] as tag "CurrentSong"

    On "Current Song" Ended

    Wait 2 seconds

    Add 1 to x

    PlaySong()

  • Issac3Spies I searched for that and found nothing.. have link or pic?

  • It doesn't have to do with Pin, it's something to do with the Solid moving right/left and the Platformer on top of it..

    I did a test just with 2 Sines and it still slightly wiggles.. (very subtle though - I added timescale 0.1 to help show it)

    https://www.dropbox.com/s/4ykkbgc86llxs ... .capx?dl=0

jobel's avatar

jobel

Member since 27 Jul, 2013

Twitter
jobel has 8 followers

Connect with jobel

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies