Nvidia on my desktop, intel on my laptop. Both with Linux so AMD is a big no-no.
I'd rather only use intel but the price on the iris pro processors is too damn high.
Search found 104 matches
- Wed Jun 04, 2014 11:18 pm
- Forum: General
- Topic: Poll monday: AMD or Nvidia
- Replies: 23
- Views: 7675
- Wed Jun 04, 2014 7:17 am
- Forum: Support and Development
- Topic: Many things to be Asked here...
- Replies: 3
- Views: 2013
Re: Many things to be Asked here...
For question 1 : no idea. For question 2 , try to create a few benchmarks. It is impossible to say how and what will bottleneck the game without knowing what actually happens. Also, bear in mind server's resource usage does not scale linearly. While 2 people might use 2% of the server capacity, 4 m...
- Mon Jun 02, 2014 5:14 am
- Forum: General
- Topic: Concept of a button?
- Replies: 12
- Views: 15421
Re: Concept of a button?
To get the length of a string in pixels, use the :getWidth function . As for hover, it is quite easy and involves making your code simpler: function M:isHovering(x,y) if x > self.X and x < self.X + self.width and y > self.Y and y < self.Y + self.height then return true end end Which is pretty much y...
- Sat May 31, 2014 7:02 am
- Forum: General
- Topic: Löve2d vs HaxeFlixel
- Replies: 3
- Views: 5778
Re: Löve2d vs HaxeFlixel
Haxe as a language takes a bit more work to develop with than Lua, for the simple fact that, as you guys have seen, it is a bit of a hassle to set it up. It is focused on performant code, with far more strict syntax - but still not as strict as C or Java. Yes, it does compile to C++ and other langua...
- Thu May 29, 2014 6:41 pm
- Forum: General
- Topic: pygame vs löve
- Replies: 12
- Views: 19424
Re: pygame vs löve
My advice is try both. The worst that it can happen is that you learn some things :) This. I recently ported part of my game to Javascript just for kicks and this taught me a lot and made me a better programmer, as a whole. PyGame has really good learning material ( inventwithpython.com ) - I do th...
- Wed May 28, 2014 8:30 pm
- Forum: Support and Development
- Topic: Break a big function into small files
- Replies: 5
- Views: 2010
Re: Break a big function into small files
Siffiejoe's answer is probably the closest I can get to a solution - but it does bring the debugging issue. So it is either that, my hacky way of concatenating files (which adds an extra build step) or dealing with a long function. After your post, I tried a few different things with metatables and ...
- Wed May 28, 2014 2:45 pm
- Forum: Support and Development
- Topic: Break a big function into small files
- Replies: 5
- Views: 2010
Re: Break a big function into small files
I generally use require aswell but in this case, since it all pertains to a single function, it doesn't quite work. Using a slightly modified Lua-users wiki example of closure oop: function mariner() local self = {} local maxhp = 100 local hp = maxhp function self.heal (deltahp) hp = math.min (maxhp...
- Wed May 28, 2014 2:24 am
- Forum: Support and Development
- Topic: Break a big function into small files
- Replies: 5
- Views: 2010
Re: Break a big function into small files
For now, this is what I'm doing, I have a build.lua file that grabs everything from the /src folder it is in and concatenates the Lua files into a single gameLogic.lua file in the parent folder. local t = {} newFile = function(filename) if filename ~= nil then local file = io.open(filename, "r&...
- Tue May 27, 2014 11:47 pm
- Forum: Support and Development
- Topic: Break a big function into small files
- Replies: 5
- Views: 2010
Break a big function into small files
Hi folks! I prefer a closure based approach to OOP and each level of my puzzle game is a new instance of a function containing all the locals and functions needed to run the game. I'd like to break this single function into multiple files. My current solution is similar to what I did here but that h...
- Tue May 27, 2014 3:24 am
- Forum: Games and Creations
- Topic: Duck Marines [1.0 RC2]
- Replies: 10
- Views: 7209
Re: Duck Marines [1.0 RC1]
The mouse behaviour is really erratic - I thought the game was bugged because on the player selection screen it starts to only work with the arrow keys.
Other than that, pretty cool game! Challenging, charming and fun, kudos on the great work!
Other than that, pretty cool game! Challenging, charming and fun, kudos on the great work!