Author Topic: MiniGolf for the +C  (Read 4113 times)

0 Members and 1 Guest are viewing this topic.

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
MiniGolf for the +C
« 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).

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: MiniGolf for the +C
« Reply #1 on: December 10, 2013, 05:39:28 pm »
You shoot out code fast O.O

Anyways, sounds like a good idea :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: MiniGolf for the +C
« Reply #2 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!

« Last Edit: December 10, 2013, 07:35:23 pm by AssemblyBandit »

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: MiniGolf for the +C
« Reply #3 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
« Last Edit: December 10, 2013, 07:41:27 pm by LDStudios »



Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: MiniGolf for the +C
« Reply #4 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.

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: MiniGolf for the +C
« Reply #5 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?

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: MiniGolf for the +C
« Reply #6 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.

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: MiniGolf for the +C
« Reply #7 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.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: MiniGolf for the +C
« Reply #8 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.

Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: MiniGolf for the +C
« Reply #9 on: December 11, 2013, 06:49:51 am »
Lol thanks for credits :D

Otherwise it will be a very nice game, congrats :)



My Lua projects :

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: MiniGolf for the +C
« Reply #10 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.
« Last Edit: December 11, 2013, 08:53:39 am by Art_of_camelot »

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: MiniGolf for the +C
« Reply #11 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
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: MiniGolf for the +C
« Reply #12 on: December 11, 2013, 05:38:32 pm »
Looking good so far, i can see a lot coming out of this :P

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: MiniGolf for the +C
« Reply #13 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!

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: MiniGolf for the +C
« Reply #14 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?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."