Search found 78 matches: love2d

Return to advanced search

Re: Learn Lua / Love2D with me :)

Ahh and this (with some plugins) might make for a cool code editor written in lua:
https://github.com/rxi/lite
by Julius
06 Jul 2020, 15:54
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

Ahh, this looks cool:
https://github.com/a327ex/BYTEPATH
(LÖVE game with tutorial)
by Julius
06 Jul 2020, 15:45
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

http://tylerneylon.com/a/learn-lua/

Quick "learn lua in 15 minutes" summary.
by Julius
01 Jul 2020, 19:20
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

Sorry, got sidetracked with other stuff. Still planning to get back to this though.

Found this interesting engine that apparently is build on top of Love2D:
https://github.com/Planimeter/grid-sdk
by Julius
08 Jun 2020, 13:30
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Tiny Places (Working Title)

... like ARPG. This seems like a nice start for a single screen twinstick shooter already. How about adding controller support (should be easy with Love2D) and maybe support for two player on the same screen? Once you have that working, you can always add more RPG elements to it.
by Julius
02 May 2020, 01:23
 
Forum: Project Showcase & Collaboration
Topic: Tiny Places (Working Title)
Replies: 29
Views: 4296

Re: Learn Lua / Love2D with me :)

Vandar {l Wrote}:It's a bit weird indeed. Some old BASIC dialects had an option to choose 0 or 1 as array start.


Yes, and Visual Basic .Net and Gambas are both 0 indexed as opposed to classic Visual Basic or QBasic.
by Technopeasant
26 Apr 2020, 02:55
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

Yes it should, but then you have to remember to do so every time, or write your own array access wrapper functions and use those.
by GunChleoc
22 Apr 2020, 18:40
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

It's a bit weird indeed. Some old BASIC dialects had an option to choose 0 or 1 as array start.

But can't you just insert elements manually and begin at zero?

{l Code}: {l Select All Code}
  array[0] = someValue
  array[1] = someOtherValue


should be totally legal.
by Vandar
22 Apr 2020, 14:38
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

Julius {l Wrote}:Good to know. But I actually like that indexing starts at 1 :p

That's fun until you try to do modular arithmetic on it. Those necessary index shifts by 1 are not fun.
by GunChleoc
21 Apr 2020, 17:34
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

Good to know. But I actually like that indexing starts at 1 :p

Making slow progress with the tutorial, as I am getting distracted with other stuff. But so far so good :heart:
by Julius
20 Apr 2020, 01:34
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Tiny Places (Working Title)

... things simple and 5 inventory slots will be fine. Must see if that assumption holds. Adding two more is easy without breaking the design. https://love2d.org/forums/download/file.php?id=18108 The corner and borders were created using two public domain svgs: - https://freesvg.org/rose-corner-decor ...
by Vandar
19 Apr 2020, 21:52
 
Forum: Project Showcase & Collaboration
Topic: Tiny Places (Working Title)
Replies: 29
Views: 4296

Re: Learn Lua / Love2D with me :)

T - #table doesn't return the actual number of elements, but the highest index used. This can be misleading if you have gaps in the index. Even worse. It returns the first index that is followed by a nil, even if there are more entries coming after the gap. My conclusion: do not use the size operat...
by Vandar
18 Apr 2020, 23:11
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

There are 2 pitfalls around tables:

- Indexing starts at 1 instead of 0
- #table doesn't return the actual number of elements, but the highest index used. This can be misleading if you have gaps in the index.
by GunChleoc
17 Apr 2020, 17:54
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Open Source VR games and projects?

... work nicely with the actually really usable Firefox Reality browser Edit: currently only works in Chromium due to WebXR switch) There is also the Love2D inspired LoVR game framework: https://lovr.org/ https://github.com/bjornbytes/lovr Oh and it looks like OpenXR support is coming to Blender3D: ...
by Julius
17 Apr 2020, 14:37
 
Forum: General
Topic: Open Source VR games and projects?
Replies: 44
Views: 23474

Re: Tiny Places (Working Title)

Somehow I have the feeling this will become a spell "fireworks" effect showcase - I'm no game designer for sure, but I like the way Love2d makes such stuff easy. Now much new to report today, was busy with other things. But I imported some of my wall graphics to make a sort of ruined ...
by Vandar
17 Apr 2020, 00:17
 
Forum: Project Showcase & Collaboration
Topic: Tiny Places (Working Title)
Replies: 29
Views: 4296

Re: Learn Lua / Love2D with me :)

Worked on something else today, but I am still very much committed to this.

Thanks for the suggestions and help offered :)
by Julius
16 Apr 2020, 22:49
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

... an IDE yet, beyond the scite editor (a very generic text editor). The client in my latest project (Tiny Places in Showcase forum) uses Lua/Love2d for the client though. I found the Love2d online documentation to be very helpful. So I'm a newby myself, but feel free to ask if you are looking ...
by Vandar
16 Apr 2020, 16:15
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

Space Nerds in Space could always use more mission scripts, which are written in Lua. Lua API for it is described here, and some existing scripts are here.
by smcameron
15 Apr 2020, 20:07
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

Yeah, that would be another good option of course.

For now I went with the Zerobrane IDE as that is what the tutorial uses and I never really got a "favorite" IDE anyways.

Made progress a few chapters in... the lua syntax is a bit unusual but quite easy to learn and remember I think.
by Julius
15 Apr 2020, 18:39
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

You could also look for an active FLOSS game that uses Lua and see if they have beginner's tickets to pick up. Off the top of my head, Wesnoth, Hedgewars, Widelands. There might be more.
by GunChleoc
15 Apr 2020, 10:24
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

Not my cup of tea, but there is a video tutorial set:
https://www.youtube.com/playlist?list=P ... 9aT88KGxH8
by Julius
15 Apr 2020, 02:33
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Learn Lua / Love2D with me :)

Ok first step, get a nice IDE. There is some discussion what to choose here: https://love2d.org/forums/viewtopic.php?f=3&t=6915 And a awesome list here: https://github.com/love2d-community/awesome-love2d#ides I'll probably go with the ATOM IDE: https://atom.io/packages/love-ide ...
by Julius
15 Apr 2020, 01:01
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Learn Lua / Love2D with me :)

... is written in lua and I am interested in developing extensions for it. It seems fairly popular around here as well, especially in the form of Love2D: https://love2d.org So if you want to help me or just join me in learning it, this is the place. Although a word of warning... I am probably ...
by Julius
15 Apr 2020, 00:38
 
Forum: Programming
Topic: Learn Lua / Love2D with me :)
Replies: 19
Views: 3619

Re: Tiny Places (Working Title)

I've started to work on life and mana gauges. The idea to have the UI kinda isometric like the map definitely did not help there. https://love2d.org/forums/download/file.php?id=18031 Oh, if only I was better at making animated graphics and sound effects. This would become an orgy of light, ...
by Vandar
03 Apr 2020, 01:52
 
Forum: Project Showcase & Collaboration
Topic: Tiny Places (Working Title)
Replies: 29
Views: 4296