Search results

  1. A

    Replacing One Object With Another

    Yes... a loop. Something I always forget that is necessary. I'll give this a try. Thanks yet again :)
  2. A

    Replacing One Object With Another

    I used your movement code and it works like a charm. But only during the explosion animation (not your fault). Here's the code in question: process crater(x,y); private i; begin signal(type enemyfire, s_freeze); for(i=4;i<9;i=i+1); graph=i; frame; end graph=8; signal(type...
  3. A

    Rand Isn't Working In My Code

    Yeah that's a bummer. L & R could come in handy. Unless Chui isn't telling us something... hmmm... I discovered that my old Fenix Dreamcast dev environment help page is gone, so I re-upped it. Check it out here.
  4. A

    Replacing One Object With Another

    Duh! I was checking the wrong collision type. Someone slap me please. I'll play around a bit and I'm sure a solution will present itself. Thanks for the heads up. Your last bit of code will definitely be used.
  5. A

    Replacing One Object With Another

    I added: process crater(x,y); private i; begin signal(type enemyfire, s_freeze); for(i=4;i<9;i=i+1); graph=i; frame; end graph=8; if (collision(type ship)) signal(type ship,s_kill); frame; return; end frame; return; end but the collision still...
  6. A

    Rand Isn't Working In My Code

    It should. The Dreamcast can run games in both 320x240 and 640x480, in both 8 and 16-bit modes. All you would have to do to your code is make sure that your controls match the Dreamcasts. The key mappings are: Start = Enter A = Control B = Alt X = ESC (this will reboot the Dreamcast if used...
  7. A

    Replacing One Object With Another

    What would be the best way to replace one object with another, and have the new object with it's own collision properties? For instance, in my game, the enemy will drop a bomb. If the player doesn't destroy the bomb, it'll hit the ground and leave a crater. The way I want to achieve this is to...
  8. A

    Rand Isn't Working In My Code

    That will happen once I finish the game. I'm writing it for three different platforms; the main one being Dreamcast :)
  9. A

    Rand Isn't Working In My Code

    That was one of the fixes that I tried originally, and it didn't work. Even if I set rand to (45,45). But I just moved rand out of the if...end and put it before the check, and now it works! The funny thing is, I went to bed last night, dreamt up the fix, and voila! Thanks for the help.
  10. A

    Rand Isn't Working In My Code

    Here is my code: PROGRAM ship_shoot; GLOBAL sprites; shotflag; score=0; lives=3; seedfire=0; enfireflag=0; PRIVATE Begin graph_mode=mode_16bits; set_mode(m640x480); sprites=load_fpg("new.fpg"); write_int(0,10,25,0,offset score); write_int(0,10,35,0,offset enfireflag)...
Back
Top