CodeWalrus

Development => Calculators => Calc Projects, Programming & Tutorials => Topic started by: PT_ on July 28, 2017, 09:16:45 PM

Title: CurveFever CE
Post by: PT_ on July 28, 2017, 09:16:45 PM
First of all, yay, 1337 posts at Cemetech  8) Now I'm part of the elite :D

Second, less important (jk), I want to post about a new game I'm making in C: CurveFever CE. This is a port of the rather popular online game CurveFever (http://curvefever.io), which I played a lot in the past, together with my brother. Just because of my 1337th post I wanted to release something new, or create a new game, or whatever, so this is the result:

(https://i.imgur.com/vxWHJTw.gif) (https://i.imgur.com/3mDg4tW.png)

Source:
https://github.com/PeterTillema/CurveFever-CE

Basically, you have to control a 'snake', by holding down a left and a right key (you should be able to set the keys in a menu) to move through the field, and trying to survive as long as possible. You can block others if you move well enough, and in the future I will add powerups as well, to slow down others, or move them the other way around... There will be a score board at the right, which needs to be added as well.

My intention was to make it for 4 players, all at one calc (oh boy, that's gonna be fun), but I'm not sure if that's feasible, especially with such small field. In the far future I might even add linking, that you can play 1v1 at 2 calculators. I've added in a timer to make sure you have a constant FPS, I set that now at 30 FPS which should be enough.

Anyway, enjoy the screenshots I will post in the future and if you have questions, suggestions, comments, hate comments or you just like it, feel free to post it! :)
Title: Re: CurveFever CE
Post by: Dream of Omnimaga on July 29, 2017, 12:34:28 AM
Looks nice. I wonder if single calc multiplayer is possible as well due to some hardware quirks I heard about in the past (with the keypad). Good luck!
Title: Re: CurveFever CE
Post by: PT_ on July 31, 2017, 06:02:31 PM
I've added in random gaps, and the first part of checking if you hit another line. For now, you can just pass through your own line, but not through anothers:

(https://i.imgur.com/K9TMAGH.gif)
Title: Re: CoveFefe CE
Post by: Dream of Omnimaga on July 31, 2017, 06:16:51 PM
You were trying to drawe Trump's hair instead of playing? O.O

Kidding aside, this looks good :)
Title: Re: CurveFever CE
Post by: kotu on July 31, 2017, 07:25:59 PM
Looks really good now
Title: Re: CurveFever CE
Post by: PT_ on August 07, 2017, 06:21:14 PM
Got some more things done; I've added powerups, for example, slow down the opponent(s), speed up, thicker line etc. They appear randomly and when you 'pick up' a powerup, it disappears. They don't work correctly, I gonna work on that. :)

(https://i.imgur.com/G6KPCL1.gif)
Title: Re: CurveFever CE
Post by: PT_ on August 09, 2017, 07:52:39 PM
Now pretty much every powerup is working, except the 'corners' one, where you turn with 90 degress if you press left or right. :)

(http://i.imgur.com/gqB2G0W.gif)

(#fail at the end :P)
Title: Re: CurveFever CE
Post by: Unicorn on August 09, 2017, 08:51:08 PM
Looks very fun! So will this be a two player game, one player, or have a real AI? (I didn't read the rest of the thread :P)