Oh that's nice.nyarla wrote:an even more convenient thing than QR codes would be encoding levels to a string, possibly short enough to post on twitter, with a #goatup2 hashtag or some such.. and then have the app make a custom url scheme on ios devices so, eg, "goat://<levelstring>" opens the level in Goatup 2. (exactly the same as what Glitch Machine does with its glitch:// song encoding). pretty much the only good reason for an app to tweet stuff!
Goatup 2?
Re: Goatup 2?
- gilesgoat
- Sheepie Whore

- Posts: 27259
- Joined: Wed Sep 03, 2003 7:54 am 0
- Location: Monfalcone, Italy
- Contact:
Re: Goatup 2?
I can't see string encoding to work, levels have a certain size, even if you'd compress it I think you'd still get into the realm of a few KBs and putting a string some KB long sounds quite impractical.
According to a quick look on Wikipedia a QR code can store approx < 3Kb of raw binary data, I think that's going to still be quite a stretch to fit a level in even with compression.
Anyway I think the approach of "image" maybe could be 'an easier route', maybe, just because it seems it's easier to share an image rather than sharing a genreric file (?).
But no strings encoding I definitely can't see that working.
According to a quick look on Wikipedia a QR code can store approx < 3Kb of raw binary data, I think that's going to still be quite a stretch to fit a level in even with compression.
Anyway I think the approach of "image" maybe could be 'an easier route', maybe, just because it seems it's easier to share an image rather than sharing a genreric file (?).
But no strings encoding I definitely can't see that working.
Giles the billy goat
"Baa"
"Baa"
- nyarla
- Baaaaaa!

- Posts: 2820
- Joined: Tue Jan 14, 2003 1:53 pm 0
- Location: i said kiss me you're beautiful these are truly the last days
- Contact:
Re: Goatup 2?
ah yeah, sounds like levels can be way too big for twitter-length strings, d'oh.
Re: Goatup 2?
It's certainly possible, but you have to forgo some aspects of 'design':
- Generate most of the level randomly from one or more seeded RNGs for different aspects of the level
- Review lots of different values for the seeds until you find one that plays well
- Use the remaining space to tweak the randomly generated data to polish gameplay
For a certain type of game it would work OK. After all, for some types of game procedural generation from a seed is about all that controls the levels.
- Generate most of the level randomly from one or more seeded RNGs for different aspects of the level
- Review lots of different values for the seeds until you find one that plays well
- Use the remaining space to tweak the randomly generated data to polish gameplay
For a certain type of game it would work OK. After all, for some types of game procedural generation from a seed is about all that controls the levels.
Re: Goatup 2?
Yeah, but for this game the whole idea is to let people build levels naturally, by drawing platforms and placing objects by hand. Generating levels procedurally is certainly possible, but whereas they might end up being playable, I think it takes a human designer's ingenuity to make levels actually interesting and fun. Being Matthew Smith is what it's all about
.
Justified and Ancient.
- gilesgoat
- Sheepie Whore

- Posts: 27259
- Joined: Wed Sep 03, 2003 7:54 am 0
- Location: Monfalcone, Italy
- Contact:
Re: Goatup 2?
There's an "upper mem limit" to what a level can be, it's just this limit is a bit too big to fit into a QR and definitely too big to fit into a string, given that this is "an editor" for HUMANS to use it, it kinda "defeats" the concept of random generated stuff ( for which you would just need maybe some seeds and some vars ).Dio wrote:It's certainly possible, but you have to forgo some aspects of 'design':
- Generate most of the level randomly from one or more seeded RNGs for different aspects of the level
- Review lots of different values for the seeds until you find one that plays well
- Use the remaining space to tweak the randomly generated data to polish gameplay
For a certain type of game it would work OK. After all, for some types of game procedural generation from a seed is about all that controls the levels.
For the very nature of the levels and type of game random won't do, plus the idea to leave the editor accessible is precisely for people to edit levels, sure you could have a "pseudo random" gen where you could fiddle with "a bit of knobs" and let's say "generate something messing with 10 params" but this is not that kind of stuff.
Anyway the problem is only about the fact that "they made it complex to share a file", that's the only root of the thing and it's down to politics not technicalities.
Giles the billy goat
"Baa"
"Baa"
Re: Goatup 2?
You can register a customer URI scheme for your app that if it's clicked on in an email your app will launch and be sent the link. For example:
goatup2://<uri string>
How does that help? You can actually encode data into the URI and they can be quite long. Here's someone sending a javasctipt app:
http://blog.clawpaws.net/post/2007/07/1 ... -data-URLs
That'd work and mean you can just email levels to each other
goatup2://<uri string>
How does that help? You can actually encode data into the URI and they can be quite long. Here's someone sending a javasctipt app:
http://blog.clawpaws.net/post/2007/07/1 ... -data-URLs
That'd work and mean you can just email levels to each other
Re: Goatup 2?
And a bit more reading up it seems there isn't a limit on URI length for IoS
You can send megs if you want
You can send megs if you want
- hyphz
- Baaaaaa!

