jobel's Recent Forum Activity

  • use an array and for every new entry use the "Push" action which creates a new "row" or entry... like a dynamic list. There's also a sorting action which makes it easy.

    https://www.scirra.com/tutorials/307/ar ... -beginners

  • twg yeah that sounds about right. I finally settled on CFR 15 for my capture and it looked great. thanks!

  • I'd really like to use Bandicam, I like its interface and ease of use...but it's unusable for C2 projects. Fraps looks super nice, but alas doesn't work with Browsers..too bad they don't update it.

    twg okay I just checked out how to set the quality in OBS.

    In Settings you check Custom x264 Encoder Settings. then you set the CFR= (constant frame rate)

    51=worst quality

    23=default

    18=better quality

    0=lossless

    here's the link for those of you who would like to know more...

    http://slhck.info/articles/crf

  • DatapawWolf yeah overall quality, like trying to get the best version of the video. I'm not streaming anything, this would be to show footage of my game, so I'd want that highest quality possible. I'd rather put my own compression on there and be in control of it.

    twg thanks! I will check that out.. I don't want RAW footage either.. just something that does not degrade quality. Otherwise it looks like the game itself is that way and not the video.

  • DatapawWolf yes OBS has given me the best performance so far, however the overall quality of the video is not so great. There doesn't seem to be any option to adjust key frames. For example, fade in/out from/to black looks terrible and choppy. Also my backgrounds are dark so there's lots of pixelation (artifacts). Or it could be a compression thing, either way I have yet to find a setting that looks totally clear.

    any other suggestions?

  • Why is Fraps so out of date? last update was Feb 2013?? and the installer is incredibly old. I am using Win8.1 and there doesn't seem to be a way to record Chrome... works great with my Steam games though!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, Anyone else having issues when recording C2 game video with Bandicam? (using Chrome)

    I was getting this annoying screen "hiccup" about every 2 seconds in my game and thought I had a major performance leak. But I loaded up a blank project with no events and got the same hiccup...My computer is relatively fast, and I use Bandicam to record other games all the time without issue.

    The capx only has 1 tiled background and 1 sprite with the 8Direction behavior.

    for Bandicam recording options I just used the YouTube 720p preset

    here is the video capture with those "hiccups" (6MB video)

    https://dl.dropboxusercontent.com/u/362 ... 23-307.avi

  • rexrainbow I did a couple days testing on this because when it wasn't working, I thought I had a flaw in my design. I wasn't able to see what the CSV had in memory in the debugger, so I wrote the contents to a Text object as I would use it. Everything seemed okay variable-wise.

    The pick statement with the int(CSV.At("field",sprite.idnum) was NEVER true even though the data was there, so I thought I was doing something wrong. But when I replaced the CSV line with the constant value "3" it worked... which blew my mind! meaning that CSV statement was never giving the argument a "3" even though the data was there. I tried to preface the CSV line with int() or str() both in the Pick reference and in Set Entry to make sure it wasn't something funky like that, but it wasn't as far as I could tell.

  • rexrainbow does the CSV plugin have a problem resolving when it comes to picking? i.e Using the System Pick All, or Pick by Comparison, Pick random etc...

    I'm using the CSV to remember every sprite's position last time the Layout was loaded.

    FOR EACH sprite
         PICK gridSprite where  gridSprite.field1 = int(CSV.At("field1",sprite.idnum))[/code:1r7mnxcl]
    
    and this won't work at all.. I finally found a way to make it work using the System Compare two values:
    
    [code:1r7mnxcl]FOR EACH sprite
       Pick ALL gridSprite
          FOR EACH gridSprite
            System gridSprite.field1 = int(CSV.At("field1",sprite.idnum))  THEN Set Position sprite to gridSprite
    [/code:1r7mnxcl]
    does this make any sense?
  • nimos100

    yeah I don't know about this, seems heavy handed when you can probably just rearrange how you do things; initialize all the relative objects within the same event umbrella. Because we aren't really talking about anything other than initialization or rather, things that happen only once. Otherwise a reoccurring event will catch up with no noticeable problem.

    Not saying your object handler won't work, it's just maybe not very practical? I don't really know, I'd have to see a situation where you couldn't keep created object references together.

    In those examples of Create Enemy, Initialize Enemy, GiveEnemyWeapon. You could still have those functions perform actions and have the function return a result you could apply to the newly create object within the same event nest.

  • aha! thank you thank you!

    I've seen pick nearest before, but wasn't sure where to find it. It's not a System expression, it's in the object condition...

    wow, this makes things SIMPLE!

    DuckfaceNinja thanks again!

  • I want to take a subset of instances and get the min distance to an object.

    so...

    Pick all Sprite1 AND Sprite1.isEnabled = true

    so let's say I have 20 Sprite1s and this line above picks 10 of them

    now I want to find which of those 10 Sprite1s is closest to a particular x/y (let's say Home).

    Pick Sprite1 where min(distance(Sprite1(0).x, Sprite1(0).y, Home.x, Home.y),distance(Sprite1(1).x, Sprite1(1).y, Home.x, Home.y), etc..

    the problem here is I am referencing each instance directly and not filtering the instances that are Enabled=false

    how do I apply the min expression to a subset of instances??

    Thanks...

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