Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: AssemblyBandit on December 10, 2013, 05:32:19 pm

Title: MiniGolf for the +C
Post by: AssemblyBandit on December 10, 2013, 05:32:19 pm
I know this is adding to my list of unfinished projects, but I'm going to put up a video of MiniGolf, my unfinished entry for Cemetech's lightning contest. Mario and Code Zombie will be completed before this gets any progress but I am working on a line and vector routines right now (vector routines ripped/modified from an old Spectrum game).
Title: Re: MiniGolf for the +C
Post by: Sorunome on December 10, 2013, 05:39:28 pm
You shoot out code fast O.O

Anyways, sounds like a good idea :)
Title: Re: MiniGolf for the +C
Post by: AssemblyBandit on December 10, 2013, 07:32:16 pm
Tried to delete this topic, didn't work. Its worse than I thought, this 'not' game is pretty embarrassing, but here it is:



I promise, the final game will be way better than this and it will be fun!

Title: Re: MiniGolf for the +C
Post by: LDStudios on December 10, 2013, 07:41:12 pm
 :o that looks amazing already! Not perfect, but I cant wait to see the final result!  :D
Title: Re: MiniGolf for the +C
Post by: AssemblyBandit on December 10, 2013, 08:06:55 pm
Thanks! I think it really has potential, I'll probably start it over from scratch and create different theme packs for it.
Title: Re: MiniGolf for the +C
Post by: chickendude on December 10, 2013, 10:03:50 pm
Wow, that looks amazing! It's beautiful! I imagine a mini-golf game has to have lots of interesting math to it. How do you handle edges that aren't vertical or horizontal?
Title: Re: MiniGolf for the +C
Post by: AssemblyBandit on December 10, 2013, 10:38:00 pm
Thanks, but trust me, that version has no interesting math! It reads the edges of the ball to see which way it can travel. It doesn't work perfectly though. I probably made a mistake in what pixels it reads because on a straight line it should never be able to cross the edge. It checks specifically for 45 degree angles because they are the most important in mini golf (IMO). Every other edge is anything goes, not perfect, but passable. The finished game will be able to read the angles exactly and the balls movement will be more precise.
Title: Re: MiniGolf for the +C
Post by: chickendude on December 11, 2013, 12:32:16 am
I'd be interested to read how you handle 45 degree angles. Horizontal and vertical lines are just inverting the Y and X velocities respectively, 45 degree angles are a bit more complicated.
Title: Re: MiniGolf for the +C
Post by: DJ Omnimaga on December 11, 2013, 01:57:33 am
In the video, this looks like me playing mini golf in real life :trollface:

Anyway this looks like this would be a nice project. I am curious about how angles will be done and collision detection.
Title: Re: MiniGolf for the +C
Post by: AnToX98 on December 11, 2013, 06:49:51 am
Lol thanks for credits :D

Otherwise it will be a very nice game, congrats :)
Title: Re: MiniGolf for the +C
Post by: TIfanx1999 on December 11, 2013, 08:53:10 am
I know it's in a pretty ugly state right now, but it does look like a good start. :) Only so many hours in a day ya know.
Title: Re: MiniGolf for the +C
Post by: ClrDraw on December 11, 2013, 10:58:49 am
I actually wouldn't mind playing it exactly like it is in the screenshot, that looks really cool  :thumbsup: +1
Title: Re: MiniGolf for the +C
Post by: Sorunome on December 11, 2013, 05:38:32 pm
Looking good so far, i can see a lot coming out of this :P
Title: Re: MiniGolf for the +C
Post by: AssemblyBandit on December 11, 2013, 06:49:44 pm
@chickendude: Yeah, horizontal and vertical just flip them and 45's swap them.
@DJ Omnimaga: Sometimes, I'm actually pretty good at mini golf! Everything is done by reading the colors! I didn't draw anything special in the levels because of time, but its coded to recognize sand pits, water, pipes, and mounds.
@AnToX98: Of course I had to get you two in there!
@Art_of_camelot: It will get better, Frogger started off not that great, but its still my favorite game!
@ClrDraw: Usually it goes out of bounds and stays there, it gets really annoying. I don't know why, but it seems like the collision works better when its not in your favor!
@Sorunome: I'm pretty sure its going to end up being my favorite game!
Title: Re: MiniGolf for the +C
Post by: tr1p1ea on December 12, 2013, 12:13:17 am
Looks awesome! Once the math is properly implemented it should be a very enjoyable game :).

Are you going to add the crabs and stuff as well from the original?
Title: Re: MiniGolf for the +C
Post by: AssemblyBandit on December 15, 2013, 11:34:15 pm
Thanks! I moved the crab to the background for the demo to save time but it probably will be in the final version. The collision detection for it will just be a box most likely.

I'm creating it in Java for the OUYA game system and its looking good! With the extra processing power I can have it interact with the environment knocking stuff around and such, perfect for a multiplayer game! Here's what I got finished so far:



It doesn't look like much, but at least the core game is finished. The ball is going to be able to bounce around and knock boxes and other debris into the green. The control scheme might also be changed as well. Right now you push the analog stick and push O to control speed and direction but I was thinking about having to drag the stick back then push forward. I will focus on the graphics and level design this week. When its all finished, I'll port it to the +C.
Title: Re: MiniGolf for the +C
Post by: Sorunome on December 16, 2013, 09:30:00 am
looking nice :)
Title: Re: MiniGolf for the +C
Post by: AnToX98 on December 16, 2013, 12:00:42 pm
Simply awesome :O

But I hope you won't put these textures but the ones you putted in the first version of your game :)
Title: Re: MiniGolf for the +C
Post by: DJ Omnimaga on December 17, 2013, 02:15:12 am
Looks very nice! Hopefully you can pull off a 84+CSE version of this. :)