- Posts: 2856
- Joined: Tue Aug 13, 2002 4:24 pm 0
- Yahoo Messenger: hyphz
- Location: Reading, which is deep and dark apparantly
- Contact:
Goatup 2?
Well, it is. Go to the Twitter or Facebook apps and they have "attach image" right there. iCloud can't share files but it can share photo streams. Sites like imgur do free adless image hosting whereas general file hosts have the dreaded "click here to download.. no here.. no here" thing going on.gilesgoat wrote: Anyway I think the approach of "image" maybe could be 'an easier route', maybe, just because it seems it's easier to share an image rather than sharing a genreric file (?).
I'd think an image of say 4x4 or 8x8 pixel single color blocks (to avoid compression problems) in 255 palletised colours could encode plenty of data in a shareable way.
Re: Goatup 2?
Or maybe better still, levels could be steganographically encoded onto images selected from an inbuilt selection or from a user's photo library, with the option to tweet directly from the app.hyphz wrote:Well, it is. Go to the Twitter or Facebook apps and they have "attach image" right there. iCloud can't share files but it can share photo streams. Sites like imgur do free adless image hosting whereas general file hosts have the dreaded "click here to download.. no here.. no here" thing going on.gilesgoat wrote: Anyway I think the approach of "image" maybe could be 'an easier route', maybe, just because it seems it's easier to share an image rather than sharing a genreric file (?).
I'd think an image of say 4x4 or 8x8 pixel single color blocks (to avoid compression problems) in 255 palletised colours could encode plenty of data in a shareable way.
Re: Goatup 2?
Just the type of challenge that Giles would relish, surely?hyphz wrote:Stego that isn't destroyed by compression is a b*stard to do though. Even some commercial versions cheat and use the comment field..
Re: Goatup 2?
sonixtorm wrote:Or maybe better still, levels could be steganographically encoded onto images selected from an inbuilt selection or from a user's photo library, with the option to tweet directly from the app.hyphz wrote:Well, it is. Go to the Twitter or Facebook apps and they have "attach image" right there. iCloud can't share files but it can share photo streams. Sites like imgur do free adless image hosting whereas general file hosts have the dreaded "click here to download.. no here.. no here" thing going on.gilesgoat wrote: Anyway I think the approach of "image" maybe could be 'an easier route', maybe, just because it seems it's easier to share an image rather than sharing a genreric file (?).
I'd think an image of say 4x4 or 8x8 pixel single color blocks (to avoid compression problems) in 255 palletised colours could encode plenty of data in a shareable way.
Both are really cool ideas, though the stegano method is more involved, not sure if there is an open source lib for this?
The image method would be relatively easy to do, encoding data as RGB 8bit pixel data in a gif or png file, and have a CRC checksum at the end to ensure data correctness within the image (preventing user alteration, and possible game crashes).
Re: Goatup 2?
You can't guarantee that whatever twitter picture hosting service you use won't rewrite the data unfortunately.
- merman
- Sheepie Whore

- Posts: 10943
- Joined: Wed Feb 16, 2005 1:44 pm 0
- XBL Gamertag: merman1974
- Yahoo Messenger: andrewrfisher
- Location: Skegness, England
- Contact:
Re: Goatup 2?
iTunes sharing does have the advantage that the files will be backed up on connection to a host computer though
Twitter, Xbox, Wii U and Steam - merman1974
ZZAP is back - https://www.patreon.com/zzapmagazine
ZZAP is back - https://www.patreon.com/zzapmagazine

