38
u/Willing_Economist_89 Nov 05 '21
Can you go backwards?
31
u/Pawan315 Nov 05 '21
No didn’t coded for that
12
u/Willing_Economist_89 Nov 05 '21
Still cool … how do you think you could implement the direction change?
14
u/Pawan315 Nov 05 '21
Maybe by only moving legs to move back By moving full body move forward
→ More replies (2)6
Nov 05 '21
or maybe right hand up = backward, left hand up = forward, no hand up = static?
→ More replies (1)
16
7
4
4
Nov 05 '21
Dude! This is awesome. I'm just getting started on my coding journey and this is the kind of fun and out of the box projects that keep me motivated.
4
4
u/juspreet51 Nov 05 '21
This is so cool. Would I also be able to play it if I fork your repo?
2
u/Pawan315 Nov 05 '21
Yes fork it but you too need mario game playing in background Mario setup with d to move forward and space to jump
2
3
u/lifemoments Nov 05 '21
Impressive.
Query .. For such projects how does one interface with the game?
7
u/Pawan315 Nov 05 '21
Game running in background the script I made just sends keyboard inputs Its like keyboard automation
1
1
u/arkkmid Nov 05 '21
that's great, i basically did the same thing here with rocket league but yours works a lot better. you are simulating keyboard presses right? when i did that, the memory on computer was clogging up very fast
2
1
u/PlasmaEnergyGaming Nov 06 '21
Dude.. what..? How..? Uh-okay so I want to give a big award to you, but am broke cause all my money is in my giving account, which I only use for charity stuff... Have a virtual award: 🏆
1
1
u/JordiNeil Nov 06 '21
I coded something similar with the same game, but mine only depends of a red hat centroid and its location in the screen make the movements, I think it plays faster than yours but tracking full body is nice. Great job.
1
2
u/tonywolf1997 Nov 05 '21
So you create a Wii for Mario.
Cool idea. I love if it also can go backward, fire fire and duck into pipes
1
1
1
1
1
1
1
u/pokeaim Nov 05 '21
the output is cool, but i can't help on seeing the title, readme, and code gore
1
22
u/Pawan315 Nov 05 '21
here is the code - https://github.com/Pawandeep-prog/real-life-mario