SuperSprite3D

Advanced game related topics
Anonymous

SuperSprite3D

Post by Anonymous »

Hi all,

I have coded supersprite3D for simulate 3D in 2D with Sprite3D
You can rotate and move Supersprite3D on all axis. you can
blur , flip , change color of the supersprite3D
I have make a .doc in french/english for command list :D

A lot of examples are available with the .rar

Source of SuperSprite3D :
File:1->SuperSprite3D.rar
Image

Examples compiled :

Infinite grounds examples :
File:->Ground.rar
Image

use mouse for strafe move :
File:->InfGround2D.rar
Image

With a BumpMapping2D ! :D
File:->SS3DBump.rar
Image

Simple BGAMES Logo :D
File:->ExpSS3D.rar
Image


Enjoy ! :D
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

What a super and well-written library! Thanks a million for sharing this with the community.

@Fantaisie, could you look at making some of these functions native in a future release?
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Wow that is cool
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

As soon as I get home, I'll download it. Now that S.M. is missing from action (I wonder if he's hooked on WOW), and his subsystem is buggy. The community is in desperate need of this kind of library ... thank you!

Edit: I noticed there's a command to change a particular color on the sprite to another color. Any chance to add the ability to set each corner of the sprite to an individual color? Thus emulating lights?
Anonymous

Post by Anonymous »

Thx for comments. :)
Edit: I noticed there's a command to change a particular color on the sprite to another color. Any chance to add the ability to set each corner of the sprite to an individual color? Thus emulating lights?
Vertex color , it's a good idea, i will see this.

@++
pg
User
User
Posts: 75
Joined: Wed Jun 18, 2003 3:31 pm
Location: Swiss
Contact:

Post by pg »

Thanks. This should be implemented into PureBasic :idea:
Anonymous

Post by Anonymous »

New release of source code :

File:1->S-Sprite3D_V2.rar
Image



Added :

- VertexColor
- RGBA
- UV Coordinate

Commands :

SetSuperSprite3DVertexColor(SuperSprite3D_id, A, B,C,D)

For A,B,C,D use RGBA(r,g,b,a)


SetSuperSprite3DUV(SuperSprite3D_id, U,V)

for 2,2, Texture was repeated 4x


InvertColorSuperSprite3D() Replace NegatifSuperSprite3D()
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Thank you.
And yes, should be great if this was included natively :D
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Re: SuperSprite3D

Post by traumatic »

Image
Good programmers don't comment their code. It was hard to write, should be hard to read.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Very nice library!!!

Super!
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

impressive! :shock:
SoulReaper
Enthusiast
Enthusiast
Posts: 372
Joined: Sun Apr 03, 2005 2:14 am
Location: England

Post by SoulReaper »

Wow Very Good :shock: :wink:
Anonymous

Post by Anonymous »

Thx All.

New example here :D
This is a simple example for GTA like game :
Code + exe

File:1->GTALIKE.rar
Image


@++
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Link doesn't work here :?

EDIT: now it works :)
Last edited by Psychophanta on Fri Oct 27, 2006 11:20 am, edited 1 time in total.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Chrono Syndrome
Enthusiast
Enthusiast
Posts: 169
Joined: Thu Oct 05, 2006 6:44 am
Contact:

Post by Chrono Syndrome »

Cool lib 8) !
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.
Post Reply