07 September 2018, 23:22 | #261 | |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
Quote:
For gravity you have to check both tiles below feet... because gravity pushes downward. |
|
07 September 2018, 23:23 | #262 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,828
|
Yeah what if his left foot(side) is still on a platform and right(side) not.
Last edited by Retro1234; 07 September 2018 at 23:36. |
07 September 2018, 23:54 | #263 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
|
08 September 2018, 01:27 | #264 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,828
|
|
09 September 2018, 23:09 | #265 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
Sometimes when I do code, I implement one thing and break something I already had working ages ago - what a pain!
Anyway, I've continued to work on the collision detection and sharpen it up a bit, things like sticking half way through tiles on platforms and has been ironed out. When you play Rygar on the Arcade you'll notice that there are some obstacles in the world that you have to jump over, these obstacles are not actually part of the tile maps but are instead inserted into the world/rounds as sprites, so in effect I've had to code that in as efficiently as possible because those obstacles overlay across 2 tiles on the Y Axis ever so slightly. So then recall back a few posts with @Ross when he was asking about why I only use 1024 tiles and do I make use of the remaining 6 bits? Well I do now. As the world scrolls I cookie cut the obstacles over the tiles and the hook is using those spare bits to blit in a sprite number. I've done this efficiently as possible too as there was two frame spare on each hardware scroll that I wasn't using, handy because there are only ever 2 obstacles on any one 16x16 tile boundary. On the downside I've broken the left pan scrolling as tile 0 is not blitting - no biggy will fix later. As you can see from the video the collisions need adjusting here and there, but what I'm most pleased about is that these obstacles are placed across two tiles - just like the arcade. [ Show youtube player ] Steady progress. Enjoy. |
09 September 2018, 23:37 | #266 |
CaptainM68K-SPS France
|
Awesome !!!
|
10 September 2018, 08:41 | #267 |
Registered User
Join Date: Oct 2007
Location: Athens , Greece
Posts: 1,860
|
So nice!
|
11 September 2018, 21:26 | #268 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
Youtube really doesn't do my videos any good, it forever screws up the quality of them.
Over the last couple of nights I've worked more on the collision detection, most of this is internal stuff that is going on in the game engine which takes time to work out properly. In this update I've fixed up the collision on the obstacles which is important to the game, there are still a few tweaks to be made though as things are not quite working as they should however it is very very close. A little bit more info on how the tilemap engine is working. I mentioned previously that there are up to 1024 tiles that can be used for each tile in the tile map, additional objects appear in the round that I've tagged as either collectibles, destructibles or obstacles that are actually from the bank of sprites instead of tiles. Self explanatory but...
Each tile uses up to 10 of the bits of each defined word leaving 6 bits available for objects that can appear in the world. If bit 14 is set then the values in bits 11,12 and 13 are combined to make up the collectible objects. If bit 14 is set then the same thing happens but for destructibles. If bit 15 is set then the same thing happens for obstacles. The reason i've done it like this is down to efficiency, it is damn quick to work out if Rygar is over one of those objects in the world with the video showing the obstacles working. A couple of things are broken but I know what is wrong with them so will need to fix them up a bit later in the week. I'm aiming to get the collisions working for each object working before I go on holiday next week, that way when I come back from holiday I can get to work on those enemy handlers. As Youtube does a cracking job of arsing up the video if I've included the source before it was uploaded. Source here... http://109.228.4.199/rygar12.mp4 Youtube here.. [ Show youtube player ] Enjoy - Geezer |
11 September 2018, 21:55 | #269 |
Registered User
Join Date: Jan 2010
Location: >
Posts: 2,956
|
Looking really special mcgeezer, i know its a long way to go, but the groundwork is looking great!
|
11 September 2018, 22:11 | #270 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Great stuff indeed Graeme
|
11 September 2018, 22:14 | #271 |
Registered User
Join Date: Oct 2016
Location: Norway
Posts: 174
|
Looking really good!
|
12 September 2018, 09:46 | #272 |
Inviyya Dude!
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,798
|
Massive kudos for already being that far in.
|
12 September 2018, 10:01 | #273 |
CaptainM68K-SPS France
|
Rygar is going to be really good
|
14 September 2018, 01:55 | #274 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
I didnt really know rygar before, so I gave it a try on mame...
|
14 September 2018, 09:56 | #275 |
Registered User
Join Date: Oct 2007
Location: Athens , Greece
Posts: 1,860
|
|
14 September 2018, 14:36 | #276 |
Registered User
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
|
|
14 September 2018, 15:43 | #277 |
Moon 1969 = amiga 1985
Join Date: Apr 2007
Location: belgium
Age: 48
Posts: 3,914
|
It looks amazing and fast.
|
14 September 2018, 21:31 | #278 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,357
|
|
15 September 2018, 11:48 | #279 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
Yes, of course, it's the Sigma Multifunction 2100. You can sometimes find it on ..bay. To be honest for best control there are better sticks, but I just got it last week.
Back on topic: I really didn't know Rygar. On mame you need 2 different firebuttons for it, which a Joystick with Atari Plug can't supply. This makes an Amiga Version even more interesting. Last edited by Nightshft; 15 September 2018 at 23:30. |
15 September 2018, 19:02 | #280 |
Registered User
Join Date: Oct 2007
Location: Athens , Greece
Posts: 1,860
|
Really? Is that a retail joystick? Who would've thought with all those knobs and what-not on it! Really thought it was custom-made. Brilliant!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Entry: Rygar AGA Edition | mcgeezer | Coders. Entries | 75 | 28 February 2019 20:41 |
On the Ball - World Cup Edition AGA | djcasey | request.Old Rare Games | 4 | 25 January 2013 12:39 |
On The Ball League Edition AGA , Player Manager 2 | StarEye | Games images which need to be WHDified | 11 | 22 January 2010 18:21 |
The Vague #1 AGA-RTG edition is released ! | kas1e | Amiga scene | 12 | 30 October 2007 00:27 |
On The Ball: World Cup Edition AGA | CodyJarrett | request.Old Rare Games | 11 | 27 May 2003 06:14 |
|
|