Jump to content




[Game] Lasers

game

26 replies to this topic

#1 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 19 December 2013 - 04:52 PM

Lasers


Screenshots, since I know you love them :3

Downloads


How to play

This game is simple, You avoid the lasers as long as you can to get the highest score as possible, And you can pick up powerups that will help you for 5 seconds, There are 3 different types of powerups, one that slows down the laser for 5 seconds, one that freezes the lasers for 5 seconds and finally the last one that let's you teleport anywhere by clicking the screen. You can control the character with the arrow keys and bring up the menu with the left CTRL.



Changelog

1.0: First release
1.1: Bug fixes
1.2: Various bug fixes

Planned Features

*Autoupdater[]
*New GUI[]
*Online multiplayer + Reworked rednet multiplayer[]

Please suggest a feature that you'd like to be added.




Feel free to give feedback even if it's negative or positive just as it is relative to the topic ;)

Also, Those who want can translate into their language and I'll add that into an update.

- TheOddByte


Edited by TheOddByte, 29 June 2014 - 04:16 PM.


#2 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 19 December 2013 - 04:58 PM

I can't really try this out at the moment as I only have access to an iPad, could you briefly explain the gameplay?

#3 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 19 December 2013 - 05:06 PM

Well it is very simple. You avoid lasers and see how long you can survive. But the lasers go faster and faster so you kinda have to depend on powerups in the end.

#4 unobtanium

  • Members
  • 505 posts

Posted 19 December 2013 - 06:23 PM

Nice game design :D
Reminds me a lot of "The Worlds Hardest Game" just with multiplayer :)

#5 awsmazinggenius

  • Members
  • 930 posts
  • LocationCanada

Posted 19 December 2013 - 08:43 PM

Awesome game. Are the colors at the bottom changeable, to make "texture packs" of sorts?

#6 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 20 December 2013 - 08:49 AM

Thanks for the feedback! :D
Can you specify a little more what colors on the bottom? Do you mean in-game? Anyway I will add more customization in the settings menu so you can change the menu colors as well ;)

#7 awsmazinggenius

  • Members
  • 930 posts
  • LocationCanada

Posted 20 December 2013 - 10:08 AM

 Hellkid98, on 20 December 2013 - 08:49 AM, said:

Thanks for the feedback! :D
Can you specify a little more what colors on the bottom? Do you mean in-game? Anyway I will add more customization in the settings menu so you can change the menu colors as well ;)
local theme = {
    bColor = colors.white,
	    defaultTextCol = colors.red,
	    activeBackCol = colors.red,
	    activeTextCol = colors.white,
	    headerBackCol = colors.red,
	    headerTextCol = colors.white,
}
Line 1444 through line 1451 of the program.

#8 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 20 December 2013 - 10:13 AM

 awsmazinggenius, on 20 December 2013 - 10:08 AM, said:

 Hellkid98, on 20 December 2013 - 08:49 AM, said:

Thanks for the feedback! :D
Can you specify a little more what colors on the bottom? Do you mean in-game? Anyway I will add more customization in the settings menu so you can change the menu colors as well ;)
local theme = {
	bColor = colors.white,
		defaultTextCol = colors.red,
		activeBackCol = colors.red,
		activeTextCol = colors.white,
		headerBackCol = colors.red,
		headerTextCol = colors.white,
}
Line 1444 through line 1451 of the program.
Well yeah ofcourse you can change them, I'll make a more efficient way so you don't have to change them in the code, So you just can load them from a file.
The file will have to look something like this
bColor = white
defaultTextCol = red
activeBackCol = red
activeTextCol = white
headerBackCol = red
headerTextCol = white
Since I already have a function in the GUI API that is capable to load themes from files without 'colors.' ;)

#9 awsmazinggenius

  • Members
  • 930 posts
  • LocationCanada

Posted 23 December 2013 - 10:01 AM

 Hellkid98, on 20 December 2013 - 10:13 AM, said:

 awsmazinggenius, on 20 December 2013 - 10:08 AM, said:

 Hellkid98, on 20 December 2013 - 08:49 AM, said:

