Author Topic: xLIB 84C Edition  (Read 50943 times)

0 Members and 2 Guests are viewing this topic.

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: xLIB 84C Edition
« Reply #165 on: September 07, 2013, 02:42:30 am »
Indeed. Also I want an HP Prime but I think an Omni member living in USA will have to buy it for me then ship it to me, since no US store seems to ship them in Canada and every European store are overpriced (like $50 more than in USA).

Also I had in mind to port some of my future xLIB games to the Prime.

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: xLIB 84C Edition
« Reply #166 on: September 07, 2013, 02:59:56 am »
Same like you streetwalker, but the moneys.....

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

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: xLIB 84C Edition
« Reply #167 on: September 08, 2013, 02:44:53 am »
Same like you streetwalker, but the moneys.....
If it's around €150, then I already have 2/3 of it. :D Just wait for Christmas (also my bday is january 4th so yeah, not long to wait). :P
But let's not derail this topic. ;)
« Last Edit: September 08, 2013, 02:45:22 am by Streetwalker »

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: xLIB 84C Edition
« Reply #168 on: September 09, 2013, 02:07:28 am »
If only shipping wasn't that expensive... in Canada there were two 84+CSE sales with the calc at $129.99 and $139.99 at two places (before taxes), which would have been like €90. I bet in USA it was even cheaper.

Anyway I hope that xLIB comes along nicely right now. :) I have begun getting as many sprites and tiles as I can for future use. Hopefully I can cram as many as possible in the sprite sheet space. :P

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #169 on: September 11, 2013, 02:36:00 am »
I have implemented drawLine and drawRectangle (which just uses drawLine :)). I havent tested drawing offscreen that much but it should work.

Simple screenie of a basic program randomly drawing rectangles...



Now to do fillRectangle!
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


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: xLIB 84C Edition
« Reply #170 on: September 11, 2013, 02:38:11 am »
ooh this will be useful! Also I'm glad that you are adding filled rectangles as well. :)

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: xLIB 84C Edition
« Reply #171 on: September 11, 2013, 08:06:09 am »
ha, looking nice!

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

Offline Vijfhoek

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 120
  • Rating: +13/-1
    • View Profile
Re: xLIB 84C Edition
« Reply #172 on: September 11, 2013, 02:34:42 pm »
Stop making me want this thing :(

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #173 on: September 12, 2013, 02:06:55 am »
DJ suggested that i implement a RAND function since the TIOS Rand is reputed to be quite slow. It will give you a random number between 0 and the upper bound you specify (<=255).

I did a rough test drawing 1000 rectangles, TIOS came in at 1m57sec, xLIB was 52sec which is enouraging.

Here are 2 screenies side by side drawing 100 random rectangles. Left is TIOS Rand, right is xLIB Rand.

"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


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: xLIB 84C Edition
« Reply #174 on: September 12, 2013, 03:24:21 am »
Yeah. To explain how slow the TI-OS one is, it is often used as a replacement to For(Z,0,25:End to save a few bytes. I got the idea for an xLIB one only after noticing the rectangles were a little slow-ish, though.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: xLIB 84C Edition
« Reply #175 on: September 12, 2013, 04:26:29 am »
Yeah. To explain how slow the TI-OS one is, it is often used as a replacement to For(Z,0,25:End to save a few bytes. I got the idea for an xLIB one only after noticing the rectangles were a little slow-ish, though.
Lol ? That's awful ! D:

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #176 on: September 12, 2013, 07:00:57 am »


Here is a demo of the screen shift function, used for a simple earthquake effect.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


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: xLIB 84C Edition
« Reply #177 on: September 12, 2013, 10:43:12 am »
Wha, that is so epic, i love the speed, also, yay for new rand function :D

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: Re: xLIB 84C Edition
« Reply #178 on: September 12, 2013, 11:36:49 am »
Very nice, but is it me or does there seem to be a shifting bug during map transitions? ???

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #179 on: September 12, 2013, 05:32:10 pm »
Yeah there was a little bug in there that has since been fixed :).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."