Nicht eingeloggt.
Passwort vergessen?


Bitte erst registrieren. Danach ist es möglich Beiträge zu schreiben.



 Nach unten   Vorheriges Thema   Nächstes Thema

#1
Color pallets & parallax questions
Geschrieben am: 19.07.2004 1:52
VB Gamer
Dabei seit 14.01.2004
USA
18 Beiträge
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?
Nach oben

#2
Re: Color pallets & parallax questions
Geschrieben am: 19.07.2004 5:09
PVB Elite
Dabei seit 26.07.2003
USA
1465 Beiträge
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)
Nach oben

#3
Re: Color pallets & parallax questions
Geschrieben am: 19.07.2004 14:35
VB Gamer
Dabei seit 14.01.2004
USA
18 Beiträge
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.
Nach oben

#4
Re: Color pallets & parallax questions
Geschrieben am: 19.07.2004 18:14
Administrator
Dabei seit 08.01.2000
Deutschland
2515 Beiträge
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?
Nach oben

#5
Re: Color pallets & parallax questions
Geschrieben am: 19.07.2004 18:29
VB Gamer
Dabei seit 14.01.2004
USA
18 Beiträge
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.
Nach oben

#6
Re: Color pallets & parallax questions
Geschrieben am: 19.07.2004 18:45
Administrator
Dabei seit 08.01.2000
Deutschland
2515 Beiträge
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* ~_~
Nach oben

#7
Re: Color pallets & parallax questions
Geschrieben am: 28.07.2004 3:15
VUE(xpert)
Dabei seit 27.07.2003
Australien
267 Beiträge
CoderLong Time User (15 Years) DonatorApp Coder
Zitat:
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...
Nach oben

 Nach oben   Vorheriges Thema   Nächstes Thema


Bitte erst registrieren. Danach ist es möglich Beiträge zu schreiben.