Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: C++ Lua scripting tutorial  (Read 2627 times)

0 Members and 1 Guest are viewing this topic.

noaboa

  • Newbie
  • *
  • Posts: 14
    • View Profile
C++ Lua scripting tutorial
« on: February 01, 2016, 05:24:41 pm »
Hi, I did not know where to put this, so I just put it here. I am kind off new to sfml programming, but i know much c++. I have read that lua is a great scripting language. So I am wondering if there is any c++, lua, sfml tutorials out there?

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 878
    • View Profile
Re: C++ Lua scripting tutorial
« Reply #1 on: February 01, 2016, 07:18:00 pm »
You should probably describe what you're planning to do. Do you want to write a C++ program using SFML that runs Lua scripts?

noaboa

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: C++ Lua scripting tutorial
« Reply #2 on: February 01, 2016, 08:34:05 pm »
Yes, or make a game, I would like to see how to implement them togheter.

GraphicsWhale

  • Full Member
  • ***
  • Posts: 131
    • View Profile
Re: C++ Lua scripting tutorial
« Reply #3 on: February 02, 2016, 02:34:13 am »
You can find the manual here: http://www.lua.org/manual/5.3/

If you're looking for an easy beginners guide, you can just search google for a tutorial. There's plenty of them out there.

Yes, or make a game, I would like to see how to implement them togheter.

But what are you wanting to do, and why do you believe Lua is the answer? Don't get me wrong, it's a great library, but using Lua "just because" is a very bad idea.