Log In  

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.

Cart #wokusimeja-8 | 2022-08-08 | Code ▽ | Embed ▽ | No License
5

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.

P#114840 2022-07-26 10:19 ( Edited 2022-08-08 20:13)

2

really fun

P#114847 2022-07-26 16:03
1

Updated with sound

P#114862 2022-07-26 20:24
2

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:

Cart #meyadaruyo-0 | 2022-07-27 | Code ▽ | Embed ▽ | No License
2

This is the sound I was trying to get though:

https://youtu.be/1kyiQzc4134?t=42

P#114864 2022-07-26 21:00 ( Edited 2022-07-27 23:03)
 
P#114867 [hidden by admin]

@dw817 your sound is very close to the original.

Thanks for your return, I am working on the single player mode.

Should be playable tomorrow.

P#115008 2022-07-30 11:47 ( Edited 2022-07-30 11:53)

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.

P#115015 2022-07-30 16:10 ( Edited 2022-07-30 16:16)
4

Here now is that code. Use as you see fit, @sushikoba. :)

Cart #bukinemufo-0 | 2022-07-30 | Code ▽ | Embed ▽ | No License
4

P#115022 2022-07-30 20:08 ( Edited 2022-07-30 20:12)

Thanks for your help, yes you can shoot on walls in two players mode : if you exit this way you are teleported on the other side, like in pac-man.

Pico-8 is a great tool, and has a nice community. Sorry for my english, I am french.

P#115028 2022-07-30 21:42

Updated with 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.

P#115067 2022-07-31 15:51

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.

P#115069 2022-07-31 17:49 ( Edited 2022-07-31 17:57)

Yes there is a lot of things to add.

I still work on it, I try to make a maze editor so the player could make is own levels. I have many things to learn.
Thanks again for you returns.

P#115073 2022-07-31 19:02

Updated with sfx from @dw817, fixed some bugs.

P#115115 2022-08-01 15:48

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.

P#115123 2022-08-01 18:15

In two players mode, the yellow dots give a shot.

I am working on the second level.

P#115134 2022-08-01 21:52

Updated with a scoring system.

I am working on the second level, trying to make a level editor.

all returns are wellcome, I learn pico and the LUA, I need help.

P#115160 2022-08-02 15:52

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 10:13:12 | 0.033s | Q:42