[Mod] Minetest 2D 2.7 [mt2d]

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Minetest 2D 2 [mt2d]

by Lone_Wolf » Post

This mod is epic! The furnace has a little trouble though (The face should be facing you when placed). And if you change your view (f7) enough you'll get this:
Image
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Minetest 2D 2 [mt2d]

by Lone_Wolf » Post

Lava didn't like being 2d.
Suggestion: Allow buckets to pick up flowing lava like regular lava
Image
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

User avatar
AiTechEye
Member
Posts: 1000
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: Sweden

Re: [Mod] Minetest 2D 2.5 [mt2d]

by AiTechEye » Post

i dont think there is support in minetest to change the players view like that, but if it was i would do that instead of attaching the players to a floating object.

but it should look better now

Image
Image
Attachments
screenshot_20181125_111915.png
screenshot_20181125_111915.png (140.8 KiB) Viewed 2263 times
screenshot_20181125_103934.png
screenshot_20181125_103934.png (141.89 KiB) Viewed 2263 times

User avatar
DELTA_FORCE
Member
Posts: 165
Joined: Tue Oct 30, 2018 01:26
IRC: DELTA_FORCE
In-game: DELTA_FORCE
Location: ee

Re: [Mod] Minetest 2D 2.5 [mt2d]

by DELTA_FORCE » Post

Great job! Maybe have the option to zoom out, have more support for torches, and have the player have the option to move the mouse cursor, as playing as the camera is hard.
check me out nowhere because i never do anything

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Minetest 2D 2 [mt2d]

by Andrey01 » Post

I`ve just tested this mod and found significant bug: if pressing "W" a player will be jumping infinitely up. Question: why does it happen?

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Minetest 2D 2 [mt2d]

by Lone_Wolf » Post

Andrey01 wrote:I`ve just tested this mod and found significant bug: if pressing "W" a player will be jumping infinitely up. Question: why does it happen?
To jump in this game you hold down W. To jump in 3d minetest you hold down [SPACE]
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

User avatar
AiTechEye
Member
Posts: 1000
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: Sweden

Re: [Mod] Minetest 2D 2 [mt2d]

by AiTechEye » Post

because players can jump when its y velocity is 0

User avatar
trev
Member
Posts: 45
Joined: Fri Sep 26, 2014 16:49
In-game: trev

Re: [Mod] Minetest 2D 2 [mt2d]

by trev » Post

AiTechEye,

So players can jump if they are not moving vertically? Physically, something must instantaneously stop before changing directions. As you jump, your vertical speed is roughly quadratic, correct? So there must be a point of inflection when the player has an instantaneous y-speed of 0. Does the Minetest engine assume that this never happens except when standing on solid ground?
Do what you love, and you will love what you do! :)

User avatar
trev
Member
Posts: 45
Joined: Fri Sep 26, 2014 16:49
In-game: trev

Re: [Mod] Minetest 2D 2 [mt2d]

by trev » Post

This is sooooo cool!
Do what you love, and you will love what you do! :)

User avatar
AiTechEye
Member
Posts: 1000
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: Sweden

Re: [Mod] Minetest 2D 2 [mt2d]

by AiTechEye » Post

i made it in that way because of this:

when you hold up (jump) and the y velocity is 0, it sets to 8, simple.

you can requere a walkable node under to jump, but it will only allow you to jump if you stand over it, and diallow you to jump on odd blocks and entitys.
and it's also unnecessary to put such a limitation because the only required to jump are that you aren't flying or falling, right?

due the heavy acceleration the engine should turn the positive velocity to negative because you starts falling directly, or if not it's a very little chance to the entity to catch just that moment before the velocity changes down,

and thanks everyone for trying the mod :)

Image
Image
Attachments
Namnlös.png
Namnlös.png (4.06 KiB) Viewed 2263 times
screenshot_20181208_201219.png
screenshot_20181208_201219.png (138.45 KiB) Viewed 2263 times

User avatar
Extex
Member
Posts: 244
Joined: Wed Mar 14, 2018 23:14
GitHub: Extex101
In-game: Extex

Re: [Mod] Minetest 2D 2 [mt2d]

by Extex » Post

Could you please update to support 5.0.0
I have a world that I've been playing but on 5.0.0 it just crashes the whole program
Creator of jelys_pizzaria and motorbike, and player of persistent kingdoms. RIP

User avatar
AiTechEye
Member
Posts: 1000
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: Sweden

