Page 4 of 14

Re: Mars Lander. Any collaborators? Noobs welcome.

Posted: Sun Oct 17, 2021 11:17 am
by togFox
I like. :) I'll add your contribution to the main branch. :)

Re: Mars Lander. Any collaborators? Noobs welcome.

Posted: Sun Oct 17, 2021 1:01 pm
by togFox
I like.
Untitled.png
Untitled.png (234.95 KiB) Viewed 4590 times

Re: Mars Lander. Any collaborators? Noobs welcome.

Posted: Sun Oct 17, 2021 4:37 pm
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)

Re: Mars Lander. Any collaborators? Noobs welcome.

Posted: Mon Oct 18, 2021 10:33 am
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! ;)

Re: Mars Lander. Any collaborators? Noobs welcome.

Posted: Mon Oct 18, 2021 11:03 am
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 4547 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 124 times

Re: Mars Lander. Any collaborators? Noobs welcome.

Posted: Mon Oct 18, 2021 3:50 pm
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.)

Re: Mars Lander. Any collaborators? Noobs welcome.

Posted: Mon Oct 18, 2021 8:45 pm
by togFox
Poop. :(

v0.05a

I really like this version. Encourage you all to try it.
MarsLander.love
(4.29 MiB) Downloaded 130 times

Re: Mars Lander. Any collaborators? Noobs welcome.

Posted: Tue Oct 19, 2021 1:11 pm
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 4442 times

MarsLander.love
v0.06
(4.29 MiB) Downloaded 124 times

Re: Mars Lander. Any collaborators? Noobs welcome.

Posted: Tue Oct 19, 2021 6:26 pm
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:

Re: Mars Lander. Any collaborators? Noobs welcome.

Posted: Tue Oct 19, 2021 6:59 pm
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