Help

Hey I am new at coding on the ipad can anyone help? Codea noob is already gonna start helping.

I’m not sure if you have a certain problem, or just want help to get out of the learning curve, but here are some tutorials:

http://www.youtube.com/user/CodeaTutorials - A series I’m making on Codea, we are starting off with the basics, but we will soon get to more complicated things. New tutorial coming out this weekend.

http://codeatuts.blogspot.com/ - A blog on Codea Tutorials, it is somewhat aimed to people who are familiar with programming, but its helped tons of us here.

http://coolcodea.wordpress.com/ - A tutorial series made by Ignatz, its has a lot to offer including 3D.

https://www.dropbox.com/s/t5im6tl14ky5t08/Codea%20for%20beginners.pdf - A onoffical ebook for Codea, not done yet though so expect a few errors here and there. Buts it’s very noob friendly.

what do you need ?? @MCordova18

Look on the wiki link above, lots of tutorials there

Thanks

If you have any specific questions or need an explanation on why something works the way it does feel free to ask!

I am new and need help on basically every thing

Read through the pdf that @Ignatz posted. It should get you started.

@Zoyt lol sorry Zoyt :">

Orrrrrrrrrrrrrrrrr… My compilation of help places that no one seems to pay attention to: http://twolivesleft.com/Codea/Talk/discussion/3221/here-s-where-to-start-in-codea-and-lua#Item_5

@Briarfox - No problem.
I rewrote the getting started section of the wiki to include my links, the ones already there, and some additional ones. Check it out: https://bitbucket.org/TwoLivesLeft/core/wiki/
P.S. Why is my part of the wiki dramatically more indented than others?

@Zoyt - who is Sebastian Jeltsch and why is he getting credit for all my work?

Please change those references back to me.

@Ignatz - Haha. Apparently @Ignatz links to the profile of Sebastian Jeltsch (https://bitbucket.org/ignatz). I’m fixing it. Sorry!

@Zoyt - also, items 3 and 5 in Lua have the same link, and you have the Lua ebook in both the Lua and Codea sections.

Please go through what you have done carefully, to check there aren’t more errors

@Zoyt - on the tutorials page, it seems a bit odd that a single mesh tutorial by Vega comes before my tutorials (130 and counting), Reefwing and Jmv38.

I think I’ll reword this page to reflect the content more clearly.

@Ignatz - Hmm. I don’t see the link you’re talking about in #3 and #5. I also don’t see the tutorial by Vega. Anyone is able to edit the wiki, so feel free to. I didn’t pay much attention to organization, so feel free to put it in order of importance.
Thanks!

Hey can anyone help me with this if then statement I can’t get it to work and I want to create a game using if then statements. Can anyone please help? I am new at coding.

– ifthen

– Use this function to perform your initial setup
function setup()
n=math.random(15)
if(n< 10) then sprite(“Space Art:Green Bullet”,150,150)
else sound(SOUND_EXPLODE, 48631)
print(“Hello World!”)
end
end

– This function gets called once every frame
function draw()
– This sets a dark background color
background(40, 40, 50)

-- This sets the line thickness
strokeWidth(5)

-- Do your drawing here

end

@MCordova18 use three ~ before and after your code to format it. It looks like this:

--Code goes here
function setup()
-do something
end

– put that sentence in the draw function

 ---- ifthen

-- Use this function to perform your initial 
 function setup()
  n=math.random(15) 
 
    end

 -- This function gets called once every frame
 function draw() -- This sets a dark background color 
  background(40, 40, 50)

  if n < 10 then 
      sprite("Space Art:Green Bullet",150,150) 
      sound(SOUND_EXPLODE, 48631) 
      print("Hello World!")
 end 


   -- This sets the line thickness
strokeWidth(5)

  -- Do your drawing here
  end

@MCordova18 You were close. You had everything, just in the wrong place.


-- Use this function to perform your initial setup 

function setup()
    print("Hello World!") 
end

    -- This function gets called once every frame 
function draw() 
    -- This sets a dark background color 
    background(40, 40, 50)
    n=math.random(15) 
    if n< 10 then 
        sprite("Space Art:Green Bullet",150,150) 
    else 
        sound(SOUND_EXPLODE, 48631) 
    end 
end