We're using cookies to ensure you get the best experience on our website. More info
Understood
@horvatmRegistered December 28, 2008Active 4 months, 2 weeks ago
586 Replies made

You think writing games is easy? Then go make one yourself.

Who knows, maybe Fwirt’s engine will make writing certain types of games easier. After all, that’s what game engines are for.

http://johnnyphantom.me/Virtual_Boy_Repair.html

I’m not his customer but there’s at least one person on this site who is.

I’m having some trouble. The code that’s supposed to create things doesn’t work now that I’ve switched to a level-based system. Additionally the code could use some optimization.

If anyone wants to help me, please send me a private message.

Or, if you don’t want an exotic editor but still want to have multiple files open at once and indent code easily, use the MS-DOS Editor. That’s how I write VB code.

Excuse me for bumping an old thread, but there’s something that confuses me.

“Gunpei’s Voyage” and “Moonman’s Fandango” contain duplicate parts of each other. If “Moonman’s Fandango” plays at power-on, when does “Gunpei’s Voyage” play?

And where did we get the song titles from anyway?

KR155E wrote:

RunnerPack schrieb:

Vaughanabe13 wrote:

DogP wrote:

I do have something pretty cool that I’ve been playing with on and off for a long time… maybe I’ll post some pics one of these days. I doubt it’ll ever go to production, but it’s cool anyway.

DogP

Please do! 😀

Seconded! 😀

Thirded! 😉

Fourthed.

*Compared* to you, we’re all cranky old men.

Nope. Not me. I just turned 15 on July 31st.

I did a couple of changes and it works in VBjin. Never mind how I did it.

Would it be an incorrect guess that you have no idea how your random number generator works, nor its mathematical properties?

Maybe. It’s not really a generator, just a list of single-precision numbers between 0 and 1 (non-inclusive), and at the title screen loop there’s a counter which is incremented every iteration and determines the point in the list where the numbers will begin reading. The function which gets a random number just increments the cursor and returns the number at that position.

I just compiled it again (with a few additions and modifications) and VBjin indeed gives me frightening messages:

Immediately after boot:

Unknown HWCTRL Write: 02000008 80
Unknown HWCTRL Write: 02000000 14
Unknown HWCTRL Write: 02000004 ff

If those are addresses and values, they appear to do something with the link port, according to the Dev Wiki. But I don’t access the link port!

And then, at the start of the actual game

Exception: ffffff60 ff70

which, again according to the Dev Wiki, is “FIV (float invalid op)”. That makes sense, because my random numbers use floating point operations. But I don’t understand what causes it.

I just tried it on a FlashBoy, and it works up until you try to start the game. It then keeps stopping and displaying the ‘read instructions’ screen. Press start again, bit of movement, then back to the screen again.

Yeah, that’s what happens in Mednafen too. Did you even try this yourself?

It works in Reality Boy, I guess that’s where HorvatM tested it in?

Yeah, I used Reality Boy for testing, but it also worked for me in VBjin (with a big decrease in speed). Isn’t that just Mednafen with a GUI? Weird, because I only use basic stuff; 2 worlds and 272 objects. The only thing that happens on the title screen is that the random number seed gets set, which I do by incrementing it in a loop, overflowing and rolling over in the process. Maybe that causes it to reset for some reason?

It has many bugs, though.

Besides the ones I listed, and the one where you get trapped after dying, what ones did you encounter?

Are you going for something like Vertical Force? Using a second layer?

Well, I envisioned it as a strictly 2D game with a 3D background. Having a second layer would also require me to make new sprites and animations for transition, as well as redesign the collision detection and thing system.

I’m not completely sure about the gameplay either. Right now, everything is generated randomly. This would mean that levels would be all the same, maybe with differences in the number of enemies and their speed.

Like I said, ideas are welcome.

(PS: if someone can make a “space rock” sprite, 32*32 (4*4 chars) in size, it would be very appreciated.

  • This reply was modified 15 years, 11 months ago by HorvatM.

“Why do people hate the VB when some of them never actually played one?”

They listen to ScrewAttack.

And it works.

In that case, I have another question: what’s the point of having constants in C if they can’t be used as constants?

Seriously, what’s this obsession with cards about? Not everyone has a card reader/writer and not everyone wants one. Just go with standard Flash memory. Cards are all proprietary; Flash memory is not.

In case you’re going to switch…

Switch to Opera. I’m not going to list why, but you should give it a try. (BTW, if you’re comparing features, Opera has lots of them and is very customizable.)

Can you guys help me with giving the remaining songs proper descriptions?

Sure. From memory:

flightofaran.mp3: Metroid bonus game.
galaxkull.mp3: Plays when the skull is present on the UFO table.
luckystar.mp3: Obviously, plays in the Lucky Star bonus game.
milkywaywormhole.mp3: At the table selection screen.
moonmansfandango.mp3: Starts playing immediately after power-on. Stops at the Auto Pause screen, which is where the title screen song (gunpeisvoyage.mp3) starts playing.
thenavigatorschoice.mp3: I think it plays when the Bumper Clash occurs on the Cosmic table, and maybe also when there’s that timer that counts down and you have to get the puck into the hollow planet.

DaVince wrote:
Get rechargeable batteries. Those don’t leak. 😉

Oh yes they do. A lot.

“warning: variable-size type declared outside of any function”

RunnerPack wrote:
It’s actually the title/menu/attract-mode song. I haven’t played in a while, so don’t know if it’s used in any levels.

It does play on the title screen and in the demo mode but the menu uses a different song.

You’re not the only one; it happens to me as well, and I have the IPD all the way to the right.