Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
xLIB 84C Edition
« previous
next »
Print
Pages:
1
...
17
18
[
19
]
20
21
22
Go Down
Author
Topic: xLIB 84C Edition (Read 50990 times)
0 Members and 5 Guests are viewing this topic.
tr1p1ea
LV7
Elite (Next: 700)
Posts: 647
Rating: +110/-0
Re: xLIB 84C Edition
«
Reply #270 on:
April 27, 2014, 08:46:06 pm »
It could be possible, but it might be a little tricky ... ill check it out.
Logged
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: xLIB 84C Edition
«
Reply #271 on:
April 30, 2014, 05:52:54 pm »
By the way tr1p1ea, in the following screenshot showcasing the new Rectangle color shift feature (that wraps the color palette around by a value you want)
Is that the actual processing speed or did you add delays to prevent the screenshot from going too fast and skipping frames?
Logged
rw24
LV2
Member (Next: 40)
Posts: 36
Rating: +0/-0
Re: xLIB 84C Edition
«
Reply #272 on:
April 30, 2014, 08:17:42 pm »
Mr. Pumpkin???
Logged
tr1p1ea
LV7
Elite (Next: 700)
Posts: 647
Rating: +110/-0
Re: xLIB 84C Edition
«
Reply #273 on:
April 30, 2014, 08:31:53 pm »
That is slow due to the way the test is ... its really bad lol:
each frame:
draw sprite
draw fullscreen rectangle with rotated colours
draw fullscreen black rectangle to destroy previous frame
Here is one with just the sprite:
Logged
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: xLIB 84C Edition
«
Reply #274 on:
April 30, 2014, 09:49:17 pm »
Oh ok lol. Now that looks fast
Also I think that's a Secret of Mana enemy, right?
Logged
tr1p1ea
LV7
Elite (Next: 700)
Posts: 647
Rating: +110/-0
Re: xLIB 84C Edition
«
Reply #275 on:
May 02, 2014, 05:55:58 am »
Ive added support for 32 colour 160x120 images (scaled to fullscreen). These images are 12000bytes for image data + 32 bytes for the palette.
The 32 colours are not predefined and can be made up from a selection of the 256 colour xLIBC palette.
Example images:
Looks pretty sweet oncalc and offers more flexibility than the 80x60 bg images without taking up too much size*.
«
Last Edit: May 02, 2014, 06:04:14 am by tr1p1ea
»
Logged
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Streetwalrus
LV12
Extreme Poster (Next: 5000)
Posts: 3821
Rating: +80/-8
Re: xLIB 84C Edition
«
Reply #276 on:
May 02, 2014, 06:44:28 am »
Yeah, pretty nice although it would look far better with pixel art.
Also, why the * ?
Logged
tr1p1ea
LV7
Elite (Next: 700)
Posts: 647
Rating: +110/-0
Re: xLIB 84C Edition
«
Reply #277 on:
May 02, 2014, 07:08:14 am »
The * is because some people might not think that 12kb is a low size for an image
.
Yeah they are just quick image tests, if you were actually designing an image with 32 colours in mind it would look much better.
Logged
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: xLIB 84C Edition
«
Reply #278 on:
May 03, 2014, 12:13:55 pm »
Awesome tr1p1ea
. This might be handy for some title screens. Also this reminds me Sega Genesis and Game Boy color material.
Logged
Sorunome
Fox Fox Fox Fox Fox Fox Fox!
Support Staff
LV13
Extreme Addict (Next: 9001)
Posts: 7920
Rating: +374/-13
Derpy Hooves
Re: xLIB 84C Edition
«
Reply #279 on:
May 04, 2014, 09:46:47 am »
Those image tests look sweet
Logged
THE GAME
Also, check out
my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: xLIB 84C Edition
«
Reply #280 on:
May 05, 2014, 01:37:25 am »
By the way, something that would be cool for images if if besides their default palette, you could display that image with a custom palette too. Before calling the function, you would just store a string containing the palette in Ans or Str0 (preferably Ans) and if the function detects a valid string in there, it displays the image using the custom palette instead of the one inside the appvar. It could be handy if someone wants to re-use an image multiple times under different colors.
Logged
tr1p1ea
LV7
Elite (Next: 700)
Posts: 647
Rating: +110/-0
Re: xLIB 84C Edition
«
Reply #281 on:
May 05, 2014, 01:50:50 am »
Hhmmm... due to the way xLIBC draws data to the LCD it might prove difficult, but i can look into it.
Logged
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: xLIB 84C Edition
«
Reply #282 on:
May 20, 2014, 09:39:42 pm »
Feature suggestion: Chained DrawShapes.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: xLIB 84C Edition
«
Reply #283 on:
May 22, 2014, 12:52:36 am »
Bug report with xLIBC's DrawSpriteList8x8A command:
If you try to display a sprite and its X position is higher than 128 on the screen, it will not show up. For example, real(4,2,1,0,0,26,1,127,95,0 will work, but not real(4,2,1,0,0,26,1,128,95,0.
Logged
tr1p1ea
LV7
Elite (Next: 700)
Posts: 647
Rating: +110/-0
Re: xLIB 84C Edition
«
Reply #284 on:
May 22, 2014, 01:25:07 am »
Nice work DJ i found the issue! I was doing treating the coordinates as 8-bit and sign extending into 16-bits ... this means that 128 gets changed to -128 :S!
Great work on finding this one, I have implemented the fix
.
Logged
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Print
Pages:
1
...
17
18
[
19
]
20
21
22
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
xLIB 84C Edition