xLIB Examples

Moderator: tr1p1ea

merthsoft
Extreme Poster
Posts: 496
Joined: Tue 21 Dec, 2004 6:49 am
Location: WI

Post by merthsoft »

Mine goes about 4fps... Yay!! Anyone getting any more?
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 »

As far as examples go I tried a greyscal maker, which came out surpiresingly good, and smooth scroller. The smooth scroller actually had pretty decent speed for basic but there seems to be problem the scroll routine and the sprite routine, might be bugs or I don't how to implement them right but it was still pretty good.
Image
User avatar
DJ_O
Calc King
Posts: 2323
Joined: Mon 20 Dec, 2004 6:47 pm
Location: Quebec (Canada)
Contact:

Post by DJ_O »

Ok I started rewriting the map engine from scratch, but it doesnt scroll the same way. Now once the char is in the middle of the screen it start scrolling then stop scrolling once you reach the edge of the screen. Collision detection isnt implemented yet though. It runs at 4 fps so far. later I might optimise more to make it faster
ImageImageImageImage
merthsoft
Extreme Poster
Posts: 496
Joined: Tue 21 Dec, 2004 6:49 am
Location: WI

Post by merthsoft »

Heh, I just re wrote it and made it scroll the same way...
Shaun
necro
Calc King
Posts: 1619
Joined: Sat 26 Mar, 2005 2:45 am
Location: your shadow

Post by necro »

I am messing around with a side scrolling engine...it scrolls a half screen at a time and I am trying to add sloped tiles, destructable blocks, and colapsing blocks
User avatar
dysfunction
Calc Master
Posts: 1454
Joined: Wed 22 Dec, 2004 3:07 am
Location: Through the Aura

Post by dysfunction »

Unfortunately Kevin no longer posts here, so here's what he did:

Well, this is not really a project or something big but I'll post it anyway. This is also to let you know I am coding a bit for calcs now wink.gif . as you might know tr1p1ea asked people to make some xLIB example and to optimise his own, but since It was way too hard to understand (I am more experienced in coding than looking at other ppl code tongue.gif ) so instead of optimising his engine I decided to rewrite it and mod it a bit. Here is what I got so far:

Image

So far I think only tr1p1ea himself, a few ppl on #tcpa and a few ppl on UnitedTI saw it. As you might notice it flickers like mad when scrolling blink.gif , its alerady slow and the collision detection isnt even finished yet but I though I would experiment scrolling grayscale anyway. On the SE it doesnt look bad. I might post the source code which isnt fully optimised yet once collision detection is implemented and I will make a non-GS version as well
Image


"You're very clever, young man, but it's turtles all the way down!"
necro
Calc King
Posts: 1619
Joined: Sat 26 Mar, 2005 2:45 am
Location: your shadow

Post by necro »

so...will kevin at least post here and just boycot the rest of the site...tr1p1 doesn't seem to be trolling like andy
User avatar
crzyrbl
Calc Wizard
Posts: 518
Joined: Wed 06 Jul, 2005 4:56 pm
Location: 3rd rock....

Post by crzyrbl »

what's gonna stop andy from posting here then?
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.

Image
necro
Calc King
Posts: 1619
Joined: Sat 26 Mar, 2005 2:45 am
Location: your shadow

Post by necro »

tr1p1 is the mod for this peice of the forum...could he lock certain people from posting...and do so only if Andy decided to troll in here
User avatar
crzyrbl
Calc Wizard
Posts: 518
Joined: Wed 06 Jul, 2005 4:56 pm
Location: 3rd rock....

Post by crzyrbl »

that's a useful power :D
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.

Image
necro
Calc King
Posts: 1619
Joined: Sat 26 Mar, 2005 2:45 am
Location: your shadow

Post by necro »

if he can do it...then yeah, it would be
necro
Calc King
Posts: 1619
Joined: Sat 26 Mar, 2005 2:45 am
Location: your shadow

Post by necro »

hmmm...I have gravity, the abillity to jump with collision cecking, the ability to go up and down latters, and I am working on sloped tiles and collapsing blocks in my platform test

CALC WIZZARD...WOOT!
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 »

Sounds great, what kind of speed do you get out of it? You want to post a screenie? :).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
crzyrbl
Calc Wizard
Posts: 518
Joined: Wed 06 Jul, 2005 4:56 pm
Location: 3rd rock....

Post by crzyrbl »

kevin's done it again!

Image
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.

Image
necro
Calc King
Posts: 1619
Joined: Sat 26 Mar, 2005 2:45 am
Location: your shadow

Post by necro »

flash debbuger doesn't seem to like it...oh well, I should be able to get it done the rest of the way (as far as a demo goes...just to show the concept as opposed to a game) very soon...it is faster than kevin's diortem (right now, still need to check for optimisations) and it has smooth scrolling. Besides, it is rather ugly right now...black tiles are floors, simple ladder tile, ugly slopes, ect.
Post Reply