New Game - Being left is not right
- Juan F. Ramirez
- Bugaboo
- Posts: 5102
- Joined: Tue Nov 14, 2017 6:55 am
- Location: Málaga, Spain
Re: New Game - Being left is not right
Nice idea, but It's hard to me controlling the man with a hand and controlling the ship with the other hand at the same time!
Re: New Game - Being left is not right
It was as simple as killing the hero after two collisions. On that post you shared a demo using gameloop variables: http://stonechatproductions.co.uk/zxgam ... checks.z80R-Tape wrote: ↑Fri Jun 14, 2019 6:56 amI think the collision distance has been thinned a bit in the AGD settings (can't check on mobile), but that doesn't solve the height collision. I'll drop the author an email.hikoki wrote: ↑Fri Jun 14, 2019 2:09 am Cool game!
@PeterJ
I think this is a common problem with AGD game. Could you let the author know about this way of avoiding unfair collisions? I remember R-Tape's solution seemed to work quite well.
viewtopic.php?f=3&t=202&p=4083#p4098
By the way, Allan Turvey shows another way on his youtube channel to achieve precise collisions.
On second thoughts better to change IF D > 3 to if D > 1 in the main player events in your opinion.
Allan Turvey published also this video about getting precise collisions on AGDx
https://youtu.be/imR2jK4Y1FM
Re: New Game - Being left is not right
I remember it, we'd need the game embedded in AGD to implement that.
The main problem is that AGD allows you to change the width of the hit-box, but not the height. I'm not sure why this is because it should be easy to implement. Maybe it has unforseen consequences.
You can POKE the AGD code to change the vertical distance, and I think it solves the problem. Here's a snapshot with the collision detection patched. Does this solve it?
POKE 36091,11
POKE 36093,28
presumably something similar to Allan's proximity patch?
Re: New Game - Being left is not right
What happened to the AY music?R-Tape wrote: ↑Fri Jun 14, 2019 12:51 pm
You can POKE the AGD code to change the vertical distance, and I think it solves the problem. Here's a snapshot with the collision detection patched. Does this solve it?
POKE 36091,11
POKE 36093,28
presumably something similar to Allan's proximity patch?
As for collisions, I'm not sure if the patch works. For example I notice the same problems with the red walls from level 3.
I liked the analog approach of your demo. Besides, I think AGD has a command to detect which sprite caused a collision so you could assign different D values. For example D would be greater for the smallest sprites and lower for sprites of similar size to the hero.
Re: New Game - Being left is not right
My snapshot must be 48k. You have the POKEs though, it's the same thing.
These POKEs are for sprite collision only. The block detection is a different bit of code, but I think strict enforcement of background collison is fine. I find the red wall level hard because I'm not used to WASD, nothing to do with collision!As for collisions, I'm not sure if the patch works. For example I notice the same problems with the red walls from level 3.
I liked the analog approach of your demo. Besides, I think AGD has a command to detect which sprite caused a collision so you could assign different D values. For example D would be greater for the smallest sprites and lower for sprites of similar size to the hero.
Re: New Game - Being left is not right
These POKEs don't seem to work if you fall on baddies from above. Vertical distance fails when falling on yellow squares.
I know about WASD if you are not lefty but if you get very close to the corners, there is a point where you get stuck to them before touching them. A typical "magnet" issue with AGD games, see Rescue Lander for example. You can avoid it by playing far from baddies and scenery.
Re: New Game - Being left is not right
Please see this rzx video : https://www.dropbox.com/s/euaiuhft61nym ... l.rzx?dl=1
- Andre Leao
- Bugaboo
- Posts: 3105
- Joined: Mon Nov 13, 2017 9:28 am
- Location: Portugal
- Contact:
Re: New Game - Being left is not right
Back from holydays, time to review the new games, starting with this one...
https://planetasinclair.blogspot.com/20 ... right.html
https://planetasinclair.blogspot.com/20 ... right.html