Re: [Mod] Minetest 2D 2 [mt2d]

by AiTechEye » Post

fixed, it was caused by an odd block

User avatar
Extex
Member
Posts: 244
Joined: Wed Mar 14, 2018 23:14
GitHub: Extex101
In-game: Extex

Re: [Mod] Minetest 2D 2 [mt2d]

by Extex » Post

Re-download

2019-05-24 11:33:37: ACTION[Server]: singleplayer [127.0.0.1] joins game.
2019-05-24 11:33:37: ACTION[Server]: singleplayer joins game. List of players: singleplayer

And then it crashes
Same thing
Creator of jelys_pizzaria and motorbike, and player of persistent kingdoms. RIP

User avatar
AiTechEye
Member
Posts: 1000
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: Sweden

Re: [Mod] Minetest 2D 2 [mt2d]

by AiTechEye » Post


User avatar
doyousketch2
Member
Posts: 115
Joined: Tue Feb 05, 2013 16:06
GitHub: doyousketch2
In-game: Sketch2
Location: Ohio
Contact:

Re: [Mod] Minetest 2D 2 [mt2d]

by doyousketch2 » Post

nice, but camera centering is too aggressive.
feels like view is going into epileptic seizures at times.

entities.lua : lines 193 - 198, change from *0.9 to *0.99

Code: Select all

		if tyaw>0.5 or (npointable and tyaw>0.2) then
			self.user:set_look_yaw(3.14+((yaw-4.71)*0.99))

		elseif tpitch>0.5 or (npointable and tpitch>0.2) then
			self.user:set_look_pitch((pitch*0.99)*-1)
		end

User avatar
doyousketch2
Member
Posts: 115
Joined: Tue Feb 05, 2013 16:06
GitHub: doyousketch2
In-game: Sketch2
Location: Ohio
Contact:

Re: [Mod] Minetest 2D 2 [mt2d]

by doyousketch2 » Post

to explain:

it reduces amount that the camera tries to change view each step

instead of moving 10 % of the distance each time, it only moves 1 %

User avatar
doyousketch2
Member
Posts: 115
Joined: Tue Feb 05, 2013 16:06
GitHub: doyousketch2
In-game: Sketch2
Location: Ohio
Contact:

Re: [Mod] Minetest 2D 2 [mt2d]

by doyousketch2 » Post

Camera seems to be better. I like that it doesn't try to autocenter any more. Here are a few notes I wrote down while playing:

better pick to begin with. you spend way too long digging to find steel

more ores. hard to find.

bigger cobble stacks: 999

prot'tool & screwdriver don't do anything.

inventory 'sethome' only chimes. doesn't return you to position.

thicker dirt layer, 6 nodes.
every player will come along and skim dirt to make a garden.
soon all unowned land, outward from spawn, will be barren.

super glowglass. mese is too hard to find for meselamps.

sometimes the player keeps flying beyond intended location
seems to be missing velocity check, maybe due to lag?

/home retuned to home, but player-view was stuck inside object-plane.

fast priv is increasingly useful,
because you have to travel so far for resources.

mods could be forked to use in 2D:
-----------------------------------------
anvil
gravel seive

farming seeds, scan down 1 node
to look for tilled & watered ground, so you can plant in air,
instead of trying to target that thin sliver of 2D space.

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] Minetest 2D 2 [mt2d]

by Miniontoby » Post

My minetest crashes everytime with this mod (I think there happen the same thing as "Extex" viewtopic.php?f=11&t=20994&p=349420#p347737)
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
AiTechEye
Member
Posts: 1000
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: Sweden

Re: [Mod] Minetest 2D 2 [mt2d]

by AiTechEye » Post

still hasen't solved it yet...

but the only thing you can do is by change the join/start dalay before you become attached to the camra, i wont change this in the mod to more, cuz it will make people have to wait secunds before the can play after they joins.

players joins the mod from here, you can try by change the number "2" to somthing bigger
https://github.com/AiTechEye/mt2d/blob/ ... #L220-L226

and here is the problem line, when you becomes attached
https://github.com/AiTechEye/mt2d/blob/ ... t.lua#L146

Tim790
Member
Posts: 124
Joined: Mon May 31, 2021 23:32
GitHub: Tim79000
In-game: Tim7
Location: Land of the Midnight Sun

Re: [Mod] Minetest 2D 2.7 [mt2d]

by Tim790 » Post

Make it compatible with all games.
Yeet.

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests