I have 1 question.

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
WAWAWA
Prole
Posts: 32
Joined: Fri Aug 13, 2021 5:10 pm

I have 1 question.

Post by WAWAWA »

How can I make a game like duskers?

Specifically the map generation (universe and ship generation). If you don't know the game, here's a link to check it out: https://www.youtube.com/watch?v=nkgktEl_sxQ

Off topic:
If anyone would want, could you make me a drone sprite (transparent green, 0.5-0.8) that looks something like a Parrot AR 2.0 (there are some yt videos about them.) since I don't really have any money to pay people to make me stuff, and neither do I have experience with drawing. Though I surely do have experience with coding in Lua, so that's something!
User avatar
Gunroar:Cannon()
Party member
Posts: 1091
Joined: Thu Dec 10, 2020 1:57 am

Re: I have 1 question.

Post by Gunroar:Cannon() »

WAWAWA wrote: Thu Jul 07, 2022 8:34 pm How can I make a game like duskers?
I know to some people this is bad coming from me but...errr...you could think? If you don't really have a problem that needs fixing then maybe put it in General. I dunno :P

Not really sure what you mean (didn't watch the video ) but also look at algorithms like how dwarf fortress does history gen and how Elite (the old space sim game) does procedural planets with limited resources. Minecraft's map gen, simplex noise, etc, etc.
(Just saw it's a roguelike, also: rotLove for making dungeon-like maps)
Off topic:
If anyone would want, could you make me a drone sprite (transparent green, 0.5-0.8) that looks something like a Parrot AR 2.0 (there are some yt videos about them.) since I don't really have any money to pay people to make me stuff, and neither do I have experience with drawing.
Psychology says if you ask a lot of people for something you're less likely to get it than targeting one specific person. I don't really think that applies to forums well but :crazy: I guess there was a 3% chance someone would actually do this for you... and...I'm that 3% babeh!
...anyways I'm not the best at art :P .
Though I surely do have experience with coding in Lua, so that's something!
At least :ultrahappy:

Like this?
Like this?
droneson_green.png (6.55 KiB) Viewed 3441 times
Or like this?
Or like this?
dronetina_true_green.png (6.37 KiB) Viewed 3441 times
You could make it transparent in code using love.graphics.setColor(0,0,0,.5)
You could make it transparent in code using love.graphics.setColor(0,0,0,.5)
dronethy_op.png (6.35 KiB) Viewed 3441 times
Last edited by Gunroar:Cannon() on Sun Jul 10, 2022 8:35 am, edited 2 times in total.
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
User avatar
Gunroar:Cannon()
Party member
Posts: 1091
Joined: Thu Dec 10, 2020 1:57 am

Re: I have 1 question.

Post by Gunroar:Cannon() »

(Max 3 attachments,
so double post :brows:)
Or low res?
Or low res?
dromety_32x32.png (422 Bytes) Viewed 3441 times
All based off this version of the Parrot AR 2.0 by the way...
Image

You could also make attempts at art, though I understand you might feel that some art you do may look like a turd, but at least it can work for placeholders? :)
Also try opengameart for stuff.
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
Xugro
Party member
Posts: 112
Joined: Wed Sep 29, 2010 8:14 pm

Re: I have 1 question.

Post by Xugro »

WAWAWA wrote: Thu Jul 07, 2022 8:34 pm How can I make a game like duskers?

Specifically the map generation (universe and ship generation).
How would you generate those two things with pen and paper? This should give you an idea how to write an algorithm.

My first instinct:
  • universe generation
    1. Temporarily place a point on a random spot on the universe map.
    2. Calculate the distance to every other point on the map.
    3. If the distance to the nearest point is too large/small remove the temporary point.
    4. Repeat until enough points are on the map.
    This is not the best way to do it, but for smaller maps this should be good enough.
  • ship generation
    Place rooms and doors on a grid. This should make things easier.
    1. Start with a random room (just a rectangle).
    2. Place a few doors (each a 1x1 tile) all around the room.
    3. Place the next room.
      • It should border to at least one existing door.
      • It should not overlap with other rooms or doors.
    4. Place a few doors (each a 1x1 tile) all around the new room.
    5. Repeat
    6. At the end remove doors that lead to nowhere.
    This is also not a good way to do this, but for smaller ships it should work.
User avatar
WAWAWA
Prole
Posts: 32
Joined: Fri Aug 13, 2021 5:10 pm

Re: I have 1 question.

Post by WAWAWA »

Thank you Gunroar:Cannon() for the sprites, but I want one based on this version: https://www.youtube.com/watch?v=5uzOxESUg0U, it must be topdown looking like the second version.
User avatar
WAWAWA
Prole
Posts: 32
Joined: Fri Aug 13, 2021 5:10 pm

Re: I have 1 question.

Post by WAWAWA »

I tried art already, using paintnet and inkscape. Not very good at either.. but I'll keep trying!
User avatar
Gunroar:Cannon()
Party member
Posts: 1091
Joined: Thu Dec 10, 2020 1:57 am

Re: I have 1 question.

Post by Gunroar:Cannon() »

WAWAWA wrote: Mon Jul 18, 2022 11:01 pm Thank you Gunroar:Cannon() for the sprites, but I want one based on this version: https://www.youtube.com/watch?v=5uzOxESUg0U, it must be topdown looking like the second version.
Couldn't watch the video (my YT having problems) but something like
Image this?
I think the rings can just be drawn around the blades in the picture I drew. Take it as an excersicse exercise...? :P
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
User avatar
WAWAWA
Prole
Posts: 32
Joined: Fri Aug 13, 2021 5:10 pm

Re: I have 1 question.

Post by WAWAWA »

yeah, just like that, I guess I'll try.
User avatar
WAWAWA
Prole
Posts: 32
Joined: Fri Aug 13, 2021 5:10 pm

Re: I have 1 question.

Post by WAWAWA »

uhhh... I tried...
bitmap.png
bitmap.png (4.65 KiB) Viewed 3085 times
yeah....
User avatar
Gunroar:Cannon()
Party member
Posts: 1091
Joined: Thu Dec 10, 2020 1:57 am

Re: I have 1 question.

Post by Gunroar:Cannon() »

WAWAWA wrote: Fri Jul 22, 2022 10:39 pm uhhh... I tried...
bitmap.png
yeah....
Yeah! :awesome: To be completely honest about the picture...it looks way better than anything U could have come up with, for real.

Edit: :brows: Dang keyboard, I meant "I" not "U"
Last edited by Gunroar:Cannon() on Sat Jul 30, 2022 10:51 am, edited 1 time in total.
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests