Title: Working screw (boat) Post by: Iggyjeckel on October 15, 2012, 05:28:44 PM Ok just an idea since I havent had a chance to get it all set up and played with fire/buckets yet but ive been inspired and was curious if this idea would work
I have two bp, one for a button, another for a screw Ok now the super simple logic idea of it (i understand the code would be more in depth but im just brainstorming When button is hit it is turned on....lets say variable x = true While x == true { rotate screw 10 ° check x } again please dont tell me "your syntax is wrong" lol im just curious if my idea would actually work Title: Re: Working screw (boat) Post by: pspeed on October 15, 2012, 06:04:41 PM Ok just an idea since I havent had a chance to get it all set up and played with fire/buckets yet but ive been inspired and was curious if this idea would work I have two bp, one for a button, another for a screw Ok now the super simple logic idea of it (i understand the code would be more in depth but im just brainstorming When button is hit it is turned on....lets say variable x = true While x == true { rotate screw 10 ° check x } again please dont tell me "your syntax is wrong" lol im just curious if my idea would actually work No, because your script would never return and it would lock up the game. There is no formal API support for animation of this kind but Mythruna does support it. Eventually objects will be able to hook into a configurable heartbeat event that they can use to update themselves periodically. Title: Re: Working screw (boat) Post by: Iggyjeckel on October 15, 2012, 07:23:51 PM Oh I knew there would be more needed, was just wondering if that form of animation would be possible. Which youve said basically not yet lol
Well, guess I plan something else, if I have more questtions (only the ones on what every bit of code would actually look like lol *ahem* unn *ahem*) im sorry something seemed to have caught in my throat Title: Re: Working screw (boat) Post by: Michael on October 15, 2012, 07:31:49 PM Oh I knew there would be more needed, was just wondering if that form of animation would be possible. Which youve said basically not yet lol Well, guess I plan something else, if I have more questtions (only the ones on what every bit of code would actually look like lol *ahem* unn *ahem*) im sorry something seemed to have caught in my throat Code: //unnaturallife Title: Re: Working screw (boat) Post by: Iggyjeckel on October 15, 2012, 07:37:57 PM Wait, miss-read, you said no formal animation, but mythruna does support it.
So are you saying that with true code I could pull it off, granted with probably a bit of ugly code Title: Re: Working screw (boat) Post by: FutureB on October 15, 2012, 07:53:03 PM wouldnt water waves count as animation? or are they huge ammounts of code lol
Title: Re: Working screw (boat) Post by: pspeed on October 15, 2012, 07:55:43 PM Wait, miss-read, you said no formal animation, but mythruna does support it. So are you saying that with true code I could pull it off, granted with probably a bit of ugly code Yeah, there just isn't a "nice" way to do it. You have to know where to poke and the poking isn't as pretty. Something like: Code: animation = MainStart.globalStateManager.getState( AnimationState.class ); The "do something every frame" part isn't that pretty either. Title: Re: Working screw (boat) Post by: pspeed on October 15, 2012, 07:56:18 PM wouldnt water waves count as animation? or are they huge ammounts of code lol Water waves are done differently. They are sort of animated in the shader... like the grass and flowers blowing in the wind. Title: Re: Working screw (boat) Post by: belgariad87 on October 16, 2012, 04:05:39 AM I can't wait till i can finally free up some time to try n code something. I don't think i've ever worked with API, is it just where all the graphical representation of the code is?
Title: Re: Working screw (boat) Post by: pspeed on October 16, 2012, 11:50:15 AM I can't wait till i can finally free up some time to try n code something. I don't think i've ever worked with API, is it just where all the graphical representation of the code is? API = "Application programming interface" It's the stuff I've exposed to make writing scripts easier. But since Groovy has access to all of the Java classes, you can bypass the API in cases where I haven't exposed nice things yet. Title: Re: Working screw (boat) Post by: belgariad87 on October 16, 2012, 03:07:08 PM I can't wait till i can finally free up some time to try n code something. I don't think i've ever worked with API, is it just where all the graphical representation of the code is? API = "Application programming interface" It's the stuff I've exposed to make writing scripts easier. But since Groovy has access to all of the Java classes, you can bypass the API in cases where I haven't exposed nice things yet. Title: Re: Working screw (boat) Post by: pspeed on October 16, 2012, 03:14:33 PM I can't wait till i can finally free up some time to try n code something. I don't think i've ever worked with API, is it just where all the graphical representation of the code is? API = "Application programming interface" It's the stuff I've exposed to make writing scripts easier. But since Groovy has access to all of the Java classes, you can bypass the API in cases where I haven't exposed nice things yet. That's what I talk about when I say "API"... the "how to do it". Some of the API is covered through examples. Some of the API has yet to be written. The Java classes can sort of be considered an "undocumented API" at this point. Title: Re: Working screw (boat) Post by: belgariad87 on October 16, 2012, 03:39:43 PM I can't wait till i can finally free up some time to try n code something. I don't think i've ever worked with API, is it just where all the graphical representation of the code is? API = "Application programming interface" It's the stuff I've exposed to make writing scripts easier. But since Groovy has access to all of the Java classes, you can bypass the API in cases where I haven't exposed nice things yet. That's what I talk about when I say "API"... the "how to do it". Some of the API is covered through examples. Some of the API has yet to be written. The Java classes can sort of be considered an "undocumented API" at this point. Title: Re: Working screw (boat) Post by: Iggyjeckel on October 16, 2012, 03:56:02 PM Yeah I plan on getting the fire/match/bucket working, then play around with own ideas. But I have exams in my java/advanced c++, political science, and systems analysis and design classes coming up......fun fun
Title: Re: Working screw (boat) Post by: Sean on October 16, 2012, 04:32:39 PM Oh I knew there would be more needed, was just wondering if that form of animation would be possible. Which youve said basically not yet lol Well, guess I plan something else, if I have more questtions (only the ones on what every bit of code would actually look like lol *ahem* unn *ahem*) im sorry something seemed to have caught in my throat Code: //unnaturallife They grow up so fast don't they :') Title: Re: Working screw (boat) Post by: Michael on October 16, 2012, 05:53:24 PM Oh I knew there would be more needed, was just wondering if that form of animation would be possible. Which youve said basically not yet lol Well, guess I plan something else, if I have more questtions (only the ones on what every bit of code would actually look like lol *ahem* unn *ahem*) im sorry something seemed to have caught in my throat Code: //unnaturallife They grow up so fast don't they :') Title: Re: Working screw (boat) Post by: pspeed on October 16, 2012, 06:03:39 PM Oh I knew there would be more needed, was just wondering if that form of animation would be possible. Which youve said basically not yet lol Well, guess I plan something else, if I have more questtions (only the ones on what every bit of code would actually look like lol *ahem* unn *ahem*) im sorry something seemed to have caught in my throat Code: //unnaturallife They grow up so fast don't they :') Why on earth would you need to make an executable file? Title: Re: Working screw (boat) Post by: Iggyjeckel on October 16, 2012, 06:18:06 PM Oh I knew there would be more needed, was just wondering if that form of animation would be possible. Which youve said basically not yet lol Well, guess I plan something else, if I have more questtions (only the ones on what every bit of code would actually look like lol *ahem* unn *ahem*) im sorry something seemed to have caught in my throat Code: //unnaturallife They grow up so fast don't they :') Uhhh visual studios, code in c++ or vb Then you can find your exe Title: Re: Working screw (boat) Post by: pspeed on October 16, 2012, 06:23:58 PM You can make exes for java and groovy, also... but it's about as relevant to his goals as a powerpoint slide.
Title: Re: Working screw (boat) Post by: Michael on October 16, 2012, 06:41:45 PM I have so much to learn ::)
Title: Re: Working screw (boat) Post by: Iggyjeckel on October 16, 2012, 06:43:36 PM Lol, id like to see unn make a powerpoint of his goals, could be interesting
Title: Re: Working screw (boat) Post by: belgariad87 on October 16, 2012, 06:45:31 PM this conversation got fairly comical
Title: Re: Working screw (boat) Post by: Iggyjeckel on October 16, 2012, 06:47:49 PM I dont think any thread ive ever read has stayed on topic for more then 2 pages, it makes transitions kind of fun
Title: Re: Working screw (boat) Post by: Michael on October 16, 2012, 07:03:25 PM I dont think any thread ive ever read has stayed on topic for more then 2 pages, it makes transitions kind of fun you guys can thank me ::)Title: Re: Working screw (boat) Post by: Moonkey on October 17, 2012, 02:23:54 PM My story with cars running on it's own momentum caught up with more than 2 pages on topic. Hurr hurr.
|