Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bb010g

Pages: 1 ... 30 31 [32] 33 34
466
HP Calculators / Re: Is 1▶a instead of a := 1 bad practice? (HP Prime)
« on: January 08, 2014, 11:40:16 pm »
RPL feels reminiscent of lambda calc for me, which is nice. :) One thing I can't wait for on the Prime is RPN programming and the anonymous « PROG » (or now « prog » if you want, thank goodness) that I grew to love on the 28S and the simplicity of programs as evaluated vars. Once you get used to it, or use the « → [var...] » syntax (really like lambda there), it's awesome for development as it is really quick to prototype. (Related: is anyone else getting problems where sin(2π)=-2.0676...e-13? It's annoying. I don't want to have to do a CAS simplify for my trig functions.)

With the  ▶, I treat it like I have on the Nspire; I avoid it and use := because of code readability on long lines. The code's compiled in programs, so it is speed-wise the same either way you choose. I also second Han's comment on keystrokes, if you program in non-shouty mode it's just (-)(.) (which are (:) (=) in lowercase).

467
Humour and Jokes / Re: Apparently, 2014 started Monday
« on: December 31, 2013, 09:31:59 pm »
Yay! Party!
      |
     /*\
    |***|
    |***|
     \*/
          /-○\        (<  (<          -~~,
\o/   o   |▒▓|  ,'    /`99/`   ,; _ _~ |\|
 |   -|_  |▪▪|  >']]::(,.)    ;; ( )_, )
/ \  /|   \--/  `'///\\\      ;; /|  |.\

468
News / Re: Supersonic Ball 0.9.1 released!
« on: December 27, 2013, 05:20:15 pm »
It still shouldn't be happening, but the graphics debugging should be able to go along parallel with new features. It plays right now, so we're still publishing.

469
News / Re: Supersonic Ball 0.9.1 released!
« on: December 27, 2013, 05:17:58 pm »
I looked into that; the people at the LÖVE forums say that it runs faster (surprisingly) if you just redraw. The machine's OpenGL implementation takes care of double buffering (or at least it should).

470
News / Re: Supersonic Ball 0.9.1 released!
« on: December 27, 2013, 05:08:49 pm »
I saw a similar issue when I tested fullscreen on a Windows machine also; it seems to happen when there's a rapid velocity change. I don't get why, though.

471
News / Re: Supersonic Ball 0.9.1 released!
« 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.

472
There should be a INPUTSTRING to go along with INPUT. It just sets var to the string of what was input, so the user can do whatever they want without typing quotes.

473
Portal X / Re: Portal Prelude
« on: December 25, 2013, 06:24:07 pm »
You should sell them.

474
Miscellaneous / Re: Christmas 2013 - What did you get?
« on: December 25, 2013, 03:39:08 pm »
Well, there's always PrimeComm.

475
Miscellaneous / Re: Christmas 2013 - What did you get?
« on: December 25, 2013, 03:33:00 pm »
Hexatron: What do you mean about the Connectivity Software?

476
Miscellaneous / Re: Christmas 2013 - What did you get?
« on: December 25, 2013, 02:57:39 pm »
HP Prime! WOOT! (Does Juju's Supersonic Ball count, too?)

477
News / Re: Supersonic Ball 0.9.1 released!
« 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 ..)

478
News / Re: Supersonic Ball 0.9.1 released!
« 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 ..

479
News / Re: Supersonic Ball 0.9.1 released!
« on: December 25, 2013, 01:03:46 am »
Sorry, missed the GitHub the first time. *derp*

480
News / Re: Supersonic Ball 0.9.1 released!
« 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.

Pages: 1 ... 30 31 [32] 33 34