[QUESTION]About Roguelikes in Löve and the Astray library

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
nice
Party member
Posts: 191
Joined: Sun Sep 15, 2013 12:17 am
Location: Sweden

[QUESTION]About Roguelikes in Löve and the Astray library

Post by nice »

Hello boys and girls!
I'm currently thinking about a future project (that's way down the road) and I have been playing around with the idea of making a roguelike.
And I have been looking at the libraries that Löve offers and I noticed one of them pretty early: Astray, it seems to me that it would be perfect for dungeon generation.

So my questions are these:
1. Is it difficult making a roguelike game?
2. What are the challenges with making a roguelike?
3. What are the dos and don'ts while making a roguelike?
4. Can someone explain more in depth what Astray is?
5. As roguelike usually are grid based kind of game, can Astray use different types of tiles like for example hex based instead?

If you think that I'm pouring water over my head with this idea let me know, I appreciate honest opinions.
I thank you for taking time reading this!
:awesome: Have a good day! :ultraglee:
User avatar
artofwork
Citizen
Posts: 91
Joined: Mon Sep 15, 2014 1:17 am
Location: East Coast USA

Re: [QUESTION]About Roguelikes in Löve and the Astray librar

Post by artofwork »

Start small then work your way up the ladder

This is a good tutorial to get startd learning about maps & player movement

Code: Select all

http://www.love2d.org/wiki/Tutorial:Gridlocked_Player
Ashtray is beyond you atm, no offense :p

Eventually You'll be able to learn to load tiles like the attached image and even load sprites :)
Last edited by artofwork on Sun Oct 05, 2014 8:15 pm, edited 1 time in total.
User avatar
nice
Party member
Posts: 191
Joined: Sun Sep 15, 2013 12:17 am
Location: Sweden

Re: [QUESTION]About Roguelikes in Löve and the Astray librar

Post by nice »

artofwork wrote:Ashtray is beyond you atm, no offense :p
Could you explain why it's beyond me? and none offense taken :)
:awesome: Have a good day! :ultraglee:
User avatar
artofwork
Citizen
Posts: 91
Joined: Mon Sep 15, 2014 1:17 am
Location: East Coast USA

Re: [QUESTION]About Roguelikes in Löve and the Astray librar

Post by artofwork »

nice wrote: Could you explain why it's beyond me? and none offense taken :)
I think based on the questions you have asked on the forums here you lack the understanding to handle a library as complex as Ashtray.
In my opinion if I were you I'd wait to use any library until you have written one of your own otherwise you will just be pulling your hair out trying to get things to work as intended.

I myself don't use any pre-existing libraries, I write out everything on my own, which makes trouble-shooting much easier, because I am the one who wrote it.

When I started a month or so ago here I didn't know anything, so i looked at other people's code and rewrote it to meet my needs eventually i learned how to write my own classes, now I can build an entire game without using any 3rd party applications or libraries.

What i did was start small and built upon that experience :)
Last edited by artofwork on Sun Oct 05, 2014 8:28 pm, edited 2 times in total.
User avatar
riidom
Citizen
Posts: 74
Joined: Wed Jun 19, 2013 4:28 pm
Location: irgendwo an der Elbe
Contact:

Re: [QUESTION]About Roguelikes in Löve and the Astray librar

Post by riidom »

there is another lib you might find helpful:
https://github.com/paulofmandown/rotLove

I also found Roland Yonabas "jumper" of greatest usability:
https://github.com/Yonaba/Jumper
User avatar
nice
Party member
Posts: 191
Joined: Sun Sep 15, 2013 12:17 am
Location: Sweden

Re: [QUESTION]About Roguelikes in Löve and the Astray librar

Post by nice »

artofwork wrote:
nice wrote: Could you explain why it's beyond me? and none offense taken :)
I think based on the questions you have asked on the forums here you lack the understanding to handle a library as complex as Ashtray.
In my opinion if I were you I'd wait to use any library until you have written one of your own otherwise you will just be pulling your hair out trying to get things to work as intended.

I myself don't use any pre-existing libraries, I write out everything on my own, which makes trouble-shooting much easier, because I am the one who wrote it.

When I started a month or so ago here I didn't know anything, so i looked at other people's code and rewrote it to meet my needs eventually i learned how to write my own classes, now I can build an entire game without using any 3rd party applications or libraries.

What i did was start small and built upon that experience :)
I agree upon the "learn by doing" part, I was thinking about how I should do it and so I was looking into libraries here on Löve and of course I saw Astray but just how complex is Astray really? and what can I do to understand libraries better?

riidom wrote:there is another lib you might find helpful:
https://github.com/paulofmandown/rotLove

I also found Roland Yonabas "jumper" of greatest usability:
https://github.com/Yonaba/Jumper
Have you used theses libraries before? are there any difficulties with them?
:awesome: Have a good day! :ultraglee:
User avatar
riidom
Citizen
Posts: 74
Joined: Wed Jun 19, 2013 4:28 pm
Location: irgendwo an der Elbe
Contact:

Re: [QUESTION]About Roguelikes in Löve and the Astray librar

Post by riidom »

Yes I have used both of them, jumper is no problem to use, just read the documentation carefully.

The rotLove port comes in two versions, one is modular (if you havent checked the github page yet, rotLove is a big collection of small libs tailored around rl's), the other is one big file that includes all. I used here only the DijkstraMap in the modular version and it didn't work out of the box, I needed to do some changes. I think the unified version is better maintained, but my RL project is on hold since a few months and I don't remember exactly anymore.

And for using libraries - I started that actually pretty early in my Lua-learning process, I sticked to ones with good, detailed documentation (admitted, the docs for rotLove are quite brief, though).
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: [QUESTION]About Roguelikes in Löve and the Astray librar

Post by Roland_Yonaba »

riidom wrote:Yes I have used both of them, jumper is no problem to use, just read the documentation carefully.
Thanks for the recommandation.
I'll also advise to go straight to the latest stable (1.8.1). Docs are also available online.
User avatar
nice
Party member
Posts: 191
Joined: Sun Sep 15, 2013 12:17 am
Location: Sweden

Re: [QUESTION]About Roguelikes in Löve and the Astray librar

Post by nice »

riidom wrote:And for using libraries - I started that actually pretty early in my Lua-learning process, I sticked to ones with good, detailed documentation (admitted, the docs for rotLove are quite brief, though).
Do you have any suggestions about exercises on libraries for Löve?
Roland_Yonaba wrote:I'll also advise to go straight to the latest stable (1.8.1). Docs are also available online.
Sweet! thanks for putting the links up!


Does anyone else have a opinion on how a roguelike should look like/feel like? I think it would be fun to know what other people have to say about it :)
:awesome: Have a good day! :ultraglee:
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: [QUESTION]About Roguelikes in Löve and the Astray librar

Post by kikito »

nice wrote:Does anyone else have a opinion on how a roguelike should look like/feel like? I think it would be fun to know what other people have to say about it :)
The best looking/feeling roguelike that I know of is not out yet. It is called Cogmind.

Image

It's dev blog is very interesting:

http://www.gridsagegames.com/blog/

That said, don't aim for that. This guy has been working on it for months now, full time. Start small.

"Start small" was repeated again and again in the latest roguelike radio episode.
When I write def I mean function.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests