Jump to content
EN
Play

Forum

SwiftSmoky

Tanker
  • Posts

    3 282
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by SwiftSmoky

  1. SwiftSmoky

    Shadows optimization

    I have a suggestion on how to optimize this graphics setting: In-game settings > Graphics > Deep shadows When I enable it my fps drops from 60 to 40 even when I'm alone in a medium sized map. This means the game keeps drawing all the shadows over and over every single frame which is really unnecessary because all of these shadows remain unchanged unless a tank drives by or a supply box drops. The idea is to save the textures with shadows and re-use them instead of re-drawing them every time, and to decrease memory usage avoid saving the same texture with the same shadow twice (to re-use - for example - the same image with shadow for all cliffs that are not at a corner) Algorithm: Let props be an indexed collection of all props in the map. Each object in props has a boolean property hasDeepShadow and an image reference defaultShadowTexture. Part 1: when the battle is loaded with deep shadows enabled / when the player enables deep shadows in the middle of a battle: FOR (i = 0; i < props.length; i++)Set props.hasDeepShadow to indicate whether the prop has a deep shadow on it (if there are props next to it that should cast a deep shadow effect on it) IF (props.hasDeepShadow == true)​ FOR (j = 0; j < i; j++) IF(props[j].hasDeepShadow == true) If props and props[j] have the same texture, and adjacent props that would cast the same shadow:props.defaultShadowTexture = props[j].defaultShadowTexture IF (props.defaultShadowTexture == null) Draw an image of this prop's texture with the deep shadows effect applied on it, and assign props.defaultShadowTexture to reference to this image Part 2: do for each prop while drawing the next frame: IF (hasDeeepShadow) If a player or a supply box is in range (close enough to cast a shadow on this prop) :re-draw the shadow the way it is done now Otherwise: Use defaultShadowTexture instead of re-drawing the same shadow from scratch Otherwise: use the prop's original texture This involves saving lots of images in memory which might be a problem in big maps. I suggest testing this to see how much memory it takes and if it's too much then enable this optimization only in maps that are small enough. Similar logic can also be used in Dynamic shadows, just make sure you re-draw ONLY what needs to be re-drawn, and obviously store only a maximum of one image per prop with all shadow effects applied on the same image.
  2. SwiftSmoky

    Parkour Challenges - *now with prizes!*

    Please don't announce stuff like it's official when it isn't. I won't add this challenge because it was already done many times, people with wasp m0 jumping in space mode over the whole map. and without space it's completely impossible.
  3. SwiftSmoky

    [F&F] Fight & Flight

    The power of parkour fighting :wub:
  4. SwiftSmoky

    Parkour Challenges - *now with prizes!*

    As written on the first post in this topic:
  5. SwiftSmoky

    Parkour Challenges - *now with prizes!*

    yep, it's not has hard as other challenges here, just takes more players
  6. SwiftSmoky

    Parkour Challenges - *now with prizes!*

    Nice try :lol:
  7. SwiftSmoky

    Parkour Challenges - *now with prizes!*

    Nice, 2 challenges completed by Refline :P
  8. SwiftSmoky

    Parkour Club Support

    If you are such a nolifer that is active enough to be accepted to all the top clubs then you must also be spending a ton of drugs on it, otherwise you're probably not doing enough parkour with each club to be accepted, so as far as I'm concerned you can do whatever you want with your time lol Though some clubs don't accept members of other clubs, I'm pretty sure TFP don't accept members of other clubs, FnF really rarely accepts members of any other club because we want people dedicated to us and not spreading themselves too thin between different clubs, and I don't know what's the situation in TDF and NGU but I can pretty much guarantee you that you won't manage to join more than 2 of the supported clubs anyway.
  9. SwiftSmoky

    Parkour Challenges - *now with prizes!*

    ok this challenge is way easier than I expected, I was expecting the flipped tank to slide off the palm tree. my bad for adding a challenge before testing it properly x: oh well, enjoy your easy 10k lol, and rest assured that all other challenges are all tested and proven to be much harder to complete, let's see if you can do one of them too :P (I know the video doesn't show them a whole minute on the tree, but in this scenario it's obvious that he is not sliding off)
  10. SwiftSmoky

    Parkour News

    New video [LPS] Legacy Parkourists - Montage: Random
  11. SwiftSmoky

    Parkour Challenges - *now with prizes!*

    I got a tank balanced on this pole once, I know it's not that easy, but still it's not nearly as hard as the challenges in this topic, you'll feel the difference if you'll try to get balanced on an antenna or do any other challenge here :P
  12. SwiftSmoky

    [AoP] Academy Of Parkour

    I don't have time to write full feedback now, so I'll only write the most important thing: you say you want to teach players and I see you write some stuff on the video, but with this editing I can't see clearly what's going on in the video. Players who know these tricks already have no problem understanding what happened, but those who don't know these tricks won't be able to learn them if you skip important parts of the trick or speed through them.
  13. SwiftSmoky

    Parkour Challenges - *now with prizes!*

    This is not an antenna, this is. I see I should add links to screenshots wherever possible for the sake of clarity, sorry x_x There are no easy challenges here, if something looks too easy it's a sign that you may have not understood it correctly.
  14. SwiftSmoky

    [Issue 77] Parkour Weekly - Season 1

    The official announcement was published *link* Not much to mess up there, the task is not as specific as in parkour survival, it's more like a weekly MOP and the players vote for the maps so the organizers don't need to control many variables.
  15. SwiftSmoky

    Parkour News

    Contest "Parkour Weekly" - official announcement « Announcement »
  16. SwiftSmoky

    [TFP] The Flying Parkourists

    Shortly: the use of excessive firepower and missed shots. I see this repeating in other videos too and other people already mentioned it in feedback several times in the past, so I guess they just won't bother trying to change it :unsure:
  17. SwiftSmoky

    [TFP] The Flying Parkourists

    I watched with sound off, but anyway it's not a big deal since people don't need the commentary to see what's happening in the video, as far as I know they just add it because they like having someone talking in the background
  18. SwiftSmoky

    [TFP] The Flying Parkourists

    Good to see you finally using more creative tricks in this video, keep it up!
  19. SwiftSmoky

    [TDF] The Dutch Flyers

    Really nice and creative tricks there! :D
  20. SwiftSmoky

    Parkour News

    New videos [TDF] The Dutch Flyers - Montage: Random [TFP] The Flying Parkourists - Montage: Kungur (commentated)
  21. SwiftSmoky

    Parkour Challenges - *now with prizes!*

    Don't expect to find anything easy here lol
  22. SwiftSmoky

    Parkour Challenges - *now with prizes!*

    It means you have to do it solo
  23. SwiftSmoky

    Parkour Challenges - *now with prizes!*

    I explained why this challenge won't be added, regardless of that loophole. I don't know when the test server opens, you'll have to check yourself once in a while.
×
×
  • Create New...