This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Xelostar's profile picture

Lightspeed Alpha v1.0

Started by Xelostar, 19 May 2017 - 10:43 AM
Xelostar #1
Posted 19 May 2017 - 12:43 PM
Hello everyone! Today I present to you: Lightspeed v1.0!

I've been working in this for quite some time now. It has:
- A world to explore
- Ships to fight with
- Enemies to fight against (three different tiers. Getting higher further away from spawn)
- Shops to upgrade ship
- (Mechanics for unlocking new ships)

I'd like to get some feedback! :D/>

Download:

pastebin run JjFsqCMD
(Big thanks to EldidiStroyrr for making an installer!)
http://www.mediafire..._Alpha_v1.0.zip

I made a video on it as well:
https://youtu.be/NLR0EUqrnAc
[media]http://youtu.be/NLR0EUqrnAc[/media]
Edited on 11 June 2017 - 05:17 PM
KingofGamesYami #2
Posted 19 May 2017 - 02:46 PM
I love it! I tried making FTL in CC but never finished. I will try the game as soon as I can, but I like what I saw in the video.
Xelostar #3
Posted 19 May 2017 - 05:34 PM
I love it! I tried making FTL in CC but never finished. I will try the game as soon as I can, but I like what I saw in the video.

Thanks! It hase like 5-10 minutes of play time right now. I'll tweak the drops of the enemies, add a boss, more systems (drones, but I will do them in my own way. So not like in FTL). Have fun testing! :D/>
KingofGamesYami #4
Posted 19 May 2017 - 08:47 PM
After playing it a bit, I think you definitely need better instructions. It's fairly easy to guess based on my FTL experience what things are, but you should explain the representations of things (w labels the weapons, c labels the control, etc.)

One part of the one of the enemy ships flickers when I play against it on a large monitor.

I also managed to get stuck in the shop screen by accidentally breaking and replacing a monitor block, then touching the screen.
Xelostar #5
Posted 19 May 2017 - 09:06 PM
After playing it a bit, I think you definitely need better instructions. It's fairly easy to guess based on my FTL experience what things are, but you should explain the representations of things (w labels the weapons, c labels the control, etc.)

One part of the one of the enemy ships flickers when I play against it on a large monitor.

I also managed to get stuck in the shop screen by accidentally breaking and replacing a monitor block, then touching the screen.

I know about the labeling. Do you want me to create an in-game tutorial?

On the monitor, what part flickers? The rooms, characters in the rooms, is there a line going through it or is it something else?

About the breaking of the monitor, I don't think I can do anything about that :P/>

PS: Embedding videos in the forum doesn't seem to work for me anymore. Any ideas why it won't work?
KingofGamesYami #6
Posted 19 May 2017 - 10:00 PM
In game, or on the forum post really.

The part where "miss" is displayed flickers. I have pictures but they are refusing to upload (using imgur).

You can detect terminal resizing events and redraw the screen to fit.

Embedding is super easy, just change the https to http.



[spoiler]http://www.youtube.com/watch?v=NLR0EUqrnAc[/spoiler]

Spoilerhttp://www.youtube.com/watch?v=NLR0EUqrnAc
Edited on 20 May 2017 - 12:30 AM
Xelostar #7
Posted 20 May 2017 - 01:42 PM
In game, or on the forum post really.

The part where "miss" is displayed flickers. I have pictures but they are refusing to upload (using imgur).

You can detect terminal resizing events and redraw the screen to fit.

Embedding is super easy, just change the https to http.



[spoiler]http://www.youtube.com/watch?v=NLR0EUqrnAc[/spoiler]

Spoilerhttp://www.youtube.c...h?v=NLR0EUqrnAc

I'll probably make a tutorial on this page.
I may have an idea why "miss" is flickering, but I don't have time to look into it right now.
Redrawing the screen seems quite a lot of work. You're just not supposed to expand the monitor size/make it smaller.
Embedding now works. The problem was that I copied the URL, while I should have used the share link.

Thanks a lot for your feedback, though!
Jummit #8
Posted 02 June 2017 - 03:00 PM
Will look at the source code to learn something for my game engine. Thanks a lot for the game! :)/>
Xelostar #9
Posted 03 June 2017 - 07:17 AM
Will look at the source code to learn something for my game engine. Thanks a lot for the game! :)/>

