You are not logged in.
Lost Password?


Register To Post



 Bottom   Previous Topic   Next Topic

#1
Color pallets & parallax questions
Posted on: 2004/7/19 1:52
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
I have just completed my first vb program, and now I'm getting ready to start some games. Is the display limited to four colors at one time? I know an individual char is, but can different OBJs on the screen use different pallets?

Also, how exactly does parallax affect depth? I see that a higher value pushes the two worlds farther apart, but does this mean it appears nearer or farther from the viewer?
Top

#2
Re: Color pallets & parallax questions
Posted on: 2004/7/19 5:09
PVB Elite
Joined 2003/7/26
USA
1464 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
1) There are 4 shades of red onscreen at once. One is always Black, the other 3 are defined by the BRT registers (BRTA, BRTB and BRTC.)

There are four palettes from which an OBJ can choose, and another four from which a BGMap cell can choose. Each of the four entries in a palette points to one of the aforementioned four shades.

2) Positive parallax values move things away from the user's eyes (i.e. "into the screen.") Negative parallax values bring them nearer (i.e. "out of the screen.")

If you have more Q's, come into the channel!

IRC | EFnet | #virtualboy

When are you going to release your program? I can't wait to see it! (And your source-code, of course ;)

-RunnerPack

Post Edited (07-19-04 05:34)
Top

#3
Re: Color pallets & parallax questions
Posted on: 2004/7/19 14:35
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
Thanks for the help!

I don't know if the program I wrote is worth releasing, I wrote it just to sort of get my bearings with everything. If it may be useful to someone, I may put it up on my soon-to-be-launched VB site. I plan to release all my games as open source, in the hopes that it will make it easier for others to get into VB programming.
Top

#4
Re: Color pallets & parallax questions
Posted on: 2004/7/19 18:14
Administrator
Joined 2000/1/8
Germany
2515 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
Woot! Can you tell us what kind of game(s) you are going to make?
Top

#5
Re: Color pallets & parallax questions
Posted on: 2004/7/19 18:29
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
I think I might start with a pacman game first, mostly for my own benefit. After that, I'm thinking of a Mario game, either porting an existing one or creating my own(I'd like to port some other games as well: Metroid, Contra, Double Dragon....)

I'd also like to make an RPG, although right now I'm not sure how well it would work on VB.

My ultimate goal would be to someday make a Red Alarm style game, but with polygons instead of wireframes.
Top

#6
Re: Color pallets & parallax questions
Posted on: 2004/7/19 18:45
Administrator
Joined 2000/1/8
Germany
2515 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
Nice. *Throws plans for own Pac-Man game in the trash bin* ~_~
Top

#7
Re: Color pallets & parallax questions
Posted on: 2004/7/28 3:15
VUE(xpert)
Joined 2003/7/27
Australia
267 Posts
CoderLong Time User (15 Years) DonatorApp Coder
Quote:
Nice. *Throws plans for own Pac-Man game in the trash bin* ~_~
/me hopes his Mario and Metroid plans don't go the same way...
Top

 Top   Previous Topic   Next Topic


Register To Post