Mars Lander. Any collaborators? Noobs welcome.

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
togFox
Party member
Posts: 764
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Mars Lander. Any collaborators? Noobs welcome.

Post by togFox »

I like. :) I'll add your contribution to the main branch. :)
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
User avatar
togFox
Party member
Posts: 764
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Mars Lander. Any collaborators? Noobs welcome.

Post by togFox »

I like.
Untitled.png
Untitled.png (234.95 KiB) Viewed 4145 times
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
User avatar
Gunroar:Cannon()
Party member
Posts: 1085
Joined: Thu Dec 10, 2020 1:57 am

Re: Mars Lander. Any collaborators? Noobs welcome.

Post by Gunroar:Cannon() »

Looks good.
Hmmm...maybe the light bulbs could emit light (shaders? or even simpler using a semi-transparent image gradient) , though you'll need trail and error positioning. If anyone ever has any objections with the art, no matter how many times, you can say, I'm patient :megagrin:
Will have to get to the lander( and cities hopefully)
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
User avatar
milon
Party member
Posts: 472
Joined: Thu Jan 18, 2018 9:14 pm

Re: Mars Lander. Any collaborators? Noobs welcome.

Post by milon »

Gunroar:Cannon() wrote: Sun Oct 17, 2021 11:14 am Redisgned tank. Light bulb on top for ... functionality? Just practicing my pixel art.
Maybe the broken version can be used when the tank is crashed into, though then you need explosions. :P
Lucky for us, someone has just been working on that very topic! ;)
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
User avatar
togFox
Party member
Posts: 764
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Mars Lander. Any collaborators? Noobs welcome.

Post by togFox »

0_0

#intrigued.

Here is v0.05 (attached)

Change log:
- refueling is no longer instant. You can watch the fuel bar fill up (it's really cool)
- a "win" sound is added to let you know you've landed on a base correctly
- a "salary" is now payable based on landing close to the base
- an animated landing pad is added
- things drawn off the screen are no longer drawn off the screen (for performance reasons)
- 10 bases are now added. Easy to add more
- the lander is scaled up a little bit (but now quite ugly)
- the ground is now "filled" and looks better
- load game added
- save game added
- some code refactoring
- some runtime bugs fixed
- bitser implemented correctly
- game balancing added
- bases will deactivate when out of fuel
Untitled.png
Untitled.png (576.47 KiB) Viewed 4102 times
I'm thinking that light on top of the base should turn off when the base is out of fuel. Should be easy - right? :)

Outstanding tasks are documented on github. Anyone can read in "view only" mode:
https://github.com/togfoxy/MarsLander/projects/1



MarsLander.love
(4.33 MiB) Downloaded 117 times
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
User avatar
milon
Party member
Posts: 472
Joined: Thu Jan 18, 2018 9:14 pm

Re: Mars Lander. Any collaborators? Noobs welcome.

Post by milon »

In case it wasn't obvious, I was referring to this link
https://love2d.org/forums/viewtopic.php?f=3&t=92186

Also, the .love is broken - file assets/landinglights.png seems to be missing. (It's there, but the folder is called Assets instead. Capitalization matters on non-Windows systems.)
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
User avatar
togFox
Party member
Posts: 764
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Mars Lander. Any collaborators? Noobs welcome.

Post by togFox »

Poop. :(

v0.05a

I really like this version. Encourage you all to try it.
MarsLander.love
(4.29 MiB) Downloaded 126 times
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
User avatar
togFox
Party member
Posts: 764
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Mars Lander. Any collaborators? Noobs welcome.

Post by togFox »

v0.06 is ready. This took a whole evening. I wasn't thinking my best and had to rewrite whole chunks of messed up ideas.

- wealth reward is now tied to soft landing (vx & vy) and how close to centre of the landing pad
- can now buy upgrades: larger fuel tank, efficient thrusters and a rangefinder
- players can't fly off the left side of the screen now

Whilst those notes don't look like much there was a lot of refactoring so I'm happy with that. If anyone wants to contribute the github is open to the public. The LOVE file is attached. The code is intentionally written for noobs - not a single instance of SELF keyword. :monocle:

Milon and Gunroar have both made great contributions so far. :) This is not just my project and there are some important game play decisions to make (see github cards).

I see Milon has offered some comments against github cards. Thanks for that. I think deterministic terrain is the future. I was thinking of more retro and "mountains" like my concept diagram in the OP (the 2nd image) but idk anymore. The random (but deterministic) terrain is kind of growing on me. I might experiment and see. Your code examples have been super super super useful, practical and written to be educational (i.e. not complex).


Untitled.png
Untitled.png (205.28 KiB) Viewed 3997 times

MarsLander.love
v0.06
(4.29 MiB) Downloaded 117 times
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
User avatar
Gunroar:Cannon()
Party member
Posts: 1085
Joined: Thu Dec 10, 2020 1:57 am

Re: Mars Lander. Any collaborators? Noobs welcome.

Post by Gunroar:Cannon() »

milon wrote: Mon Oct 18, 2021 10:33 am
Gunroar:Cannon() wrote: Sun Oct 17, 2021 11:14 am version can be used when the tank is crashed into, though then you need explosions. :P
Lucky for us, someone has just been working on that very topic! ;)
Oh, is me? :rofl: My explosion code is integrated into the framework of the game I'm working on (bump.lua, specific entity inheritance of all objects in game), but I guess I could try and integrate it if that's fine, or maybe explosions are already being coded in?

More sprites, anyone is free to edit them to make small changes just in case :megagrin:
Attachments
a building...?
a building...?
building1.png (1.5 KiB) Viewed 3968 times
Off :P
Off :P
gastank_off.png (2.16 KiB) Viewed 3968 times
Redid this. Light bulb was on.
Redid this. Light bulb was on.
gastank_broken.png (2.51 KiB) Viewed 3968 times
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: 1085
Joined: Thu Dec 10, 2020 1:57 am

Re: Mars Lander. Any collaborators? Noobs welcome.

Post by Gunroar:Cannon() »

togFox wrote: Tue Oct 19, 2021 1:11 pm The code is intentionally written for noobs - not a single instance of SELF keyword. :monocle:
I just saw this... noooooo :o
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: No registered users and 16 guests