Search found 256 matches

by Lap
Wed Oct 08, 2014 10:18 pm
Forum: Support and Development
Topic: Object orientation & code complexity [Multiplayer 4X]
Replies: 13
Views: 18346

Re: Object orientation & code complexity [Multiplayer 4X]

It seemed like using OO for most things was the difference between Table.Key and Table["Key"]. You do realize they're strictly equivalent in lua (always), as long as the key is a valid identifier (could be a variable name). Yep. I didn't see a point in doing OO in most things as it was es...
by Lap
Wed Oct 08, 2014 3:20 am
Forum: Support and Development
Topic: Object orientation & code complexity [Multiplayer 4X]
Replies: 13
Views: 18346

Re: Object orientation decision in a multiplayer game

The one thing I have going for me is that the client is safely isolated from simple methods of cheating. In my examples I simplified the back and forth between client and server for brevity. Client pretty much does as you suggested with only sending changes, which are checked for validity by server....
by Lap
Tue Oct 07, 2014 12:59 am
Forum: Support and Development
Topic: Object orientation & code complexity [Multiplayer 4X]
Replies: 13
Views: 18346

Re: Object orientation decision in a multiplayer game

Maybe another way of saying this would help: I'm in the process of changing most of my game to be object oriented and I'm using middleclass. This is a turn-based game so this process I am describing below happens every 30 seconds at shortest. Server stores a list of units like: MasterUnitList = { {U...
by Lap
Sun Jul 20, 2014 3:05 am
Forum: Games and Creations
Topic: Echoes of the Imperium (4X Strategy Game)
Replies: 78
Views: 35035

Re: Echoes of the Imperium (4X Strategy Game)

They are procedurally generated, just not in Love. I used l3DT to make the terrain. It's just a scrolling image in Love.
by Lap
Sat Jul 19, 2014 1:43 am
Forum: Games and Creations
Topic: Echoes of the Imperium (4X Strategy Game)
Replies: 78
Views: 35035

Re: Echoes of the Imperium (4X Strategy Game)

So most of the game is spent looking at a Civilization style board. There are cities/regions and they can continue a certain amount of buildings each (about 6 max). One question I have is how to represent the type and amount of buildings in icon form. One option is to have each building actually sho...
by Lap
Mon Jul 14, 2014 4:19 am
Forum: Support and Development
Topic: Object orientation & code complexity [Multiplayer 4X]
Replies: 13
Views: 18346

Re: Object orientation decision in a multiplayer game

Thanks for the quick reply. I took a step back to reevaluate this whole thing because switching so many things to objects would be a lot of work and I didn't want to go in halfheartedly. Your method works well for a game that operates in real time as entities are getting created and destroyed rather...
by Lap
Wed Jul 09, 2014 3:32 am
Forum: Support and Development
Topic: Object orientation & code complexity [Multiplayer 4X]
Replies: 13
Views: 18346

Object orientation & code complexity [Multiplayer 4X]

I have a client-server turn-based game that I have been making. I am trying to figure out how much data and tables to leave raw versus turning them into class based objects. I am currently using latest version of MiddleClass. In general, I under utilize objects and mainly keep them for clientside th...
by Lap
Sun May 18, 2014 3:23 pm
Forum: Libraries and Tools
Topic: flux: A fast, lightweight tweening library
Replies: 42
Views: 33744

Re: flux: A fast, lightweight tweening library

kikito wrote:This library is really nagging me to update tween.lua.

But I must resist. Not ... yet.
You've got a great library, you just need a better marketing department. Sweet mother of gif :awesome:
by Lap
Sun May 18, 2014 3:21 pm
Forum: Libraries and Tools
Topic: Random dungeon generator
Replies: 10
Views: 11516

Re: Random dungeon generator

I'm impressed. Good job.
by Lap
Fri Apr 18, 2014 7:52 pm
Forum: Libraries and Tools
Topic: Lovebird : A browser-based debug console
Replies: 17
Views: 16548

Re: Lovebird : A browser-based debug console

First off, nice choice of name...very fitting. Secondly, I have been looking for something that would let me easily explore and change variables for years. There's a few other programs and IDE's that already exist but none of them do as good a job as Lovebird does. It's extremely easy to set up, it ...