@yarin1312 said:
okay and i write this code but i its say that i cant setScale Geometery, its right? its matter if i write scale or setScale to this thing?
edit:
okay i right setLocalScale and its work
It's supposed to be setLocalScale()... just another typo.
and i’m actually dont understand a little bit because the tpf, someone can give me example about what the value of valScale will be in the first time that the method SimpleUpdate run
@yarin1312 said:
and by the way thank and the people help me here,
Sorry if maddened you :(
We're not mad or anything.
I was not trying to be insulting or "mad" when I suggested that decent Java knowledge was a requirement for using JME. When you struggle with even these beginner level things it just needed saying.
It is not an insult to suggest that. If someone shows up to an "Advanced Cooking" class and has never touched a stove it is not insulting to suggest that they start with something simpler.
3D game programming is one of the hardest types of programming. It requires you to know coding and math pretty well already. Your posts so far suggest that you are still inexperienced in both areas and may want to try something a little simpler first.
I think you need to either pick up a copy of a java book or you can freely learn java through this website:
http://www.javabeginner.com and familiarize yourself with all the java constructs, else you will not get far i’m afraid, without banging your head a lot of times
i know that to programming 3d games its hard thing but i’m really came here to learn i think that i know enough in java to start here, it just i’m still dont know what the “tpf” do, i know what is part and how he help us but i’m still dont know how to used his value, and what do you mean something simpler?
tpf is a floating point variable that represents the fraction of time that has passed from one frame to the next.
Edit:
you use this to scale any moment in the scene so that there is little difference from faster to slower machines. If I have stated that wrong someone correct me.
check this sight out for 3D and 2D game programming tutorials:
A half-decent Java programmer can write a pretty good text adventure in just a few days. All of what you’d learn doing that is applicable to game programming in general. If that seems like a task that is too hard then that’s a place to start. It’s not a bad exercise, anyway. Anyone who has never programmed a game before will learn all kinds of stuff about flexible data structures and command/game loops that is 100% applicable to other types of games.
After you get to the point where that would only take you a few days then the next big hurdle will be the math and scene graph concepts.