The Craig the Cranberry website is born. You can check it out here: http://www.atari2600land.com/vbdev/craig.html It links to the Mednafen emulator page on Planet VB. If you’d rather me just link to the main page, just let me know and I’ll change it. Anyway, I added a hole for Craig to jump over. Of course they had to make it really hard and have blank tiles in the map be transparent and not black. So I had to make a new tile map and change the palette.
And now a plea. Can we PLEASE have signatures on this forum? I promise not to put pictures in it and limit it to 3 lines. Other forums have these limits, why not this one?
Well, apparently the discrepancy fixed itself. I don’t know how. This is my final build for today. It’s almost 10 p.m. and I’m sick of this. I’ll be back at work on it tomorrow. Download this and play it and let me know if you see any weirdness, especially related to jumping. I spent 5 minutes with it on VB and I think I may have fixed the floating and rising in air problems I had earlier. But if not let me know.
There is a huge discrepancy between the title screen and in-game. The in-game seems a lot slower than the title screen. But it was a huge ordeal to just not make it flicker like crazy on a real VB. I do not remember it being this hard to program for. I’m using the Soviet sound engine and the tempo of the title screen music is 20. Well, for the in-game music to sound the same, I had to set it to 10. That’s how big of a difference there is. And if I try to program it any other way than what I have now, it flickers like crazy on a real VB so I have to do it this way. To start the game, press Start.
This reply was modified 5 years ago by VirtualChris.
This reply was modified 5 years ago by VirtualChris.
int randseed()
/* When run at startup gets a random number based on the changing CTA */
{
int random = 1;
int rand;
int prevnum = 0;
int count = 1;
while (count < 30000) //repeat through many times to make more random and to allow the CTA value to change multiple times
{
rand = (*(BYTE*)(0x0005F830)); //CTA
if (random == 0) //prevent % by zero
random = 1;
random +=1; //just randomly doing stuff to the number
if (rand == prevnum) //if the CTA value doesnt change then count up
count++;
else
count = 0; //if the number does change then restart the counter
prevnum = rand; //keep track of the last number
}
return random; //returns the random seed
}
int randnum(int seed, int randnums)
/* Returns a random number in the requested range from the random seed */
{
return (seed%randnums); //returns the random number
}
Can I use this to get a "random" number between 1-52? If so, how?
I can get out of Video Poker. Maybe the reason you couldn’t get out is because you were in the middle of a hand? I made it so you couldn’t get out of Video Poker in the middle of a hand.
Could someone test the game for me? I have a feeling it may be done for the most part. I do plan to make a new title screen image if this is the case. You can get the latest rom here: http://www.atari2600land.com/casino/