Starbreak

Show off your games, demos and other (playable) creations.
User avatar
daneos
Prole
Posts: 7
Joined: Sun Jul 13, 2014 1:15 am

Starbreak

Post by daneos »

Hello,
I'm developing a simple game: Starbreak.
You are a photon, and have to escape a star, avoiding collisions with plasma particles.
Every collision changes your direction, reduces energy and changes color.
You can also collect tachions, time slowing bonuses.

Here are screenshots:
Image
And here we can see a tachion (this yellow-green particle, in game they look much better)
Image

Although most features are not implemeted, I decided to release first public alpha.
I think about posting this game to Steam Greenlight when more "complete".
I'd like to know your opinions and suggestions about it.

Ad-supported download link: v.0.1_public_alpha
Please tell me what you think and have fun!

==============================================================
EDIT:
New version available!
Now it has highscores system:
Image
Highscores are sorted firstly by color, that corresponds energy left when escaped the star,
then sorted by time (years) it took. So you can be fast, but if you lost much energy you will be low in the table.

I've also added some introduction messages to explain what the game is about, one on the very beginning:
Image
and one when the first tachion is seen:
Image

Once we get here, I have a thing to ask you.
I heard that Lua have some problems with UTF-8, specifically string lengths.
The name in highscores is limited to 16 characters. I've done just

Code: Select all

if #self.playername < 16 then ...
and it works under Linux,
but I have no computer with Windows or OS X. So if you have Windows or Mac please tell me if it works.
Thanks in advance and as always have fun!

Ad-supported download link: v.0.1.3_alpha

==============================================================
EDIT:
Not much changed, for last week I haven't got a computer.
Firstly, you can disable debug mode in options to see the game without black frames and circles.
Image

Secondly, tachions are at last moving! (well, I can't show that on a screenshot :))
And last, I've made win animation. As for now it's really ugly, but I hope I'll do something with it soon.
Image
Image
Almost forgot, at highscores screen there are now averages (from all scores, not only these in highscores)

Ad-supported download link: v.0.1.4_alpha
Have fun!
Last edited by daneos on Fri Aug 08, 2014 9:15 pm, edited 3 times in total.
Form
Prole
Posts: 3
Joined: Wed Jan 29, 2014 12:16 am

Re: Starbreak

Post by Form »

It looks pretty neat from those screenshots; the only complaint I would have would be the UI icons, they need some anti-aliasing. You can place the UI icons into a canvas, which will just act as a regular drawable, and then sample them at a higher resolution with FSAA; this method will give you a much smoother looking UI:

Code: Select all

local UI = love.graphics.newCanvas(*width*, *height*, "normal", *however many samples it takes to get rid of all the jaggies*)

UI:renderTo(function() UI:clear() *UI icon draw calls here* end)

love.graphics.draw(UI, 0, 0)
User avatar
baconhawka7x
Party member
Posts: 491
Joined: Mon Nov 21, 2011 7:05 am
Location: Oregon, USA
Contact:

Re: Starbreak

Post by baconhawka7x »

I like it a lot! Good feeling gameplay and super awesome art. Nice job.
User avatar
daneos
Prole
Posts: 7
Joined: Sun Jul 13, 2014 1:15 am

Re: Starbreak

Post by daneos »

Form wrote:the only complaint I would have would be the UI icons
I didn't really thought of icons and stuff, these are just random pictures from the internet just to show concept
Even the images have different sizes and are scaled to look the same :death:
Your method looks pretty interesting and I'll play around it and see what will happen. Thanks.
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: Starbreak

Post by Positive07 »

When working with UI icons I use fonts that can be scaled without losing detail. Its the best method to have vectorial graphics in LÖVE
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
User avatar
daneos
Prole
Posts: 7
Joined: Sun Jul 13, 2014 1:15 am

Re: Starbreak

Post by daneos »

Positive07 wrote:When working with UI icons I use fonts
That's a really nice idea, especially considering that Form's code eats all RAM available :?
It's not a big deal on Linux, but try to run this on Windows :death:
User avatar
Ranguna259
Party member
Posts: 911
Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you

Re: Starbreak

Post by Ranguna259 »

rr.PNG
rr.PNG (18.98 KiB) Viewed 7586 times
Never experinced this error before with love applications.
LoveDebug- A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping :D

Check out my twitter.
User avatar
daneos
Prole
Posts: 7
Joined: Sun Jul 13, 2014 1:15 am

Re: Starbreak

Post by daneos »

Ranguna259 wrote:Never experinced this error before with love applications.
Hmm.. that's weird, I see this error message for the first time, too.
I'd say that your graphics card doesn't support shaders.
Can you see the first screen (with Simple Games Factory text) ?
It should dump some debug data like OS, graphics driver, etc. in the terminal, could you paste it here?
Line 11 in gamestates/menu.lua is just a generic love.graphics.newShader()
And last, what version of LÖVE do you have? I have only tested it under 0.9.0 and 0.9.1, works fine with both.

=================================================
EDIT:
What I found out is that this issue is usually driver related. Try to update your video driver or if using nouveau or something similar, try to install proprietary drivers. I know that nouveau drivers have many issues, I had 10 FPS in this game before installing Nvidia drivers.
I strongly encourage you to run the game from the command line and post the output here.
User avatar
Ranguna259
Party member
Posts: 911
Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you

Re: Starbreak

Post by Ranguna259 »

I'm using love 0.9.1 and my drivers are up to date (340.43, official drivers) on a GTX 650, it supports shaders.
The game crashes right after I open it, I don't see the first screen.
Here's the console output:
qwe.PNG
qwe.PNG (46.72 KiB) Viewed 7423 times
LoveDebug- A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping :D

Check out my twitter.
User avatar
daneos
Prole
Posts: 7
Joined: Sun Jul 13, 2014 1:15 am

Re: Starbreak

Post by daneos »

Ranguna259 wrote:Here's the console output:
I see it crashes before any debug info is displayed...
I don't really know what's happening, according to nvidia's developer forum this issue should be fixed in 326.41 driver.
As for now, I can only ask you to run this quick test
shaderhotfix.love
(8.1 KiB) Downloaded 178 times
and post the console output. Maybe it will show something interesting...
If this wouldn't work, could you test on 331.79 driver? This is version I use and it compiles all shaders with no warnings or errors.

================================================================
EDIT:
Just installed 340.24 driver (newest available for Linux) and it still works.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest