Making new ship, some questions:
- Kieve
- Posts: 952
- Joined: Tue Sep 18, 2012 2:21 pm
Re: Making new ship, some questions:
When you say it isn't working, what exactly happens? Does the game crash (indicating a syntax error in code), does the sprite not appear / appear as a /!\ warning symbol, does the weapon not fire at all...?
-
- Posts: 363
- Joined: Thu Oct 04, 2012 11:17 am
Re: Making new ship, some questions:
The weapon shows up, charges with the right animation, fires with the right sounds, and does the damage etc correctly.
The only thing missing is there is no projectile sprite, like the 'bullet' just doesn't show up.
The only thing missing is there is no projectile sprite, like the 'bullet' just doesn't show up.
- Kieve
- Posts: 952
- Joined: Tue Sep 18, 2012 2:21 pm
Re: Making new ship, some questions:
Sounds like you may have made a typo in the weapon blueprints then. Double-check your <image> tag and make sure it's reading your projectile's name exactly right.
-
- Posts: 363
- Joined: Thu Oct 04, 2012 11:17 am
Re: Making new ship, some questions:
Ah finally figured it out, you have to give the projectiles and the turrets separate animation sheet names.
- Kieve
- Posts: 952
- Joined: Tue Sep 18, 2012 2:21 pm
Re: Making new ship, some questions:
That's for the animations.xml
I mean the <weaponblueprint> section in your blueprints.xml
If the only thing that happens is, the projectile isn't appearing, that's likely something in your blueprints. I can't see anything wrong with the animation itself either.
I mean the <weaponblueprint> section in your blueprints.xml
If the only thing that happens is, the projectile isn't appearing, that's likely something in your blueprints. I can't see anything wrong with the animation itself either.
-
- Posts: 363
- Joined: Thu Oct 04, 2012 11:17 am
Re: Making new ship, some questions:
ok, this ship is almost done now, just made a bunch of gibs, any trick to getting the right X / Y coordinates for the gibs in the XML file to be in the right spots? Don't exactly feel like doing 50 restarts of the game just to die and try and figure out how to align them right...
going to just leave a transparent layer there for now, might figure something out later
going to just leave a transparent layer there for now, might figure something out later
-
- Posts: 363
- Joined: Thu Oct 04, 2012 11:17 am
Re: Making new ship, some questions:
The Viper is now available to download and play at viewtopic.php?f=11&t=10439