Have fun!
I hope you'll learn something. I haven't put any comments in however. I am however pretty proud of my use of functions. Good luck figureing out what everything is! :D/>
Jummit #10
Posted 03 June 2017 - 07:28 AM
Ok… :D/>
Xelostar #11
Posted 03 June 2017 - 10:57 PM
Ok… :D/>
Nice! Now I know it's not all in vain! At least someones programming skill with lua will improve. :D/>
LDDestroier #12
Posted 08 June 2017 - 06:47 PM
Hey, this looks great…! Can you make a simple installer, though? I want to put it on STD-GUI!
Xelostar #13
Posted 10 June 2017 - 12:02 AM
Hey, this looks great…! Can you make a simple installer, though? I want to put it on STD-GUI!

Thanks for the compliment! I'd like to make an installer, but there are more images than I can put online on pastebin with one free account. I'm not planning on making different accounts just for this game or paying for the full version. A friend of mine is making his own site on which I'll be able to but my files with API on pastebin to acces it. I'm just waiting for him to finish.

PS: What's STD-GUI? Can I get a link? I'm very curious! :)/>
Edited on 09 June 2017 - 10:02 PM
LDDestroier #14
Posted 10 June 2017 - 12:26 AM
Hey, this looks great…! Can you make a simple installer, though? I want to put it on STD-GUI!

Thanks for the compliment! I'd like to make an installer, but there are more images than I can put online on pastebin with one free account. I'm not planning on making different accounts just for this game or paying for the full version. A friend of mine is making his own site on which I'll be able to but my files with API on pastebin to acces it. I'm just waiting for him to finish.

PS: What's STD-GUI? Can I get a link? I'm very curious! :)/>

STD-GUI is my GUI half of STD, which is definitely short for Super Text Downloader. It's like an appstore, but it more just is a fancy way of downloading from URLs. I have an app list for it, but it's designed so that other lists can be used.

If you can't upload every single picture individually, then I could make an installer with my package maker, Progdor, to compress all of it into a single file.

Alternatively, you could make an installer that downloads from GitHub, if you put Lightspeed Alpha on there.
Xelostar #15
Posted 10 June 2017 - 08:24 PM
Hey, this looks great…! Can you make a simple installer, though? I want to put it on STD-GUI!
Thanks for the compliment! I'd like to make an installer, but there are more images than I can put online on pastebin with one free account. I'm not planning on making different accounts just for this game or paying for the full version. A friend of mine is making his own site on which I'll be able to but my files with API on pastebin to acces it. I'm just waiting for him to finish. PS: What's STD-GUI? Can I get a link? I'm very curious! :)/>/>
STD-GUI is my GUI half of STD, which is definitely short for Super Text Downloader. It's like an appstore, but it more just is a fancy way of downloading from URLs. I have an app list for it, but it's designed so that other lists can be used. If you can't upload every single picture individually, then I could make an installer with my package maker, Progdor, to compress all of it into a single file. Alternatively, you could make an installer that downloads from GitHub, if you put Lightspeed Alpha on there.

I have no idea how to work this out, I'm sorry. I give you permission to upload it on github as long as you credit me, because I don't know how your STD works and how I need to upload my files on github.

Happy programming!
LDDestroier #16
Posted 11 June 2017 - 01:21 AM
I've made a pastebin installer using my archiver, Progdor. However, it seems that running Lightspeed Alpha outside of the root directory ("/") makes it crash.
The error is:

Lightspeed:1285: Expected image, x, y

That sounds like a paintutils error. Could you maybe have it search for all its necessary files in its current directory?

Here's an installer command:

pastebin run JjFsqCMD
Xelostar #17
Posted 11 June 2017 - 10:40 AM
Thank you for creating an installer. I'll put it in the topic above with credits to you if you're okay with it.
As for the error, I've got no clue why it's not working. I'm using:

paintutils.loadImage("pShip.img")
To load the image. However this doesn't seem to work if the program isn't in the root folder, even though I didn't put a "/" in front. I may be able to use

shell.dir()
To make sure it's loading the files in the right path.

EDIT/UPDATE:

It doesn't seem to work. I still get the same error. Do you have any suggestions?

EDIT/UPDATE2:

I made a mistake. It's working now. I only needed to update the main file:
http://www.mediafire...d_MAIN_FILE.zip
:-)
Edited on 11 June 2017 - 09:02 AM
LDDestroier #18
Posted 11 June 2017 - 05:40 PM
Thank you for creating an installer. I'll put it in the topic above with credits to you if you're okay with it.

I'm perfectly okay with you using the installer. I just updated it with the new version.
Xelostar #19
Posted 11 June 2017 - 07:14 PM
Thank you for creating an installer. I'll put it in the topic above with credits to you if you're okay with it.

I'm perfectly okay with you using the installer. I just updated it with the new version.

Thanks a lot! You're amazing! :D/>