Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

UnicorMaid Frankenstein

17
Posts
1
Topics
5
Following
A member registered Feb 02, 2021 · View creator page →

Creator of

Recent community posts

UMF here. I have been hanging around itch.io a few months and have experimenting with HTML5  not games exactly  but things you can play with. The most game-y are kind-o like arcade  style games. I  also make music, and many of my experiments involve audio.   I am really just doing this for fun.  I would be particularly interested in hearing from musicians  or audio oriented folks on the site.   So much great work here on itch.io, it is inspiring. 

Spreading love and chaos,

UMF

(6 edits)

So i got my cross origin resource sharing working with my HTML5 app on itch.io  by putting a .htmaccess file in my source folder on my server.

But now I have some related questions.

My .htaccess file (on my server) looks like this:

Header add Access-Control-Allow-Origin "*"

Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"

Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"


This totally works, but it seems like the wildcard is pretty wide open, and it would be better to give access to  itch.io specifically. What should that look like?  I see it should be a reference to the itch.io domain some how... perhaps something like-  Header add Access-Control-Allow-Origin  "https://itch.io"   -or-    Header add Access-Control-Allow-Origin "https://itch.zone"   -or-    Header add Access-Control-Allow-Origin ">https://itch.zone"  -or-  Header add Access-Control-Allow-Origin "https://v6p9d9t4.ssl.hwcdn.net/"   -or-     Header add Access-Control-Allow-Origin "https://MyUserName.itch.io"   ?     I guess I mean to ask,  what is the itch domain i should  list to allow CORS?  And doing that would mean only listed URLs would have access.                                    And some documentation says "set" instead of "add"    -  does it matter?

Next, in that methods section  should I really have -PUT, GET, POST, DELETE, OPTIONS -  all listed?  is it better just to have GET and POST if that is all i am using?  That is to say, it seems that I am  potentially giving a lot of control to anyone who can find these files.  

Finally,  once I GET a url , the browser seems to hold that data for some time before it changes on reload, even if i change the file.  Is there a way to clear that data from the browser?  Where is it stored?  It seems to update on its own eventually...

Hopefully these questions are not too simplistic, but exploring this is quite interesting. It is a bit tough to explore, because it seems to take quite some time before the .htaccess changes (and also the  GET data) take effect.   Probably a non- itch issue,  but perhaps someone(s) can help me  understand more


Thanks!

UMF

Shhhhhh

That is the real secret!

The app does not care...

UMF

Thanks! No  actual cows were harmed in the making of this , errm, game(?) !!

BTW I am following you now

I am curious about what you have created here!  I think it may take several sessions to get thru
I am following you now, and look forward to seeing your new productions.

REALLY like the graphics on this one

cool concept,  

but I am not sure i get the controls- I can not seem to move or re-appear

I am on a pc - I will try a different mouse-  my laptop pad is less good for this

Cool game, I always like zombies!

Great instruction graphic at the start!

Nice! 

cringe-y and Valentine-y

I like the art!

Fun

I like the dark graphics and music

Wow do I suck at this!

But I like the graphics a lot and the concept is gool, i mean cool

I am playing on a PC, but curious about trying this on a phone- will it work?

I like it!

I really does sim the party experience, and hits the theme well!

Thanks! I really appreciate your feedback and describing the issue with the arrows scrolling the page.

I am new to this, so the  notes help me understand what a "fresh" user sees and how they use the app

Thanks for liking the idea!

UMF

Thanks! This is most helpful-  i played it on my own systems, but I also know how I meant it to work

I will try to make it  more clear

This is great feedback!

(1 edit)

Thanks!

Tell me a little bit more, so I can improve this, or stuff as I move forward

are you on a phone, a computer, etc?  What is difficult?


Or, just Thanks for checking it out!

UMF

Fantastic! Gotta try this recipe at home!