Jump to content
IGNORED

An attack wave editor


Recommended Posts

Hello,

 

don't know if this tools will help someone, but, it costs nothing sharing it. This tools is a little attack wave editor, for coding shoot'em up. An attack wave is a movement pattern for ennemy. In the zip file you'll find a fullscreen version, a windowed version, the documentation in french, and the crapy source code.

 

Why i have coded this ?

 

During Ozma Wars coding, a difficult thing was to do the ennemy movement from the Arcade version to the Coleco version. Every movement was made by hand :

 

During 3 times do x=x-1 et y=y+1

During 5 times do y=y+1

Go first step

 

With this tools you can generate this movement visually with mouse and keyboard.

 

 

 

Command :

 

F1 - Save attack wave (QuickSave)

F2 - Load attack wave (QuickLoad)

N - Erase and make (N)ew attack wave

T - (T)est l'attack wave --> Start at the mouse pointer

Cursor Right and Left - Move in the attack wave principal point

Suppr - Erase a principal point in the attack wave

R - ®etrace attack wave

P - See (P)rincipal point of the attack wave

D - (D)ivide principal point of attack wave by 2 (simplify the attack wave)

 

C - ©hange mode : modify precisely by keyboard principal point of attack wave

Cursor Up / Down / Left / Right - Move a principal point

 

Echap/Esc - Quit application and generate attack wave source code in stdout.txt in the main program directory.

 

stdout.txt

------------------

 

Contain 2 définitions of attack wave :

 

1)

const char awc[] --> relative movement

 

Ex :

 

2,0,1, --> 2 times x = x + (+0) et y = y + (+1)

1,-1,-1, --> 1 times x = x + (-1) et y = y + (-1)

 

2)

const char aw_pivot[] --> Absolute position of principal point

 

For Bresenham type algorythm.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...