Search found 1169 matches

by ivan
Sat Jan 20, 2018 1:47 pm
Forum: General
Topic: My Love2D video got featured in a Google CS course
Replies: 1
Views: 92

Re: My Love2D video got featured in a Google CS course

Hey, that's pretty cool. Welcome to the forums btw. :)
by ivan
Fri Jan 19, 2018 7:50 am
Forum: Support and Development
Topic: vector 2 class?
Replies: 6
Views: 159

Re: vector 2 class?

Looks good, for simplicity's sake here it is without storing/rawset-ting the length: function Vec2:normalize(unit) unit = unit or 1 local length = self:getLength() if length > 0 then -- division by zero check local n = (1/length)*unit self.x = self.x*n self.y = self.y*n end return length end functio...
by ivan
Fri Jan 19, 2018 5:52 am
Forum: Support and Development
Topic: vector 2 class?
Replies: 6
Views: 159

Re: vector 2 class?

I believe that there is a small bug here: function Vec2:normalize() self.x = self.x / self:getLength(); -- the vector's length changes at this line self.y = self.y / self:getLength(); return self; end Should become: function Vec2:normalize() local len = self:getLength(); self.x = self.x / len; self....
by ivan
Sun Jan 14, 2018 6:08 pm
Forum: General
Topic: AGen
Replies: 56
Views: 10036

Re: AGen

Yep, it's great to see how much Love2D has advanced. Agen and Love2d were released around the same time. Our goal was/is always to focus on making games while Rude and Mike went the open source route. Over the years, it has become impractical to maintain the old engine in addition to making games. T...
by ivan
Sun Jan 14, 2018 5:15 pm
Forum: Games and Creations
Topic: Bass Lover
Replies: 8
Views: 808

Re: Bass Lover

Hey, looks better. Good job improving the UI. Like I said, it's a cool concept, but needs a little bit of work. First off, you need to either start players with a rod/lure already selected or ask them the choose a rod/lure right away - as it can be a little confusing for new players. It's a nice gam...
by ivan
Sat Jan 13, 2018 8:37 am
Forum: Support and Development
Topic: MULTIPLAYER ONLINE GAME - how to do?
Replies: 9
Views: 370

Re: MULTIPLAYER ONLINE GAME - how to do?

I must say, one week to finish such a thing is kind of a brave thing to do! :3
A polite way of saying "not going to happen". :)

Technically it's possible, but concurrency for real-time multiplayer games is a hard problem.
by ivan
Fri Jan 12, 2018 4:04 pm
Forum: General
Topic: [HELP]Rotating circles around the middle and not corner
Replies: 4
Views: 243

Re: [HELP]Rotating circles around the middle and not corner

If you insist on 0,0 being the center of the window: w, h = love.graphics.getDimensions() love.graphics.translate(w/2, h/2) Also, you probably should offset your circles by a half too: love.graphics.draw(circle, sunX, sunY, 0, 1, 1, circleW/2, circleH/2) Lastly it's always a good idea to program you...
by ivan
Fri Jan 12, 2018 2:12 pm
Forum: General
Topic: AGen
Replies: 56
Views: 10036

Re: AGen

Have some followup news on the AGen engine. After 10 years we're finally discontinuing support for AGen and will be porting our games to Love2D! I've rewritten a few of the Lua tutorials so they are largely compatible with Love2D: https://2dengine.com/?p=tutorials PS. Many of tutorials now include i...
by ivan
Tue Jan 09, 2018 12:19 pm
Forum: Support and Development
Topic: File Open
Replies: 3
Views: 149

Re: File Open

File select dialogs are related to the operating system - the focus behind love2d is to make games playable across multiple platforms, including iOS and Android. OS-related things like this are probably not going to happen (at least not in the foreseeable future). Yes, you always want to write to th...
by ivan
Mon Jan 08, 2018 6:36 pm
Forum: Support and Development
Topic: Concerning Source Obfuscation
Replies: 4
Views: 185

Re: Concerning Source Obfuscation

Believe me, you cannot stop piracy - NOT through code obfuscation. When you're selling your game, the goal is to make an easy and seamless experience for the paying customers. Trying to make things more difficult for the pirates is an utter waste of time. The only way to stop piracy altogether is to...