Rabidwolf9's Profile
I know DinkC fairly well and I've been developing here for years.
Although I'm no longer creating content for Dink Smallwood, you can check me out on twitch, twitter, youtube, and steam to see what I'm up to these days.
Follow me on Twitch
Subscribe to my YouTube channel
Follow me on Twitter
Check me out on Steam
Although I'm no longer creating content for Dink Smallwood, you can check me out on twitch, twitter, youtube, and steam to see what I'm up to these days.
Follow me on Twitch
Subscribe to my YouTube channel
Follow me on Twitter
Check me out on Steam
Here's a script for my game. It looks perfectly fine to me, but it doesn't work properly and I am completely perplexed. It pushes perfectly and changes the variable the way it's supposed to, but the script for the created sprite doesnt change like it's supposed to. So the main sprite moves, but the created sprite still run. I've tried killing it and everything, but it won't work. It DOES work if you change screens and come back, but that's the same procedure...
I just realized the first three created sprites don't do what they're supposed to even on screenchange.
Forgive me if this is some dumb error overlooked by me, but I keep testing and testing and it gets really annoying because there is a lot going on concerning the screen the scripts take place on.
void main( void )
{
int &junk;
int &place;
int &rock = sp_x(¤t_sprite, -1);
sp_hard(¤t_sprite, 0);
draw_hard_sprite(¤t_sprite);
if (&rock == 465)
{
&rock = 1;
int &hole = create_sprite(507, 278, 0, 158, 2);
}
if (&rock == 244)
{
&rock = 2;
int &hole = create_sprite(244, 286, 0, 158, 2);
}
if (&rock == 279)
{
&rock = 3;
int &hole = create_sprite(243, 131, 0, 158, 2);
}
if (&rock == 466)
{
&rock = 4;
int &hole = create_sprite(513, 120, 0, 158, 2);
}
sp_script(&hole, "s5-trap2");
sp_que(&hole, -10);
sp_nohit(&hole, 1);
goto check;
}
void push ( void )
{
freeze(1);
sp_speed(¤t_sprite, 1);
&place = &rock_placement;
if (&rock == 1)
{
if (&place >= 1000)
&place -= 1000;
if (&place >= 100)
&place -= 100;
if (&place >= 10)
&place -= 10;
if (&place < 1)
{
if (sp_dir(1, -1) == 6)
{
move_stop(¤t_sprite, 6, 507, 1);
&rock_placement += 1;
}
}
}
if (&rock == 2)
{
if (&place >= 1000)
&place -= 1000;
if (&place >= 100)
&place -= 100;
if (&place < 10)
{
if (sp_dir(1, -1) == 2)
{
move_stop(¤t_sprite, 2, 286, 1);
&rock_placement += 10;
}
}
}
if (&rock == 3)
{
if (&place >= 1000)
&place -= 1000;
if (&place < 100)
{
if (sp_dir(1, -1) == 4)
{
move_stop(¤t_sprite, 4, 243, 1);
&rock_placement += 100;
}
}
}
if (&rock == 4)
{
if (&place < 1000)
{
if (sp_dir(1, -1) == 6)
{
move_stop(¤t_sprite, 6, 513, 1);
&rock_placement += 1000;
}
}
}
unfreeze(1);
draw_hard_map();
goto check;
}
void check( void )
{
check:
&place = &rock_placement;
if (&place >= 1000)
{
if (&rock == 4)
{
sp_x(¤t_sprite, 513);
&junk = is_script_attached(&hole);
sp_script(&hole, "");
}
}
&place -= 1000;
if (&place >= 100)
{
if (&rock == 3)
{
sp_x(¤t_sprite, 243);
sp_script(&hole, "");
}
}
&place -= 100;
if (&place >= 10)
{
if (&rock == 2)
{
sp_y(¤t_sprite, 286);
sp_script(&hole, "");
}
}
&place -= 10;
if (&place >= 1)
{
if (&rock == 1)
{
sp_x(¤t_sprite, 507);
sp_script(&hole, "");
}
}
draw_hard_map();
}
I just realized the first three created sprites don't do what they're supposed to even on screenchange.
Forgive me if this is some dumb error overlooked by me, but I keep testing and testing and it gets really annoying because there is a lot going on concerning the screen the scripts take place on.
void main( void )
{
int &junk;
int &place;
int &rock = sp_x(¤t_sprite, -1);
sp_hard(¤t_sprite, 0);
draw_hard_sprite(¤t_sprite);
if (&rock == 465)
{
&rock = 1;
int &hole = create_sprite(507, 278, 0, 158, 2);
}
if (&rock == 244)
{
&rock = 2;
int &hole = create_sprite(244, 286, 0, 158, 2);
}
if (&rock == 279)
{
&rock = 3;
int &hole = create_sprite(243, 131, 0, 158, 2);
}
if (&rock == 466)
{
&rock = 4;
int &hole = create_sprite(513, 120, 0, 158, 2);
}
sp_script(&hole, "s5-trap2");
sp_que(&hole, -10);
sp_nohit(&hole, 1);
goto check;
}
void push ( void )
{
freeze(1);
sp_speed(¤t_sprite, 1);
&place = &rock_placement;
if (&rock == 1)
{
if (&place >= 1000)
&place -= 1000;
if (&place >= 100)
&place -= 100;
if (&place >= 10)
&place -= 10;
if (&place < 1)
{
if (sp_dir(1, -1) == 6)
{
move_stop(¤t_sprite, 6, 507, 1);
&rock_placement += 1;
}
}
}
if (&rock == 2)
{
if (&place >= 1000)
&place -= 1000;
if (&place >= 100)
&place -= 100;
if (&place < 10)
{
if (sp_dir(1, -1) == 2)
{
move_stop(¤t_sprite, 2, 286, 1);
&rock_placement += 10;
}
}
}
if (&rock == 3)
{
if (&place >= 1000)
&place -= 1000;
if (&place < 100)
{
if (sp_dir(1, -1) == 4)
{
move_stop(¤t_sprite, 4, 243, 1);
&rock_placement += 100;
}
}
}
if (&rock == 4)
{
if (&place < 1000)
{
if (sp_dir(1, -1) == 6)
{
move_stop(¤t_sprite, 6, 513, 1);
&rock_placement += 1000;
}
}
}
unfreeze(1);
draw_hard_map();
goto check;
}
void check( void )
{
check:
&place = &rock_placement;
if (&place >= 1000)
{
if (&rock == 4)
{
sp_x(¤t_sprite, 513);
&junk = is_script_attached(&hole);
sp_script(&hole, "");
}
}
&place -= 1000;
if (&place >= 100)
{
if (&rock == 3)
{
sp_x(¤t_sprite, 243);
sp_script(&hole, "");
}
}
&place -= 100;
if (&place >= 10)
{
if (&rock == 2)
{
sp_y(¤t_sprite, 286);
sp_script(&hole, "");
}
}
&place -= 10;
if (&place >= 1)
{
if (&rock == 1)
{
sp_x(¤t_sprite, 507);
sp_script(&hole, "");
}
}
draw_hard_map();
}
Rabidwolf9 has released 35 files
Rabidwolf9 has written 4 reviews
Title | File | Type | Score | Date |
---|---|---|---|---|
there are better cheats out there | Ultima Cheat | Featured | 4.4 | March 11th, 2007 |
I | I, Kara Gu | Featured | 9.8 | February 7th, 2007 |
Wind Graphics V2 | Wind Scar | Featured | 7.7 | January 4th, 2007 |
Ok W/E I'll Review My Own Graphics Pack | Dark Dink | Normal | 9.0 | April 25th, 2005 |
Rabidwolf9 has taken 6 screenshots
Screenshot | File | Date |
---|---|---|
Skorn's Dark Beach Graphic | January 3rd, 2010 | |
Dink Colors | February 18th, 2007 | |
Castle Fix | February 18th, 2007 | |
Castle Fix | February 18th, 2007 | |
Wasp Enemy | February 18th, 2007 | |
Dressup Dan | February 18th, 2007 |