DanklandsJoin Date: 2011-03-24 Post Count: 579 |
I want to learn some things in Lua right now, but as far as something FUN to learn, i'm stumped. Can someone please, maybe, tell me something fun to learn? Something I can feel accomplished about? |
|
jashwaJoin Date: 2010-02-08 Post Count: 378 |
What level are you at?
Do you know how to define things?
mydoor = game.Workspace.Door
a = 3
print(a)
|
|
|
|
|
(he means object oriented programming, check out the articles on the wiki) |
|
|
object orientation is a much more classier way of referring to it :D |
|
|
"object orientation is a much more classier way of referring to it"
you won't get as many relevant results espescially not on the wiki |
|
DanklandsJoin Date: 2011-03-24 Post Count: 579 |
@Jashwa Yes I can define things. I also know how to use math.random |
|
|
oh boy never mind what i said or what other guy said you're too new
uh
anonymous functions
tables
string manipulation
return statements
|
|
jashwaJoin Date: 2010-02-08 Post Count: 378 |
May I suggest loops?
They're fun to learn and very useful. |
|
instawinJoin Date: 2013-06-04 Post Count: 8777 |
ye, if you don't know while loops, for loops, and repeat loops, learn them now. learn if statements first though if you don't know them. |
|
jashwaJoin Date: 2010-02-08 Post Count: 378 |
I agree ^ |
|
DanklandsJoin Date: 2011-03-24 Post Count: 579 |
@instawin, I know loops haha |
|
jashwaJoin Date: 2010-02-08 Post Count: 378 |
Oh boy camera manipulation is a fun one!
It opens up a million opportunity's in game creation.
I wouldn't be able to make this without camera manipulation:
http://www.roblox.com/The-Binding-Of-Isaac-Huge-Project-place?id=200333667 |
|
DanklandsJoin Date: 2011-03-24 Post Count: 579 |
Nice :) I played it, cool concept. Can I learn how to remove the health bar? |
|
jashwaJoin Date: 2010-02-08 Post Count: 378 |
Removing the health bar is VERY easy. |
|
jashwaJoin Date: 2010-02-08 Post Count: 378 |
I may be a bit outdated here but:
game.StarterGui:SetCoreGuiEnabled("Health",false) |
|
jashwaJoin Date: 2010-02-08 Post Count: 378 |
Has to be local script ^ |
|
DanklandsJoin Date: 2011-03-24 Post Count: 579 |
Oh sweat, now I can enable an artificial health system? I tried doing Camera Manipulation but I feel I would do better if someone would explain it to me over skype or something |
|
morashJoin Date: 2010-05-22 Post Count: 5834 |
Keybinding. |
|
jashwaJoin Date: 2010-02-08 Post Count: 378 |
|
|
morashJoin Date: 2010-05-22 Post Count: 5834 |
I made a simpler way where your local code would look like:
keybinding:Bind(game.Players.LocalPlayer:GetMouse())
keybinding:BindKeyDown(key, keyDownFunction)
keybinding:BindKeyUp(key, keyUpFunction)
wait(5)
keybinding:UnbindKeyDown(key)
keybinding:UnbindKeyUp(key)
Completely removes the mouse event from the player, makes it easy to unbind keys, and also allows for you to transfer key functions from one key to another (not shown above). Really just lacks some versatility where you have a variable holding a key for a function, with that variable having the ability to be changed by the user, creating more player control over keybinding. |
|
DanklandsJoin Date: 2011-03-24 Post Count: 579 |
Wow, thanks. I'll look into it. I want to build a sort of mario style game haha |
|
jashwaJoin Date: 2010-02-08 Post Count: 378 |
I'm very good with the camera.
Tell me if you'd like help with a 2D script or anything :) |
|
DanklandsJoin Date: 2011-03-24 Post Count: 579 |
That would be nice! :) I want to make a simple zombie game soon here |
|