If you want to make a game in Lua, you should look into a more productive Lua engine, such as [url=http://love2d.org/]LÖVE[/url].
Have you added no error handling?
No, I coded this very quickly.
@Null: He wanted a Text-Game engine, not a 2D Game Engine.
[QUOTE=Anthoni_c;19373545]No, I coded this very quickly.
@Null: He wanted a Text-Game engine, not a 2D Game Engine.[/QUOTE]
I know, I was just pointing out that there are good game engines available for Lua.
*Cough* NS2 Engine *Cough*
[QUOTE=Anthoni_c;19373738]*Cough* NS2 Engine *Cough*[/QUOTE]
A bit overkill for a text-based game, don't you think?
If I finish this game, (And I'm working on it alot, I got alot done in a few days) I'll start on another game.
I still have my Sourcemod to work on, (I only have 9 levels so far) and I still have a game I need to make for a friend. I'm working on ALOT :P
So far: Sourcemod, 2 Lua games, A game from scratch.
I think you need to get a better understanding of coding before you delve into anything as complex as C++.
My sourcemods coding is already done pretty much. I have my weapons coded. I just need more levels.
[QUOTE=Chad Mobile;19204159]Lua IS a REAL programming language, but it is a light weight programming language.
How is making a game in the console useless? It's like a DOS box game, where it's all text.[/QUOTE]
Your stupid, lua is a scripting language, not a programming language. If you want to write a game, learn something like C# or C++...
[highlight](User was banned for this post ("Flaming/Trolling" - grea$emonkey))[/highlight]
[QUOTE=I_am_McLovin;19387775]Your stupid, lua is a scripting language, not a programming language. If you want to write a game, learn something like C# or C++...[/QUOTE]
I don't believe the names mean different things. Lua is just a simple frontend for another language. Did you
know that C is a frontend language for Assembly? And you consider C a REAL programming language? Why don't you just code everything in Assembly, if that's a real programming language? Why don't you
code everything in hexdecimal while you're at it?
[editline]06:44PM[/editline]
Who's stupid now? :sun:
[QUOTE=I_am_McLovin;19387775]Your stupid, lua is a scripting language, not a programming language. If you want to write a game, learn something like C# or C++...[/QUOTE]
I'm writing my game in Lua already though :O
Luvya anyways <3
[editline]02:27AM[/editline]
[QUOTE=Gbps;19388083]I don't believe the names mean different things. Lua is just a simple frontend for another language. Did you
know that C is a frontend language for Assembly? And you consider C a REAL programming language? Why don't you just code everything in Assembly, if that's a real programming language? Why don't you
code everything in hexdecimal while you're at it?
[editline]06:44PM[/editline]
Who's stupid now? :sun:[/QUOTE]
Thanks :v:
[QUOTE=Gbps;19388083]I don't believe the names mean different things. Lua is just a simple frontend for another language. Did you
know that C is a frontend language for Assembly? And you consider C a REAL programming language? Why don't you just code everything in Assembly, if that's a real programming language? Why don't you
code everything in hexdecimal while you're at it?
[editline]06:44PM[/editline]
Who's stupid now? :sun:[/QUOTE]
But why stop there when we can just write it out in raw binaries!
[QUOTE=grea$emonkey;19394092]But why stop there when we can just write it out in raw binaries![/QUOTE]
Why don't we just shock our memory sticks with electrical switches!
[QUOTE=Gbps;19394282]Why don't we just shock our memory sticks with electrical switches![/QUOTE]
That too. In fact, we should just smash our computers with sledge hammers.
[QUOTE=Anthoni_c;19394840]01000010 01100101 01110100 01110100 01100101 01110010 00100000 01111001 01100101 01110100 00100000 01100011 01101000 01101111 01110000 00100000 01101111 01100110 01100110 00100000 01101111 01110101 01110010 00100000 01101000 01100001 01101110 01100100 01110011 00100001[/QUOTE]
what does that do?
and how do i run it?
Those are just ASCII characters translated into binary, you don't run it.
Also, I am coding the third iteration of the text-game engine. It is open source, and all the code is a lot cleaner.