Giter Club home page Giter Club logo

uis's Introduction

Hi there 👋

I'm a Unity Developer working in Rostov-on-Don, Russia 🇷🇺

NOW
  • 🌐 I'm develop new mobile card game
  • 🧩 I'm develop framework for multiplayer online games
  • 🕹️ I’m plan to make my online Unity course: "Developing multiplayer online games on Unity and Node.js"
BIO
  • 🎮 I’m currently working on new online mobile games
  • 🌱 I’m currently learning Node.js and TS
  • 💬 Ask me about unity, c#, mobile game development, nodejs, online games, native plugins
  • 📫 How to reach me: @mopsicus or [email protected]
  • ⚡ Fun fact: I remember the times when internet modems made sounds like: beeep-hiss-beep-beep-chirp-hissss
ARTICLES (RUS)

uis's People

Contributors

cheerylee avatar durss avatar mops avatar mopsicus avatar olonge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uis's Issues

Image cells

Whenever i have image inside the cells. The images keep fidgeting, where the image keeps changing really fast between the intended image and the previous image.

Images are assigned inside coroutines.

How to autoscroll to target?

I use MoveToSide method to scroll to end position and if target is found i stopped scrolling.
but items spawned after scrolling.
i changed the SCROLL_SPEED, SCROLL_DURATION
but it did not work.

i mean OnFill is called at first few times,
and is not called even if scroll is moving.

is there a good way to autoscroll to target?
thanks!

How can we set Scroll Rect vertical position to 0 to show latest item?

I am using it to created Chat system and below is my requirements.

  1. The Chat Panel should have an infinite scroll so Users can see the Chat Histories.
  2. New Message should be at the bottom of ViewPort.
  3. Users can't scroll down to beyond the latest Message.
  4. Users can't scroll down beyond Last Chat History.

How to reset items in list ?

When i launch Scroll.InitData(0); to reset the list, i get some errors, How can I reste the list content? Thank you

Null refrence error for no reason

NullReferenceException: Object reference not set to an instance of an object
Mopsicus.InfiniteScroll.InfiniteScroll.CalcSizesPositionsVertical (System.Int32 count) (at Assets/Scripts/InfiniteScroll.cs:698)

what causes this error ?
OnHeight is defined in my script using the infinitescroll.cs

Going in minus

Hi, In your script is going forward like (0,1,2....). But I want to go both direction backward also. like (0,-1,-2,...). Where can add this thing in InfineScroll.cs. Thank you

Flicker problem

There is a flicker problem when using a canvas with
Scale with screen Size: x:1536/y:2730
Match: 1
Ref Pixel Per Unit: 100

Do you have a solution to remedy this problem?
Thank's !

Scrolling with Scroll Bar

The list doesn't update when scrolling via Scroll Bar handle. What callback do you use to achieve the same?

Support for multiple cells

Any plans for support multiple cells. Since would be nice to have more than one item next to eachother

How to revers scroll direction?

I need revers scroll direction (Bottom to Top) = first element on Bottom, last on Top = it's hard to understand this solution for change anything=(

Not display numbers

Hi, I try your code in my already created Canvas but I can not see any number on that one. I can see number in Hierarchy but not in Game display. Please find screen-sort of the error. thank you.
error

Namespace error

On a blank Unity (2018.2) project, I get a namespace error when I import this project.

Assets/infinite-scroll-unity-master/InfiniteScroll.cs(18,15): error CS0101: The namespace `Mopsicus.InfiniteScroll' already contains a definition for `InfiniteScroll'

Changing the namespace name fixes the error.

Scroll bar for Infinite items

Hi

I would like to use scroll bar for infnite items in scroll view .i tried to use but unable to use scroll bar .Could you please help on it 

No Item reload when using Mouse wheel

Hey,

I like the script so far and would like to use it, but within the Demo and my own project, when I use the scroll wheel to scroll the list of items, no new items are loaded and hence displayed in the scrollview. It only works for dragging the view up and down but not when using the Mouse scroll wheel or dragging the scrollbar.

I tried to load 100 items but after Item 8, no new is added and I can only scroll blank space.

If further information is needed, just let me know.

Horizontal scroll not updating

When using infinite-scroll in horizontal mode, the data items are not updated past the initial items created.
This is due to the _heights variable being used instead of the _widths variable in UpdateHorizontal

image

Null exception when scrolling up with 1 item

It's not really one item, may be the height of item.
When my scroll list had 1 item, I tried to scroll up and it threw an exception at UpdateVertical () function:
float itemPosition = Mathf.Abs(_positions[_previousPosition]) + _heights[_previousPosition];
so I check the key in __positions and return if the key not found. Is it ok? Or I miss something?

Update lag on high velocity

Accordingly to my comment in #23

If we want to change scrollbar (exactly the bar, not by dragging scroll view) position too fast, there would be unpredictable behaviour: the component won't update views' positions. They will stuck outside content transform bounds. Nextly, if we would drag scroll view, but with much less velocity, views will change their positions little by little.

Currently I don't know how to beat this issue due to lack of the documentation and comments about how UpdateVertical and UpdateHorizontal methods work.

@mopsicus what do you think about it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.