Author Topic: Triathlon  (Read 4945 times)

0 Members and 1 Guest are viewing this topic.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Triathlon
« on: April 30, 2011, 09:49:30 pm »
Basically, I'm working on a game where you do one thing, after you lose you smoothly transition to a different game.  So far, its more of a Biathlon though.  XD  Press up and arrow keys to jump, if you fall, it becomes avalanche.  ;)  I'm going to add a falldown game or helicopter game before it so after you crash, you fall into the avalanche.

I plan on adding different speeds soon.  (Yes, this has been slowed down to be playable.  ;))

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Triathlon
« Reply #1 on: April 30, 2011, 09:56:56 pm »
Wow. Looks nice  :)
EDIT: What will be the third one?
« Last Edit: April 30, 2011, 09:57:18 pm by yeongJIN_COOL »
Sig wipe!

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Triathlon
« Reply #2 on: April 30, 2011, 10:07:02 pm »
Actually, I'm probably stick a helicopter game in the begininning with the walls caving in to explain the avalanche.

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: Triathlon
« Reply #3 on: May 02, 2011, 09:51:31 pm »
Wow!  Looks nice.  :)

EDIT: O.O Screen looping too?
ld a, 0
ld a, a

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Triathlon
« Reply #4 on: May 02, 2011, 09:58:45 pm »
thanks, actually looping was more the easy part.  Physics killed me.  :P

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Triathlon
« Reply #5 on: May 02, 2011, 11:43:22 pm »
i really like the concept =D
an easy way to make it look more "professional" would be to change the icicle sprites and make them scroll in smoothly from the top rather than just appearing.
the first could be done fairly easily by drawing the detailed sprite to the front buffer and a filled in sprite to the back buffer for collision detection, seeing as it looks like you are testing if the ball is on an icicle through pixel testing immediately under it. it would also be fairly simple to use a loop to test pixel by pixel down from the bottom of your ball to the distance gravity indicates that it should fall that frame and stop if it encounters an icicle along the way, meaning you wouldn't need the backbuffer icicles.
the second could be done by keeping all the x positions of your tiles in a list, running through this list, and drawing an icicle at each x position listed with it's y position being the tiles number in the list minus seven. then each frame you would only have to clrdraw, shift the entries in the list down one spot, and store rand^89 to the first spot in the list. it looks like you might even be doing this already, which means all you'd have to do is shift add in the -7 shift  :hyper:
lastly, a smooth looping of the ball from one side to the other could be accomplished by drawing two sprites when part of the ball is off the screen on either side.

i always rant about things ::) nicely done, yunhua!

Offline collechess

  • LV3 Member (Next: 100)
  • ***
  • Posts: 93
  • Rating: +22/-2
    • View Profile
Re: Triathlon
« Reply #6 on: May 04, 2011, 07:29:51 pm »
This looks like a really fun game.  Especially the new concept.
 :thumbsup:

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Triathlon
« Reply #7 on: May 09, 2011, 07:38:39 am »
May I know what language you're using? This reminds me of Simul, good job so far :D

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Triathlon
« Reply #8 on: May 09, 2011, 08:41:15 pm »
Axe, for games, I'm all Axe these days.  :D

Which reminds me, I need to stop messing with my CX and work on this more.  :D

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Triathlon
« Reply #9 on: May 09, 2011, 10:01:09 pm »
This looks awesome.  I love the concept. ;D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Triathlon
« Reply #10 on: June 06, 2011, 05:34:22 pm »
Hmm I kinda like that concept of games changing. It reminds me of Deep's contest entry last year.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Triathlon
« Reply #11 on: June 06, 2011, 07:53:03 pm »
Might it be possible, after you fall to the ground, to jump back on top of the falling spike things?  Or is the game change one-way...
Vy'o'us pleorsdti thl'e gjaemue