Hello, here is my first game.
It is an adaptation of a scene in the film TRON with the lightcycles.
Hit C key to begin game
Player one directions : LEFTT UP RIGHT DOWN
Player two directions : E S F D
Yellow bonuses give lightcycles a laser shot when touched.
Player one shoots with X button, player two with A
The laser breaks everything and creates a shortcut when hitting a wall.
In one player mode You have to collect all yellow squares to open the exit.
You have three lives.
You can have a shot in the middle area.
This time shots doesn't break exit walls.
Updated 07-27-22
Just going to state the obvious, @sushikoba. I want a 1-player mode. And if wishes were horses this should be something innate to a game programming language so you don't have to code it yourself.
Your game has a good start and nice opening logo. I like the sound. Gold star work.
You got me curious though ...
Here, try this, now with deeper tone:
This is the sound I was trying to get though:
Hi @sushikoba.
You are more than welcome to use that sound for yourself. Do you know how to copy sound effects from one code to another ?
And what you posted above is for the light-cycles ? It looks awesome !
I also think you will be the first person to write a "Light-Cycle" game that starts with custom walls.
Here is "TRON" from the Arcade, their version of "Light-Cycle."
In the movie if an enemy crashed into one of the edges of the playfield, then the player could dash through that cracked opening and ESCAPE.
If you have the code space, you might make that the goal in an advanced level. Not just to run your enemy into the wall but to ESCAPE the maze.
. . .
Today I'm also going to write some code and post it HERE that shows 1-player mode versus a smart computer player. I'll try to detail how it works with many comments so you can use it in your own code if you like.
Ah ! Defeated the angry red ghost, @sushikoba. Not easy ! I had to try that a few times.
As there is only one level to the game for 1-player game you could make multiple levels by resetting the level and increasing the framerate where it's a little faster each time. Maintain score and when all lives are gone, show both score and level player managed to make it to.
Yep ! Looking mighty good, @sushikoba. In the 2-player mode, what do the yellow dots do ?
Oh, and you might set it so the player cannot reverse on themselves. That is if they hit a direction that is exactly the opposite direction they are traveling, it is ignored instead of registering a hit.
[Please log in to post a comment]