A working concept. Not very pretty - but it's playable with victory/fail end states coded.
Uses the numpad keys up/down/left/right to control the quarterback. Click the field to throw the ball. If you do that right then your team will get a run-away touchdown. Use the numpad-5 key to advance time.
I'm 99% sure I haven't done dt thing right and this will run too fast/slow on different rigs. I suspect this will take onle 2 or 3 minutes for you to check the speed/timing so I'd appreciate any feedback in that regard.
love file attached. Be kind. First playable prototype. Much of this was made possible thanks to Ivan and others on this forum.
edit: https://github.com/togfoxy/LoveFootball/releases
Playable concept: Gridiron - 2D top-down with physics engine
Playable concept: Gridiron - 2D top-down with physics engine
- Attachments
Last edited by togFox on Sun Mar 14, 2021 4:59 am, edited 1 time in total.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
- Gunroar:Cannon()
- Party member
- Posts: 1143
- Joined: Thu Dec 10, 2020 1:57 am
Re: Playable concept: Gridiron - 2D top-down with physics engine
Nice, you got the AI working. I find real time ai hard to implement.
Re: Playable concept: Gridiron - 2D top-down with physics engine
Im using behavioural trees combined with some vector math and I'll be honest and say there behavior is so real (sometimes) it blows my mind. Thanks for trying it out.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
- Gunroar:Cannon()
- Party member
- Posts: 1143
- Joined: Thu Dec 10, 2020 1:57 am
Re: Playable concept: Gridiron - 2D top-down with physics engine
Though I tried it on my android(I like trying stuff there, where I normally tweak the shader and control specific code so it will work) and I got a problem with sqlite3, that seems to come from the app. Am I wrong or is it that sqlite3 doesn't work on android?
Re: Playable concept: Gridiron - 2D top-down with physics engine
It was never designed for android so I'm not surprised it didn't work.
Raises an interesting question - which databases do other mobile apps use? Text files and xml?
BTW - this REQUIRES sqlite but that code isn't yet finished. If you care enough you can comment that out. And try again.
Since you seem to be giving this a serious go, the next version I'll release is more gamey (faster) and I'll remove that sql reference that doesn't do anything anyway.
Raises an interesting question - which databases do other mobile apps use? Text files and xml?
BTW - this REQUIRES sqlite but that code isn't yet finished. If you care enough you can comment that out. And try again.
Since you seem to be giving this a serious go, the next version I'll release is more gamey (faster) and I'll remove that sql reference that doesn't do anything anyway.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
Re: Playable concept: Gridiron - 2D top-down with physics engine
SQLite is very commonly used on Android.
Re: Playable concept: Gridiron - 2D top-down with physics engine
I see. Well, maybe I need to invest some time into touch screen controls and touch screen useability.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
Who is online
Users browsing this forum: No registered users and 0 guests