We're using cookies to ensure you get the best experience on our website. More info
Understood
@virtualchrisRegistered April 26, 2008Active 1 year ago
808 Replies made

There’s nothing wrong, but the next thing I’d like to do is add a maze for the sub to navigate through (with an outlined border around the edges of the screen.) What would be the best way to do this? I’d like, at the least, 25 different mazes (which I’d design.) I just would like blocks to put in various places to form the mazes, if at all possible. Would they be solid blocks, or can they have designs on them? I’d like to design them as coral reefs, like in the water levels of SMB1 for the NES. But if they can be solid blocks, I wouldn’t mind. I know this can probably be done, as VUE Snake proves.

EDIT: Here’s a rough mock-up of what I’m imagining.

Success!

Attachments:

It worked, but it shows the first character in the character map for the small submarine in a pattern. How do i get rid of that?

Attachments:

Two new problems.
#1 – In the main game, I want to display both the level # and # of lives. But when I go and type in “LEVEL” and “LIVES”, the text moves along with the submarine! How do I stop this? Also, I put in two new variables, “lives” and “level”. How do I display them after “LEVEL” and “LIVES”, respectively?

Thank you!
In case you’re wondering where I’m going with all this, you can visit the original Atari 2600 version of GoSub here. To download it, just click on the little Pac-Man symbol on the right and then play it with either the Stella or Z26 emulators.

Posted is what I have so far with the VB version of the game.

Attachments:

I’m having a little trouble with this program. If you press Start while the “read instruction booklet” screen shows up, it bypasses the title screen and goes into the main game. Also, in the main game, I want the sub to keep moving even though a key isn’t being pressed. How would I go about doing that?
(I’ve also uploaded the VB rom so you can see what I’m talking about.)

Attachments:

Figured out how to center things, so now everything is more centered than it was before.

Attachments:

Success again! A title screen!

Attachments:

What if I want it to show an image after a keypress (the title screen), then what am I doing wrong here?
(for the image, see attachment “submarine.h”)

Success!
a few questions, though:
Suppose I want to have an image of a submarine on a title screen and I have it all mapped out in VIDE (see attachment below.) How would I (first, make it so if you press a key, it goes to the title screen, and then) display the submarine picture? I tried messing around with
if(vbReadPad()&(K_ANY))
but I couldn’t figure out how to use goto statements in C.
sorry if i’m annoying, but I just would like as much help as i can get because i’m new to this whole developing for VB thing.

Attachments:

I tried to compile this and I got the following:

Could someone please tell me what I’m doing wrong? I keep doing various things but keep getting back various error messages.

How do i turn a vep file into an h file? Maybe that’s the problem I’m having, i did it wrong.

If this was on a cart, I’d buy one. Very nice!

How many objects can be on the screen at once? Because I’m not getting any of this text stuff. Suppose I wanted those words i had in my vb program to bounce around. Would they need to be objects then? Why is it not a good idea to use vbPrint? I actually kind of knew what i was doing with my first program even though I don’t know C, and I’d like to continue and expand on it, add a title screen with something like the coding competition demo picture. (If you don’t know what GoSub is going to be like, you control a submarine and avoid a moving octopus and walls through mazes to get the treasure at the end of each maze.) Through trial and error, i learned on the Oric emulator that characters are made backwards for some reason (for example, when I first did this program, my E looked like a 3.) Anyway, I’m actually thrilled that I did what I did knowing what I know (which is basically almost nothing).

This is not working. It has a whole bunch of error messages referring to “WAM.”

How do I use the vbPrint() function? A line of sample code would be good.

After a few hours and tons of tinkering, I made this, what i hope to be an intro to an actual game.

Attachments:

Success! Well, sort of. It compiles OK, but I made 20 characters and it only displays the first 9. I figure it has something to do with it only handling the 9 characters in “HELLO, WORLD!”, the c file I modified to make all but 5 letters appear. I want it to read like the alphabet. How can I get all 20 characters to appear?

Oops, my bad. I typed in “samples” instead of “examples.” Now that I did it right, I get back this error:

Something about parse errors sound much better than FATAL! 😉

Attachments: