• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Shadowraix

Members
  • Content count

    24
  • Joined

  • Last visited

Community Reputation

151 Neutral

About Shadowraix

  • Rank
    Member

Personal Information

  • Location
    Earth, United States, Tennessee
  1. Thanks for the detailed information once again. I'm slowly working through everything. So my program has an error saying that the entry point 'lua_pcall' cant be found. The tutorial I followed in OP was based on Lua 5.1, but heres the culprit code I believe. [DllImport("lua53.dll", EntryPoint = "lua_pcall", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] public static extern int lua_pcall(IntPtr lua_State, int nargs, int nresults, int errfunc); //simplify the execution of a Lua script public static int luaL_dostring(IntPtr lua_State, string s) { if (luaL_loadstring(lua_State, s) != 0) return 1; return lua_pcall(lua_State, 0, LUA_MULTRET, 0); }
  2. This is for Lua 5.0. Latest is 5.3.2 just making that known so there will be significant differences.   Lua was my first programming language then I transitioned to Java and C#. One of my C# Projects will integrate Lua. Its pretty easy to learn, simple, fast, extendible. Go for it.
  3. Thanks for the detailed reply! I'm looking to do this myself for the experience. So if you can guide me a little bit i'd appreciate it. The tutorial I followed required me to build the Lua DLL myself for a few reasons: 1. Calling Conventions (Changing it to __stdcall in VS settings) 2. Decorated functions (Using a .def file, but that solution didn't work for me) 3. C Manifest (It describes how its built into the DLL but needs a standalone manifest too)   Is this a non-issue for you? Did you modify how the DLL is built or is it a simple import files and compile? I'd like to know how you solved these potential issues.   Are the LuaObject and LuaState CS files just wrappers so users of the library can use those to simulate those objects rather than using IntPtrs all the time?
  4. Hey! For a project of mine, I've been wanting to embed Lua in C# so I can use it in my C# projects. I do not wish to use things like NLua or LuaInterface. I want to use P/Invoke to access the DLL functions. This is an easy way for me to update Lua to use Lua 5.3.2 etc. I originally followed a tutorial: https://ttuxen.wordpress.com/2009/11/03/embedding-lua-in-dotnet/   So I pretty much followed it exactly except I followed some comments advice. I skipped the manifest part. I was confused as to what manifest file I needed and where it was. (Was it a Windows DLL manifest or should I create a manifest from the VS project? What?) Its not clear.   I ditched the def file and did this: #define LUA_API in luaconf.h to read #define LUA_API extern “C” __stdcall __declspec(dllexport)   I then copied the code example pretty much line by line then when running the console app I got: 'Unable to find an entry point named 'luaL_newstate' in DLL 'lua53.dll' Line 10 in the main function of the program.   I'm obviously doing something wrong and this is just in general chaotic for me. If anybody can lead me in the right direction to use P/Invoke with Lua and C#, it would be much appreciated.  
  5. Thanks for all of your help. I discussed titles with a few people and Animal Ascension had majority vote so I will be going with that. Probably would take me months to come up with a name if it weren't for you. Thanks a lot!
  6. Well, that can vary depending on what the player wants to do. However, the main focus of the multiplayer is roleplay. Be the animal you want to be and roleplay with others. Of course you don't have to. If you so wish you could explore, socialize, or fight others if you so wished.
  7. Now these are some suggestions I seriously considered. Some of them sounded a little ridiculous though. Haha. Ones I liked specifically were Alpha's Claim, Animal Ascension, Archy Outcast, and Alphascension. I got some feedback from friends and it's more geared towards Alpha's Claim. I'm a little conflicted with these names though. It does hint towards the singleplayer a lot, but it may give the impression that the multiplayer is only about wolves' as well when in reality it has multiple species. The multiplayer is probably a stronger point for the game than the singleplayer. So the question is should the title be aimed towards still the singleplayer or represent the game as a whole? Also, I haven't seen that anime. I'll have to check it out sometime.
  8. Story concepts? Last I checked at least half of those don't have one. Not sure about Aro'Kai, Primitive Call, or Everlost though. As they are still in development. The singleplayer I have planned isn't entirely complete, but I can say a general outline is it's about a young wolf who was abandoned by his pack for not proving his usefulness and you experience the friends he makes and the challenges he will soon face. He eventually meets with his pack once again and fights to take place as Alpha.
  9. Hmm..I don't know. Most of those names I just don't see fit. Animal Instincts sounds alright, but i'm not sure if I would want to use it due to its generic name. I like something a little more unique. Some games around this genre are called: FeralHeart, Sanctum of Eventide, Aro'Kai, Primitive Call, Everlost. All somewhat unique names if that list helps with any other possible suggestions.
  10. I have a game in development and i'm having trouble coming up with an actual title for it. It would be nice to receive any suggestions. The main point of the game is to be a animal role-play. You can hunt prey, or other players. Explore worlds, communicate with others or just roleplay. You can be from various animals like Deer, Wolves, Lions, Owls etc. That's the main gist of it. It also contains tools for map making as well. Includes a Single-Player and Multi-Player.
  11.   Some programmer do it this way but that is not the idea behind a class. classes try to implement the concept of OOP. but yes sometimes it is only that what you said...   Alright. Thanks for your help. I'll go take a look at some examples of classes and hopefully i'll have a better understanding of it. 
  12.     In other words a class describes a set variables and a set of functions which are exclusively only part of this class you would define. In your case it is the basic of your language!! The constructer or ctor is a very special memberfunction. the ctor has the job to initialize your class before the instance of your class exist. to make a comparison. your Ctor is the bootloader of your class. That is the reason why every class need to have a ctor.   Alright, I understand about the constructor. So are classes mostly used for organizational purposes? I mean, couldn't you fit your code all into one class? Albeit it would most likely be messy code. Can any real-world examples of when classes would be useful be provided?
  13. I recently started learning C# for use within the Unity game engine. I've been trying to follow a couple of tutorials on Classes and Constructors, but I simply can't see to understand it. I would appreciate it if anyone could explain Classes and Constructors and what they are useful for. I am just learning so try to keep it as simple as possible.   Thanks in advance!
  14. Ahh, I see. Alright, thanks for the info.
  15. So, just for the fun of it, I learned how to convert numbers into hexadecimals just so I can use it in math operations to confuse those who don't understand it. Although, are there any advantages to coding in hexadecimals compared to regular numbers? Wouldn't it be faster? Right now I would be using it in Lua as that's the only programming language I can code in fluently at the moment.