Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do i script? im a kid geek except i dont know scripting :P [closed]

Asked by 10 years ago

so i dont know how to script, i've used scratch before and its easy but i imagine real programming is hard and stuff.

Closed as Too Broad by evaera

This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.

Why was this question closed?

2 answers

Log in to vote
-1
Answered by 10 years ago

Personally, I didn't start with LUA, It's pretty complex for beginners in my opinion. Python is a pretty neat programming language and much simpler than LUA, so it's a nice place to start.

I recommend reading this if you have time:

http://learnpythonthehardway.org/book/

Ad
Log in to vote
-2
Answered by 10 years ago

That's off topic I think, by the way, I know Java too (I started with that, bad idea :P but now I know everything) and this is what I do in Minecraft Forge:

this.bipedHead.rotateAngleY = rotationYaw / (180F / (float)Math.PI);
this.bipedHead.rotateAngleX = rotationPitch / (180F / (float)Math.PI);
this.bipedHeadwear.rotateAngleY = this.bipedHead.rotateAngleY;
this.bipedHeadwear.rotateAngleX = this.bipedHead.rotateAngleX;
this.protoBlade.rotateAngleX = MathHelper.cos(time * 0.6662F + (float)Math.PI) * 2.0F * speed * 0.5F;
this.bipedLeftArm.rotateAngleX = MathHelper.cos(time * 0.6662F) * 2.0F * speed * 0.5F;

This is the hardest thing ever, you need to know the advanced basic of Physic, those are model's animations =) Also you need to know the arithmetic and the geometry advanced things. Anyway programming is not so hard, just go to school and learn what do those things do and have a very very very good mind/logic, I program since when I was 11 now I'm 14, I don't know why but I find java easier than lua, they are the exact opposite (java is hard, lua is easy) duh!