Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

2 answers

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/

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!

This discussion is preserved as it was. New answers, comments, and votes are closed.