View Single Post
Old 23 July 2020, 21:16   #59
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 421
Quote:
Originally Posted by Retro1234 View Post
can I ask
how you do the hit detection?
Have you tried compiling? this normally has a great speed increase.
It's just checking the space between the Player's X and Y coordinate in relation to the Enemies', and also if the player is in an attack state, and if so, which frame of animation it is on.

The enemy must be within 5-10 pixels up or down of the player's Y coordinate, and 30 pixels of the player's X coordinate (depending on which way they are facing).

If so, do switch on whatever variables are needed for the animations.

I've no idea how to compile the game, although it does come with a compiler, but I need a setup that'll allow me to run it on Cycle Exact with 68000 OCS settings, but I have trouble getting the extensions installed on my WinUAE setup as nothing seems to save.
Brick Nash is offline  
 
Page generated in 0.04413 seconds with 10 queries