Demo: Text Attributes to Arrays
Alrighty, I sort of just read the sticky about Loading Times and Ram Usage. Anyway, I was intrigued by the aspect of turning text attributes into arrays. In my current project I am using binary logic to store my information in 1's and 0's. Seeing as this is GameSalad, and we are the 98% that do not WANT to code, and I don't think you all want to use 1's and 0's; so I thought I would try to make a demo to show how one can do this.
Download it HERE
I thought I would make this demo for everyone, it seemed to spark some interest in the thread. I know codemonkey said he was going to make one, so.. until his is released I hope this helps some.
Have Fun, Be Safe
Michael
Note: This is my first demo/tutorial. Hope its good.
Download it HERE
I thought I would make this demo for everyone, it seemed to spark some interest in the thread. I know codemonkey said he was going to make one, so.. until his is released I hope this helps some.
Have Fun, Be Safe
Michael
Note: This is my first demo/tutorial. Hope its good.
Comments
I did find it countdowns to a negative number which I find confusing.
Cheers,
Ludwg
Lump Apps and My Assets
I just did not make rules to show that the deck has run out of cards and reset. Since this was a demo on arrays and not reseting. I am sorry if this was confusing. I tried to explain that in there.
Michael
I thought you could only have 52 numbers to pick from as well so am wondering what number it gives next. But I'm not really digging in to it at this moment (would love to but don't have the time).
Anyways, thanks for the demo!
Lump Apps and My Assets
Index attributes are integers more than or equal to zero.
Will check out your demo in a bit, thanks for posting.
Shaz
------------
"...the resulting sonic effect is almost mesmerising." Pocket Gamer
Sound design and music service available: http://tiny.cc/MusicService
www.HoneyTribeStudios.com
@LudwigHeijden I am sorry again... The demo was not coded for anything, after all 52 cards have been drawn. For example, the deck number becomes a negative numbers, showing that you are pulling cards out that the deck does not have. And the "NextCard" attribute goes crazy flipping through numbers looking for a number not in the array, but since the entire deck is in it, it will never stop looking (infinite loop). And once you have picked up all 52 cards, you can still pick up a card (which is added to the array) This is because, in the 'Press' rule the only validation is if it is being pressed. I did not include the same check as in the random number rule.
All three situations were poorly coded. I apologize to anyone who may become confused by this. Like I said this is my first demo. I was paying attention more to show how the arrays worked. Sorry Again
Have Fun, Be Safe
Michael
Feedback?
Michael
BTW, I take criticism very well, hah
Thanks!
@Rob2 I know...
i kind of liked doing the demo, I just know if I was any good at it. Any other suggestions for demos?
I was very good! I had been looking at how to make a random number generator for a simple raffle app just days before your posting, following the same codemonkey thread, etc... What great timing! I must say you have a nice style for documenting what is going on in your demo - very clear. I was able to follow it then make changes as needed to adapt the concept to my app. I finished it quickly and just released on the App Store. Here are some promo codes if you're interested... (I'll post a few more under "Announce Your Game". Thanks for the great demo - very useful!
Winning Ticket! is a very simple iPad app that lets you enter a start number and end number and it picks random winning numbers, does not repeat, ends when finished.
Winning Ticket! promo codes:
YFRMPM3YM4JW
4E9WAXT7J3RR
WFLA3WYXTAYE
A436NY6TKEN6
3PFYKER6T7R4
TE9AWJ9JEP4J
9ANKPJL7K79X
All the best,
Jill