Search found 9 matches

by rlaitila
Tue Jul 12, 2016 7:41 pm
Forum: General
Topic: questions: making a Server in LOVE2D/ making a multiplayer game questions
Replies: 15
Views: 5550

Re: questions: making a Server in LOVE2D/ making a multiplayer game questions

The articles I provided are about network programming in general, and may show examples in the author's programming language of choice. Although you may find some love2d specific stuff in the wiki, I don't know of any love2d specific full-stack tutorial that will get you started so you will need to ...
by rlaitila
Tue Jul 12, 2016 1:39 pm
Forum: General
Topic: questions: making a Server in LOVE2D/ making a multiplayer game questions
Replies: 15
Views: 5550

Re: questions: making a Server in LOVE2D/ making a multiplayer game questions

Also, some good links to read through (even if you don't know everything they are talking about) http://gafferongames.com/networking-for-game-programmers/ http://www.gamedev.net/forum/15-multiplayer-and-network-programming/ http://gamedevelopment.tutsplus.com/tutorials/building-a-peer-to-peer-multip...
by rlaitila
Tue Jul 12, 2016 1:35 pm
Forum: General
Topic: questions: making a Server in LOVE2D/ making a multiplayer game questions
Replies: 15
Views: 5550

Re: questions: making a Server in LOVE2D/ making a multiplayer game questions

The path you are on I will say is a difficult one. Network programming is insanely difficult and you will have to do a lot of research on data packing, lag compensation, connection/session management etc. Unless you are using a A++ game engine you will not have any network primitives to get started ...
by rlaitila
Thu Jul 30, 2015 4:42 am
Forum: Ports
Topic: Motor2D - Löve2D for the Web with Emscripten
Replies: 20
Views: 10501

Re: Motor2D - Löve2D for the Web with Emscripten

Aw man I lost my draft I was writing you a big raving compliment! Awesome work! Do you have any plans to help backfill important emscripten code into love master once you achieve a certain functionality level? Just like we are seeing with andoird-sdl2 and ios ports? It would be great to add emscript...
by rlaitila
Mon Jul 13, 2015 4:03 pm
Forum: Libraries and Tools
Topic: Editgrid - gamera compatible scaling grid
Replies: 19
Views: 2834

Re: Editgrid - gamera compatible scaling grid

You are right, arbitrary zoom could impose a problem. Perhaps the user can supply a zoom factor to the grid position methods, which will return the cell position within that zoom factor. So, if you wish to lock your cell position points you simply supply a consistent zoom factor (ex: 1) I don't wish...
by rlaitila
Mon Jul 13, 2015 4:05 am
Forum: Libraries and Tools
Topic: Editgrid - gamera compatible scaling grid
Replies: 19
Views: 2834

Re: Editgrid - gamera compatible scaling grid

This is very cool! I plan on integrating this with a voxel type game prototype. Question: I see you have the helper functions to take a x/y value to/from screen/world coordinates, however the principle benefit of a grid is to take a x/y screen/world coordinate and and provide grid cell position with...
by rlaitila
Tue May 19, 2015 11:44 pm
Forum: General
Topic: How to make object snap to grid with mouse's positions?
Replies: 1
Views: 544

Re: How to make object snap to grid with mouse's positions?

ive used the following helper function in many of my code dealings: -- -- Snaps a source x,y position to a grid based on grid x width and grid y width -- function snapToGrid(SOURCE_X, SOURCE_Y, GRID_X, GRID_Y) local x = math.floor((SOURCE_X / GRID_X) +0.5) * GRID_X local y = math.floor((SOURCE_Y / G...
by rlaitila
Sun Feb 08, 2015 1:13 am
Forum: Libraries and Tools
Topic: [library] Upperclass.lua
Replies: 3
Views: 1669

Re: [library] Upperclass.lua

Thanks I~=Spam! Just curious, what features were you looking for specifically? In my case many of my projects and libraries needed a class system with strict typing and scoped members which is why I choose to start the daunting task of building a class library that provided such features. I have hop...
by rlaitila
Sat Jun 08, 2013 6:06 am
Forum: Libraries and Tools
Topic: LöveOS
Replies: 30
Views: 9615

Re: LöveOS

qaisjp: " I don't want to come off as an asshole but it's nothing" Then don't say things that come off as asshole-ish and instead provide either a helpful or insightful comment or say nothing at all. The point is that someone is being creative and more importantly, is sharing their work for better o...