Author Topic: Supersonic Ball 0.9.1 released!  (Read 10425 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Supersonic Ball 0.9.1 released!
« on: December 24, 2013, 06:36:28 pm »
And on the twelveth day of Christmas my favorite website gave to me... The Christmas Update of Supersonic Ball PC the fabulous port of the game of the same name for TI-83+ by DJ Omnimaga!



What's new?

  • Updated graphics
  • Added title screen
  • Added HUD
  • Fixed controls
  • Music pauses when the game is paused
  • Added online highscores
  • Game pauses when window loses focus
  • Now compatible with LÖVE 0.9.0

Get it while it's hot! (Windows binaries coming soon, for now download LÖVE 0.8.0 or 0.9.0 and the .love source package.)

Download
Official thread

EDIT: Until the next version release, the game does not quite work unless either you download the latest version on Github, unzip it and drag the folder on love.exe or you download this file in the same folder you put the .love in.
« Last Edit: December 25, 2013, 09:30:58 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: Supersonic Ball 0.9.1 released!
« Reply #1 on: December 24, 2013, 06:43:49 pm »
I got this (running Arch):
Code: [Select]
[brayden@archbook downloads]$ love supersonicball-0.9.1.love
Error: main.lua:3: attempt to call a nil value
stack traceback:
main.lua:3: in function 'load'
[string "boot.lua"]:394: in function <[string "boot.lua"]:387>
[C]: in function 'xpcall'
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Supersonic Ball 0.9.1 released!
« Reply #2 on: December 24, 2013, 06:53:02 pm »
Errr whoops. I forgot to account for case sensitivity on Linux. I'll fix it.

EDIT: Fixed, redownload it. Also woo 5000th post :3
« Last Edit: December 24, 2013, 06:59:35 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Supersonic Ball 0.9.1 released!
« Reply #3 on: December 24, 2013, 06:54:08 pm »
hehe, lol, i should try it out some time :P

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: Supersonic Ball 0.9.1 released!
« Reply #4 on: December 25, 2013, 12:28:59 am »
Here's a patch for a vector ball:
Code: [Select]
diff -r supersonicball-0.9.1/main.lua supersonicball-0.9.1_custom/main.lua
33c33,53
<
---
>
> function logistic(x)
> return 1/(1+math.exp(-x))
> end
>
> ballcanvas = love.graphics.newCanvas(32,32)
> ballcanvas:renderTo(
> function()
> local r, g, b, a = love.graphics.getColor()
> for i=0,16,.5 do
> local ilog = logistic((i-2)*1.5)
> love.graphics.setColor(ilog*255,152+ilog*103,ilog*255)
> love.graphics.circle("fill",16,16,16/(i+1),100)
> end
> love.graphics.setColor(0,0,0)
> love.graphics.setLineWidth(1)
> love.graphics.line(2,16,30,16)
> love.graphics.line(16,2,16,30)
> love.graphics.setColor(r,g,b,a)
> end)
>
330c350,351
< love.graphics.drawq(sprites, geometry, ball.body:getX(), ball.body:getY(), ball.body:getAngle(), 1, 1, ball.shape:getRadius(), ball.shape:getRadius())
---
> -- love.graphics.drawq(sprites, geometry, ball.body:getX(), ball.body:getY(), ball.body:getAngle(), 1, 1, ball.shape:getRadius(), ball.shape:getRadius())
> love.graphics.draw(ballcanvas, ball.body:getX(), ball.body:getY(), ball.body:getAngle(), 1, 1, ball.shape:getRadius(), ball.shape:getRadius())
Change it manually or use patch on the unzipped supersonicball-0.9.1.love copied to supersonicball-0.9.1_custom.
« Last Edit: December 25, 2013, 12:43:11 am by bb010g »
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Supersonic Ball 0.9.1 released!
« Reply #5 on: December 25, 2013, 01:01:55 am »
Thanks for the patch! Fun fact, if you use Git, you can always fork this repository and upload the changes on Github.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: Supersonic Ball 0.9.1 released!
« Reply #6 on: December 25, 2013, 01:03:46 am »
Sorry, missed the GitHub the first time. *derp*
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Supersonic Ball 0.9.1 released!
« Reply #7 on: December 25, 2013, 01:06:37 am »
Don't worry, it wasn't obvious either.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Supersonic Ball 0.9.1 released!
« Reply #8 on: December 25, 2013, 04:26:20 am »
it was for me because i am pretty sure i got a email notification :P

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Supersonic Ball 0.9.1 released!
« Reply #9 on: December 25, 2013, 09:25:38 am »
Problemo: Download link leads to the demo you sent me on October 5th ???. The Title screen is missing and jump key still makes you float (unless that part hasn't changed since October?). I tried both Windows - x86 and Windows - x64 links on the page where the download link in the first post lead and the same thing happens...




EDIT: Actually nevermind, I just realized the Windows binaries weren't ready yet and now tried the source. However, I now get the same error as bb010g from the http://files.julosoft.net/supersonicball-0.9.1.love file and I'm on 64-bit Windows 7.
« Last Edit: December 25, 2013, 09:37:48 am by DJ Omnimaga »

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: Supersonic Ball 0.9.1 released!
« Reply #10 on: December 25, 2013, 12:01:41 pm »
DJ: Try using 7-zip or something on the .love file to extract it, then open a command prompt and cd to that directory. Then run love ..
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: Supersonic Ball 0.9.1 released!
« Reply #11 on: December 25, 2013, 02:07:35 pm »
Did some Christmas bugfixes:
https://github.com/juju2143/supersonicball/pull/1/

To test, just download the zip from bb010g/supersonicball and run love on it from a command prompt. (If that doesn't work, try unzipping it, navigating into the directory, and running love ..)
« Last Edit: December 25, 2013, 02:08:45 pm by bb010g »
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Supersonic Ball 0.9.1 released!
« Reply #12 on: December 25, 2013, 04:19:10 pm »
Well, I remembered loadfile shouldn't be used and love.filesystem.load should be used instead. Latest commit from my repo should fix it. I'll check out the bugfixes soon tonight.

https://github.com/juju2143/supersonicball (you can download a .zip here, unzip it and drag the folder on your love.exe.)

EDIT: You had to put json.lua besides the .love package and not inside. Now it can be left outside.
« Last Edit: December 25, 2013, 06:02:11 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Supersonic Ball 0.9.1 released!
« Reply #13 on: December 27, 2013, 12:39:37 am »
Btw I got it to work now since I use the Github version instead. I like the changes made in recent days btw. However, only a few suggestions:

-Make the balls on the title screen spin slower
-In many occasions, the background seems to get separated by black horizontal lines. It can get a bit annoying at times. Maybe some double-buffering would be in order?
-For the final version, I really need to post the right tilesets that should be used for each level, since many levels past level 6 still have the wrong floors or background patterns (for example, in level 6, there should be no black frame for the backdrop nor the floor. It just flashes between pink and green. Same for the background in the level with computer screens.)
-Also, on the highscores list, the Space key does nothing. It says Press Space but we have to press Esc.
-Make Shift and space so that they act like the jump key too, rather than just the up arrow. Shift would be handy for WabbitEmu users who play the original there.

EDIT: The animated frames of how it should look like for each level, although for level 14 it should change frame once per second and for level 16 it should be around 15-30 FPS.



EDIT 2: Regarding the 2nd issue, this is what I mean:
« Last Edit: December 27, 2013, 12:27:12 pm by DJ Omnimaga »

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: Supersonic Ball 0.9.1 released!
« Reply #14 on: December 27, 2013, 02:06:51 pm »
I just pushed the last commit for Supersonic Ball's Second Christmas Release!
It fixes a bunch of stuff and prepares for new features and stability.
There may be graphical issues; if you get them, please post about them. Juju and I would love to fix them, but we need data to know why they happen. (Thanks DJ!)
It should be available soon at Juju's site, but you can test it now by downloading this, then extract the zip into the current directory (NOT a supersonic-ball-master subdirectory), and either:
Drag it onto your love.exe (if you didn't install or you found it after installation)
OR
<CTRL>A inside the supersonic-ball master folder and right click. Select "Send To" -> "Compressed (zipped) folder". Move the zip (whatever its name is) to the parent folder and run these commands (assuming you downloaded it to the normal Downloads folder) (to access the command prompt, type <WINDOWS>R cmd <ENTER>: cd Downloads, move [archive name here].zip supersonic-ball.love, close command prompt, and then just double click on it from Explorer.
LÖVE 0.9.0 IS REQUIRED NOW.
« Last Edit: December 27, 2013, 02:45:54 pm by bb010g »
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE