shinkan's Recent Forum Activity

  • Hey guys. I'm used to work with 2 x 24" 1920x1200 screens but about month ago one of the broke and today second one broke.

    I'm looking around to get some new ones but can't decide if I should go with the same setup 2 x 24" or maybe get one but bigger, like 27" 3840 x 2160.

    Do someone have any experience with working on high resolution screens? Making and testing projects from C2 + photoshop + illustrator + after effects + premiere and all other game/graphic/movie/game stuff.

  • Unfortunately people forget that you should not build games in UE4 using only the blueprints. For small and not complicated games it's rather fine. But if you want to make something more complex then you need to go full C+ and use blueprints just for simple stuff - like opening the door on trigger.

    Unity...well it's unity, no matter if you use Playmaker, uscript, antares or any other plugin...it still will be unity.

    C2 + Q3D yeahh... but sadly no. C2 was not build in any 3d features in mind and because of that it's really a pain to work with it. Bought it, have it, but can't wrap my head around placing objects on the layout (and have no time to build my own 3d editor to use with Q3D). maybe in C3 Q3D will be better supporter, which I really hope it will!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Repeat 1 - will run just once

    Repeat 2 - will run twice

    etc

    I have something like this in my game, and works just fine.

    EDIT: In "repeat 2" you will get loopindex = 0 and loopindex = 1. In "repeat 1" you will just get loopindex = 0.

  • ...If you want a smooth look on downscale make sure to use only power of 2 images so they get mipmapped. ...

    Mipmaps are created from exported by C2 sprite sheets, right?

    So if you design your sprite frames so they all end up on one (or more) 1024x1024 (or any other power of 2) sprite sheet all should be fine.

  • saiyadjin I think you misunderstood that part. If source image is 1000x1000 then it does not matter if you scaling it up or down in the game cause it will use same amount of memory.

    Questions is , for example for 720p game. Is it better to make you sprites 1024x1024 - and scale it down in C2 to 512x512 - so you can zoom in/out to maintain image detail, or to make sprites 512x512 from the start (which more less will use twice less memory).

  • Nope. Both works fine over here.

  • That is quite drastic. It never went that far for me.

  • On my tests fps and dt looks stable in the demo. In Firefox console fps drops are visible (having max 60, min 50.36) in chrome the lowest I noticed is min 46 fps.

    and besides that the fast moving screen in the demo is also not the greatest, it's visible that something is going on, micro pauses every few seconds.

    (Intel i7-3770K 3.5Ghz, 32GB ram and Nvidia GTX 780, win 8.1)

  • Works like a charm! Took me awhile to understand what is going on there, but already implemented it and modified a bit to fit my game needs.

    Much appreciated!

  • hehe yeah, just read what I wrote and lost myself as well

    Let's try one more time

    White = value 0

    Red = value 1

    Blue = value "X"

    1. There is an array of some width and some height randomly filled with 0 and 1.

    2. I want to set value "X" at X=6 and Y=4. If that XY 6,4 is 0 then I can set it to "X" just fine.

    3. But array can change after some time .

    4. And now value at XY 6,4 is 1 and I can't set it to "X" anymore.

    5. I need to find the nearest available cell to XY 6,4 with value = 0 (any direction or distance).

    6. So I can safely set it to "X".

    If that grid would be made of sprites then I could simply use "Pick nearest" action to pick nearest sprite with variable = 0... But it's a bit more complicated with arrays.

  • What about equality in the distance for the nearest 0 ?

    Hmm, I don't think it matters in my case. It can be any 0 nearest to the initial 0 (which is now 1).

  • You can use int(), floor(), ceil(), round()... with random() to get rid of decimals. For example random(5) can give you 4.42425353.... but int(random(5)) will give you 4.

    Or you can use choose(1,2,3,4,5,6,7,8) to chose one random value

shinkan's avatar

shinkan

Early Adopter

Member since 21 Nov, 2008

Twitter
shinkan has 7 followers

Connect with shinkan

Trophy Case

  • 16-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

25/44
How to earn trophies