View Full Version : can anyone tell me how to do this?
mixedtrigeno
October 18th, 2004, 05:44 PM
i am trying to do this for my game...ofcourse for the name input
any help at all guys thanks-keep in mind i am a newb
http://oos.moxiecode.com/stuff/name_writing/index.html (http://oos.moxiecode.com/stuff/name_writing/index.html)
Dr Warm
October 19th, 2004, 04:54 AM
do u mean the effect, or just how to select a letter and put it into a name box or something.
the effect would be kindo of difficult to reproduce, it would take me awhile to reproduce it (maybe a 2-3 days) and i don't really have that sort of time.
To begin with i'd just look at doing it in a 2D way, ie something done like in this tute (http://www.kirupa.com/developer/mx/infinite.htm), then maybe once u get this one underway, i'll see if i can do a 3D. But if ur hearts set on the 3D, i'd get on to flashkit.com and download every movie there in the 3D section (seriously, do this anyway!).
mixedtrigeno
October 20th, 2004, 01:18 AM
my is not 3d at all the reason why i want the effect is because i believe the effect is really cool for name entry as oppose to the typical name entry ... hey if you can do me that huge favor i dont mind waiting at all my game wont be finished for a while i am still building the menu and and fighting engine(which are taking me a while cuse i dont know too much AS)
so as long as it takes you take your time no rush at all...
Dr Warm
October 20th, 2004, 03:39 AM
The easiest way to do the 2D version will be with tiles, cos tonypa has a code for scrolling as well, but it'll be pretty hard to go from that to the 3D....but i'll have a crack at it
Dr Warm
October 20th, 2004, 08:40 AM
Ok, done a quick 2D one, u can just add more letters/numbers/characters by putting them into the array at the start.
Small problem is if u hold down space it adds letters really quick, u'll have to change this by adding like keyUp (but u need a listener first) i only just thought of it then that's why u need to do it;P.
keep in mind i am a newb unfortunately for this reason, and the fact that i coded this from scratch via trial and error (the scroller took a bit of fiddling!) u probably won't be able to understand most of the code, but i tried to comment it as much as possible
Dr Warm
200th Post!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !
mixedtrigeno
October 20th, 2004, 02:23 PM
i know how to fix the part of where if you hold down the space it adds letters quickly. this guy tought me how to do it using variables. and by the way thanks a million man.
the only problem i have is that i dont quite understand arrays like how to apply them to games and stuff so am trying to avoid them as much as i can until i am FORCED to use them and learn them.
and thanks a lot man ill try the fla when i get home tonight
APDesign
October 20th, 2004, 05:49 PM
Oh man, arrays kick *****. And they are definitely a MUST for game programming. I'd suggest learning them ASAP.... they'll open up a whole new world.
mixedtrigeno
October 21st, 2004, 02:23 AM
i know man...unfortunately i am trying to leave the frustration of learning them for last minute hahahaha
Dr Warm
October 21st, 2004, 03:59 AM
Oh man, arrays kick *****. And they are definitely a MUST for game programming. I'd suggest learning them ASAP.... they'll open up a whole new world. Definately agree, so much power so little something...............
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.