Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Workaround SDK for your game

Discussion in 'Project Tiny' started by Zoelovezle, Feb 26, 2019.

?

Is it helpful ?

  1. Yes :)

    5 vote(s)
    71.4%
  2. No :P

    0 vote(s)
    0.0%
  3. Definitely Yes ! <3

    2 vote(s)
    28.6%
  4. Definitely No ! :(

    0 vote(s)
    0.0%
  1. Zoelovezle

    Zoelovezle

    Joined:
    Aug 7, 2015
    Posts:
    54
    Hi everyone,

    I've begun writing mostly used scripts for making games in tiny unity that your are welcome to freely use in your projects .

    https://github.com/wulcat/tiny-unity-mini-sdk

    At this point I’m experimenting with different styles and methods so hopefully I will be able to offer a good variety of things and advance myself in the process . Please feel free to modify / edit as needed &
    if you have a better solutions or any desired scripts you can contribute to repo .

    Enjoy!
     
    sniffle63 likes this.
  2. Zoelovezle

    Zoelovezle

    Joined:
    Aug 7, 2015
    Posts:
    54
    Update : 1) Included method for downloading images and streaming it in game
    2) Included dynamic functions for creating cross communication android/ios in webview
    3) Other major updates for improvement of runtime and flow of it to make a ad game which includes a timers , close pop up on top right , start game retry and close game .
     
  3. sniffle63

    sniffle63

    Joined:
    Aug 31, 2013
    Posts:
    365
    Great job! A true asset to the community :')
     
    Zoelovezle likes this.
  4. youssefdbn

    youssefdbn

    Joined:
    Jan 29, 2019
    Posts:
    1
    Great job
     
  5. Dunk86

    Dunk86

    Joined:
    May 10, 2015
    Posts:
    53
    One question, is it possible to use your image streaming code to get queried images from google images?
    I had a game idea that involved that, but I get the feeling it's not actually possible due to cross-domain restrictions...
     
  6. Zoelovezle

    Zoelovezle

    Joined:
    Aug 7, 2015
    Posts:
    54
    I am not a CORS expert but from my knowledge, the CORS header prevents the images to load on localhost. Apparently, if you host the game on your website or some other hosts like itch.io the cross-domain would disappear magically.
    And as for test, you could just stream an image from your directory.
     
  7. Dunk86

    Dunk86

    Joined:
    May 10, 2015
    Posts:
    53
    Thanks, I'll check it out when I have some time :)