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 - Jonius7

Pages: 1 ... 14 15 [16] 17 18 ... 129
226
Miscellaneous / Re: Do you read ebooks on your calc?
« on: October 16, 2012, 09:46:47 pm »
It's something I've considered, but I've never tried before on any of my Calcs. Could be interesting, especially on a TI-nspire. I used to read ebook txts on my MP4 before I put solder over a part that made it incapable of outputting sound (I could still read ebooks on it I guess).

227
TI-Nspire / Re: TI-nspire Hold 'em - Basic and Lua
« on: October 16, 2012, 09:41:34 pm »
Okay, I changed it a little to get it to work, but a big problem was that you were trying to compare a number and a string.
However, I noticed that if you multiply the string of a number by one, it makes it that number.
Also, I moved the congrats and correcting strings into the function on.paint(gc) section
My changes are probably w=quite ugly and inefficient, but it gets all the way to the “lets get rolling” string

Code: [Select]
--[[TI-nspire Hold 'em - A Lua Remake
History:
v0.01 Created 2012/09/23 really started working 2012/10/07
Buggy can hardly do anything, currently can change Chips, Big Blind, Small Blind]]--

function init_variables()
  cc=0
  bb=0
  sb=0
  gopt=1
  scrn=1
  message=""
end

init_variables()
 
 function on.paint(gc)
    gc:setFont("sansserif","r",10)
    gc:setColorRGB(0,0,0)
  -- gc:setPen("thin","smooth")  Is this necessary?
  if scrn==1 then
   gc:drawString("[c] Chips        " .. cc,10,10,"top")
   gc:drawString("[b] Big Blind    " .. bb,10,25,"top")
   gc:drawString("[s] Small Blind  " .. sb,10,40,"top")
   gc:drawRect(10,70,20,20)
   if message=="wrong" then
       gc:drawString("Check these conditions",10,70,"top")
    gc:drawString("Chips between 100 and 10 million",10,85,"top")
    gc:drawString("Big blind between 0.001 and 0.1 Chips",10,100,"top")
    gc:drawString("Small blind between 0.01 and 0.5 Big Blind",10,115,"top")
    end
  elseif scrn==3 then
   gc:drawString("Right let's get rolling!",10,10,"top")
  end
  if scrn==2 then
   if message=="congrats" then
    gc:drawString("Congrats! Settings set up correctly",10,70,"top")
   end
   end
 end

function on.charIn(ch)
  if ch >= "0" and ch <= "9" then    -- checking for digit inputs
   if scrn==1 then
    if gopt==1 then
     if string.len(cc) <= 7 then   -- limit string length
      cc = cc .. ch            -- concatenate
      platform.window:invalidate()   -- screen refresh
     end
    elseif gopt==2 then
     if string.len(bb) <= 6 then -- and sb <= 0.1bb then   -- limit string length and bb to <= 0.1cc (now moved)
      bb = bb .. ch            -- concatenate
      platform.window:invalidate()   -- screen refresh
     end
    elseif gopt==3 then
     if string.len(sb) <= 6 then -- and sb <= 0.1bb then   -- limit string length and sb to <= 0.1bb (now moved)
      sb = sb .. ch            -- concatenate
      platform.window:invalidate()   -- screen refresh
     end
    end
   end
  end
--Game settings keys
  if scrn==1 then
   if ch=="c" then     --Ok there must be a way to optimise this block
    gopt = 1   
  elseif ch=="b" then
    gopt = 2
   elseif ch=="s" then
    gopt = 3
   end
   platform.window:invalidate()
  end
end

function on.enterKey()
cc=1*cc
bb=1*bb
sb=1*sb
  if scrn==2 then
   scrn=3
  end
  if scrn==1 and cc >= 100 and cc <= 10000000 and bb >= 0.001*cc and bb <= 0.1*cc and sb >= 0.01*bb and sb <= 0.5*bb then
    message="congrats"
    scrn=2
    gopt=0
   else
    message="wrong"
   end
   
end

function on.backspaceKey()
  if gopt==1 then     --Ok there must be a way to optimise this block. Again.
   cc = string.usub(cc,0,-2)  -- deleting last char
    elseif gopt==2 then
   bb = string.usub(bb,0,-2)  -- deleting last char
 elseif gopt==3 then
   sb = string.usub(sb,0,-2)  -- deleting last char
 end
    platform.window:invalidate() 
end

platform.window:invalidate()

OMG Thank you. I didn't realise before all the work you did into fixing it (how do you do it so quickly and efficiently?) but yes I detected the problem comparing the number with the string but I didn't know how to fix that.
I'll probably remove the congrats setup messages as I move on. That was just a visual indication to test if it worked (which it obviously didn't). Also will change the c b s keys to just moving up and down with arrow keys or something.

My Klondike game is one of the first things I made, my code isn't that good. But if it helps you, go ahead and dig through it :)


That would help, thanks.

228
Music Showcase / Re: CELINE DION! (And other random remixes)
« on: October 16, 2012, 09:17:41 pm »
I didn't mention before. This probably wasn't one of your better mashups. Probably because I've heard the actual song, the vocal pitch has been turned up a lot yes I can deal with that. But only the first half of the chorus was repeated again and again. It'd be nice to have more/most of the chorus (I like the part that sings "Let the rain come down and wash away my tears...", melodically it sounds nice), in the mashup.  But overall not too bad of an effort, just I'd would have liked a bit of variety.

