The New xLIB - An APP

Moderator: tr1p1ea

Post Reply
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

Program writeback in BASIC ... what exactly are you going to write back ... and where is it going to be written?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
dragon282p
New Member
Posts: 5
Joined: Fri 29 Apr, 2005 5:16 pm

Post by dragon282p »

Program Writback
:"____________________->Str0 ;20 spaces... could write to the first 2-20 bytes of prgm and wont mess up exicution...

:exp(sub(Str0,1,3))->A ;this can store a 3-digit number to var A, it would stop using all thoes variables and lists on the "outside :x " and be safe, inside the program :D
:real(xx,2,20,"12345678901234567890") ;i gues could use to store (start byte,End byte,String [excluding ""])
User avatar
dysfunction
Calc Master
Posts: 1454
Joined: Wed 22 Dec, 2004 3:07 am
Location: Through the Aura

Post by dysfunction »

How about a true clipped sprite routine, as in being able to draw sprites off the screen?
Image


"You're very clever, young man, but it's turtles all the way down!"
User avatar
DJ_O
Calc King
Posts: 2324
Joined: Mon 20 Dec, 2004 6:47 pm
Location: Quebec (Canada)
Contact:

Post by DJ_O »

I think it alerady does it
Image Image Image Now active at https://discord.gg/cuZcfcF (CodeWalrus server)
merthsoft
Extreme Poster
Posts: 496
Joined: Tue 21 Dec, 2004 6:49 am
Location: WI

Post by merthsoft »

What would be the advantage of drawing them off the screen?
How good is the scrolling with this?
Shaun
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

It is a true clipped sprite routine, it can draw any or all of the sprite off screen ... i cant have you guys overwriting your memory now can i? :).

dragon282p, something like that would slow down basic programs a lot.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
necro
Calc King
Posts: 1619
Joined: Sat 26 Mar, 2005 2:45 am
Location: your shadow

Post by necro »

What about the matrix rotation I mentioned earlier? Could be very useful in some rpgs and in puzzle games...
User avatar
dysfunction
Calc Master
Posts: 1454
Joined: Wed 22 Dec, 2004 3:07 am
Location: Through the Aura

Post by dysfunction »

Necro, you just want a BASIC raycaster :roll:
Image


"You're very clever, young man, but it's turtles all the way down!"
dragon282p
New Member
Posts: 5
Joined: Fri 29 Apr, 2005 5:16 pm

Post by dragon282p »

i had no idea it would slow it down.. i understand and still thinks it cool, ill use tha lists or even better that read from groups whould be a great sub :D
dragon282p
New Member
Posts: 5
Joined: Fri 29 Apr, 2005 5:16 pm

Post by dragon282p »

IDEA why not a better linking rutine
(i,e send recive prgms or faster rutine.)
merthsoft
Extreme Poster
Posts: 496
Joined: Tue 21 Dec, 2004 6:49 am
Location: WI

Post by merthsoft »

This is more for graphics, not that kinda stuff...
What would be the advantage of drawing sprites off the screen?
How good is the scrolling with this?
Shaun
User avatar
Jim e
Calc King
Posts: 2457
Joined: Sun 26 Dec, 2004 5:27 am
Location: SXIOPO = Infinite lives for both players
Contact:

Post by Jim e »

Sprite clipping is when you can draw the sprite partially off the screen.

Imagine when an enemy starts walking towards the edge of the screen, should he just disappear, NO. he would be partially drawn.

If the entire sprite is off the screen then it is not drawn.

In omnicalc, there was no clipping, so when you went off the screen you wrote over memory that wasn't meant be written over and there for crash your calc.

Thats what was meant by bieng drawn off the screen. You tell it to do so, but it won't crash your calc.
Image
merthsoft
Extreme Poster
Posts: 496
Joined: Tue 21 Dec, 2004 6:49 am
Location: WI

Post by merthsoft »

Oh, ok that makes sence...
Shaun
User avatar
DJ_O
Calc King
Posts: 2324
Joined: Mon 20 Dec, 2004 6:47 pm
Location: Quebec (Canada)
Contact:

Post by DJ_O »

btw when the 0.4 version will come out? Are you adding all those features before releasing it or release the current version then add features and release an update later?
Image Image Image Now active at https://discord.gg/cuZcfcF (CodeWalrus server)
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

Well, i havent worked on it since i gave you the latst build o_o ... I dont think i am going to implement some of the more 'unique' features that have been requested here as the more complicated the feature ... the more emails i recieve lol :).


I never knew that the omnicalc routine wasnt a clipped one ... thats just dangerous. I have tried to make this lib as uncrashable as possible.

I could release it right now, but it only has a few functions.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
Post Reply