We're using cookies to ensure you get the best experience on our website. More info
Understood
@kr155eRegistered January 8, 2000Active 14 hours, 15 minutes ago
2,008 Replies made

Use vbTextOut(), it’s a bit easier. Copy your font to character segment 3 like this for example:

copymem((void*)CharSeg3, (void*)FONT, 8192);

Here’s an example call of vbTextOut(), printing the string “TEST” to BGMap 0, starting at the tile in position x=1, y=2 (from the top left):

vbTextOut(0, 1, 2, “TEST”)

The BGMap shoud then look like this (“0” meaning an empty tile):

000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
0TEST0000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
[…]
000000000000000000000000000000000000000000000000

Nice! But you don’t need to use objects to have text on the screen, that’s way to complicated. Create an ASCII conform font set in vide, export to font.h, include font.h in your source (‘include “font.h”;’, as with libgccvb), and either use a BGMap with text created in VIDE (as shown in the attached image), or, much better, use the vbPrint() or vbTextOut() functions, which dynamically alter BGMaps to place Chars from your font set. Both can be found in “misc.h” of libgccvb.

Attachments:

Yep, that looks much better. Now you only got a typo somewhere around line 117. See if you can find it or post those lines here, lines 116 – 118.

Huh? Don’t know what that means. But you should try a different approach and try to compile my Programming Introductory Demo. It is meant specially for beginners, and is very well commented and verified to compile fine in the second release of gccVB (gccVB CVS 06-20-05), probably the first one will work as well.

Probably, but that would still not be ideal, because you could just upload any picture. Validating each collection would probably be a step too far, so I think it’s OK now.

Some more information would be useful. Which gccVB version are you using? Looks like the very first release? This error means, that a function (aka macro) “OBJ_YSET” is called in the code, which does not exist. As it seems, the macro in the libgccvb library in that release is still named “OBJ_SET_Y”, which was later renamed tp “OBJ_YSET” as it is called in the sample code. So just change that line in the source and see if it works then.

BTW, could you attach images to forum posts? Uploading them to our server is important for future reference. If you just link and then someday delete the image from your server, the thread will be impossible to follow. It’s also easier than uloading somewhere else. 😉

Yes, it’s there. Not sure if all games have it and where, though. You can press “W” in Reality Boy to simulate low batteries to see the indicator.

wow, this looks fantastic! can’t wait to see the whole system! 🙂

no, currently there’s no loader version for mac. if you know someone who has experience coding for macs, maybe we could port the loader, though?

EDIT: people say that the loader runs on macs when using boot camp. 🙂

  • This reply was modified 17 years, 2 months ago by KR155E.

lol! 😀

Shht, RunnerPack. 😉

Right, just for fun, not a real competition. And, yeah, “from scratch” does not have to mean that we can’t recycle old code, it just means that we start working on the game on that day and not pick up an old project or something.

I am pretty sure now that I want to make a Snake game, I mean the game logic itself should be very easy to write, and I could spend the rest of the time on the graphics, maybe different modes and settings, highscore lists etc. 😉

The idea of using the same set of graphics sounds pretty cool, but I guess it would be limiting and it would be better to create graphics specially for the type of game one makes? For the GIAD project, existing graphics could be used though, to save time?

BTW, I have found your VB Art Repository thread again yesterday, and I can’t believe I totally forgot about that. I put that very high on my ToDo list for next week. 🙂

Awesome, that looks perfect! I will get into it next week. Thanks Pat! 🙂

You could do something similar to Insmouse, but with total freedom of movement, with a Wolfenstein 3D like Ray Caster, this should be absolutely doable on the VB, when properly optimized. 🙂

Yup, that’s about what I want to do. Attached is a mockup of the game I was thinking of: 3D Blockout! I assume that, once a World is Affine transformed, I can change it in any way I want without losing the transformation?

I looked at David’s demos but couldn’t get the right transformation working.

Attachments:

Cool! I am looking forward to what you can find out.

The precaution manual is the same as the US one, btw.

Thanks RunnerPack! It still does not work, so it looks like this function is incomplete. I want a rotation around the X axis, yeah, but sadly there’s no function for that. 🙁

Jorge, is there a chance that you look at your functions again? 🙂
Or would it be possible to generate a parameter table for an image rotated 45° around the x axis by hand?

cool, thanks for the clarifcation, realyst!

can you tell us more about that french side in the mario clash manual? my canadian vb manual also came with a mario clash booklet, but it seems to be the same as a us manual.

trueskins schrieb:
Yeah, in fact VB Homebrew development seems to be “stoped” in general…

that nothing new got released for a while does not mean that nothing is being worked on. i, for my part, am currently finishing blox 2, and also have been working on a ray caster as well as a yet to be announced game. probably other people are silently working on stuff as well.

DogP schrieb:
I was working on a kinda cool project (more hardware related though).

vb-tv adaptor? link port to usb cable? something secret? 🙂

jojobean schrieb:
i really wish there was something new for virtual boy. someone here should really make a level editor thing for one of the games. i’d spend so much time making levels. god, i wish i could program myself.

look for a c tutorial and start leaning, it’s never too late. 😉
but, yeah, a level editor for wario land would kick ass!