EDIT: What am I doing commenting on something you did 9 years ago? ;D

Yeah I thought both would fit kinda well for that experiment. Of course The Summer Trance was modified a bit though. Also I wouldn't have been able to include the entire song since that one was made by importing the chorus directly in Music 2000 software and that's about what the Playstation could hold as sound memory. My Wheel of Fortune remix (Ace of Base) was done the same way as well.

The other ones were made by either playing both songs simultaneously or with Audacity, though. The former is very hard, by the way, lol, and impossible unless you use a cassette (since you can slightly alter the BPM when you want by pressing hard on the Play button to slow the tape down) or vinyl turntables.
Ah ok, must've been pretty tricky.

229
General Discussion / Re: What time signature is that song?
« on: October 16, 2012, 07:33:18 am »
I wonder what time signature is this? O.O


Just to clarify...

1000BPM to Rule them All is definitely 4/4 (be a bit awkward for 2/2 in this case I think). You can tell, even with all the spam notes, pay attention to the background bass notes, it's usually loudest every 4 beats (i.e. the first beat of each bar).
At the beginning you have something like this:

BOOM Boom Boom Boo-Boom
TA Ta Ta ti-ti (3 crotchets followed by quaver duplet)

And later on there's just BOOM Boom Boom Boom

So 4/4 there. Even at a seemingly 1000BPM.

230
Ah that's true, in the beat percussion it is triplets (especially when you've emphasised the Hi-hat on each subdivision at times), I was mainly focused on the notes and melody, which is definitely in duplets/quadruplets

231
DJ's final techno/dance/rave song: The Last Hurrah of Omnidance

However, this song is a bit different from my others, because while the time signature is similar as my other songs, the subdivisions between beats are triplets instead of quadruplets. Basically, the beat sounds like some Italobrothers songs such as Stamp on the Ground.

I don't remember the subdivisions being triplets instead of quadruplets??? It didn't sound like that to me at all!!!???

232
TI-Nspire / Re: TI-nspire Hold 'em - Basic and Lua
« on: October 15, 2012, 08:52:03 pm »
Oh wow in total that's a lot of changes I need to look through. If I continue forward with this, I'll make sure to credit you and Jimbauwens as well.

233
General Discussion / Re: DJ_O Music Discography Project
« on: October 14, 2012, 06:53:15 am »
Before today, I'd never really looked at http://djomni.57o9.org though I'd heard it around plenty.
Now that I looked at http://ourl.ca/17206 I also noticed other tracks, mashups/mixes and covers there too, as well as demos. I have taken note of these tracks and hope to put these in the spreadsheet.

234
General Discussion / Re: What time signature is that song?
« on: October 14, 2012, 05:41:42 am »
Well I now know this song is The Last Hurrah of Omnidance.
Sounds very 2/4 Time signature to me.

235
Music Showcase / Re: CELINE DION! (And other random remixes)
« on: October 14, 2012, 05:15:36 am »
Added them to http://radio.omnimaga.org. Also nice remixes :D

Oh I can use Juju's list of songs from radio.omnimaga.org to fill up the Discography a bit. There are also some demo songs on djomni.57o9.org.

236
Music Showcase / Re: CELINE DION! (And other random remixes)
« on: October 13, 2012, 10:33:17 pm »
Thanks for those remixes. It's nice to see some different songs added to the growing collection of DJ_O's music - I'm losing track of them!

Also noticed on http://djomni.57o9.org/oldboardmergedsmf/ the dates for posts are out by quite a bit. Around 115 years O.O

237
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: October 13, 2012, 08:30:23 pm »
W8 this is still Linux only if I remember correctly? Then I've wasted my time using LOVE 0.7.2 and 0.8 trying to run it as it's still not working for me :(

The best result I can get is a flashing white and black window that's giving me epilepsy (jokes, no offence to anyone). The window is titled PCspire though.

238
General Calculator Help / Re: TI-Nspire OS Compatibility Topic
« on: October 13, 2012, 05:33:37 am »
Tell them that using TNOC will let them more memory for games, and that for Clickpad/Touchpad calculators whose boot2 is still 1.4.1571, it lets them downgrade to any version that supports games, at any time (which is not possible with boot2 3.x without special equipment) :)

I like this. Though if with a clickpad/touchpad, IIRC, wasn't there something called ndowngradefix or something that could reverse the boot2 replacement if you didn't use TNOC?

Also there were many other tools that were posted in news threads that I saw, and I can't find any of them now.

I've been trying to compile a list of these without success.

239
General Discussion / Re: DJ_O Music Discography Project
« on: October 13, 2012, 05:30:48 am »
Well that's troubling. Looks like all the other images of the other tracks you've put on Youtube would also be slightly off too.

240
TI-Nspire / Re: TI-nspire Hold 'em - Basic and Lua
« on: October 13, 2012, 05:26:06 am »
No one? Maybe this'd be better suited in the Lua Language section.

Pages: 1 ... 14 15 [16] 17 18 ... 129