Thanks for the feedback! :D
Can you specify a little more what colors on the bottom? Do you mean in-game? Anyway I will add more customization in the settings menu so you can change the menu colors as well ;)
local theme = {
	bColor = colors.white,
		defaultTextCol = colors.red,
		activeBackCol = colors.red,
		activeTextCol = colors.white,
		headerBackCol = colors.red,
		headerTextCol = colors.white,
}
Line 1444 through line 1451 of the program.
Well yeah ofcourse you can change them, I'll make a more efficient way so you don't have to change them in the code, So you just can load them from a file.
The file will have to look something like this
bColor = white
defaultTextCol = red
activeBackCol = red
activeTextCol = white
headerBackCol = red
headerTextCol = white
Since I already have a function in the GUI API that is capable to load themes from files without 'colors.' ;)

Thanks! When the OS is complete, can I modify this and put it in awsmazingOS? I would give you credit, and the modification would be so that the app loads the user's preferred colors in their user preferences panel.

#10 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 23 December 2013 - 10:45 AM

Sure, Go ahead! ;)
I've updated it so now you can change themes in the menu and change the nickname as well! :D

#11 mibac138

  • Members
  • 132 posts
  • LocationPoland

Posted 28 December 2013 - 10:26 AM

I've got error on line 99: attempt to index [? (a nil value)]

#12 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 28 December 2013 - 11:01 AM

 mibac138, on 28 December 2013 - 10:26 AM, said:

I've got error on line 99: attempt to index [? (a nil value)]
Hmm.. Then there is a problem with your installation I think.. Try deleting '.Lasers_Data' and then run the executable again and let it install.
Do you have HTTP enabled? It needs to be enabled in order to install properly.

#13 mibac138

  • Members
  • 132 posts
  • LocationPoland

Posted 28 December 2013 - 12:13 PM

I've redownloaded everything and i've got this error: Lasers:102: attempt to index ? (a nil value)


@EDIT the same error

Edited by mibac138, 28 December 2013 - 12:14 PM.


#14 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 28 December 2013 - 01:26 PM

 mibac138, on 28 December 2013 - 12:13 PM, said:

I've redownloaded everything and i've got this error: Lasers:102: attempt to index ? (a nil value)


@EDIT the same error
Derp.. I see in the code it's trying to use the API 'gui' before it's loaded..
Try deleting and downloading now and it should work ;)

#15 mibac138

  • Members
  • 132 posts
  • LocationPoland

Posted 28 December 2013 - 01:49 PM

gui:424: File didn't exist:
.Lasers_Data/Themes/Lasers

#16 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 28 December 2013 - 02:07 PM

Well.. The problem there was that it tries to load the theme before it's created xD
Try updating now and it shouldn't error..

#17 mibac138

  • Members
  • 132 posts
  • LocationPoland

Posted 28 December 2013 - 03:55 PM

Multiplayer isnt working: Lasers:1393: attempt to compare nil with number

#18 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 28 December 2013 - 09:00 PM

Why is everything erroring since the last update?!? D:
Hmm.. It seems I forgot to assign the players starting positions.. Well it's fixed now ;) ( I've tested it myself now )

Edited by Hellkid98, 28 December 2013 - 09:01 PM.


#19 mibac138

  • Members
  • 132 posts
  • LocationPoland

Posted 29 December 2013 - 10:03 AM

Another bug - when you hit CTRL, lasers are still going. Idk is it a bug, but probobly yes, i thinked it's pause (CTRL), but it isnt ...

-----

And another one, when you are in Settings -> Change Theme and you will hit "a" the game turns off.

-----

And some propositions:

1. When you hit backspace then it will work as "< Back" button.
2. When you are in Pause menu then, if you are using arrow keys then, if you are in first option and you will hit arrow up then it will be in the last option, and vice-versa.
3. When you are in Pause menu then the counter to start the game also, stops.

For now, everything ;)

@Edit lol i think'd i posted 3 posts but ok ... separated with "-----".

Edited by mibac138, 29 December 2013 - 10:05 AM.


#20 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 30 December 2013 - 05:19 PM

The first one isn't a bug, It's meant to be that way.
The second one was a small miss that's fixed now.

1: Sure I think I can work that out ;)
2: Well I figured that wouldn't be needed since you can use the mouse and I thought it would be nicer without it :P
3: This is pretty much as the so called "bug" but much easier to add, The reason this is hard to make is because the game uses alot of timers :P( I've added this now )





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users