English Amiga Board


Go Back   English Amiga Board > Main > Amiga scene

 
 
Thread Tools
Old 20 February 2012, 01:38   #81
Graham Humphrey
Global Moderator
Graham Humphrey's Avatar
 
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 31
Posts: 10,974
What config do you use? I should probably state at this point that I use an A1200 with an '040 accelerator and 32MB Fast RAM for developing the game.
Graham Humphrey is online now  
AdSense AdSense  
Old 20 February 2012, 01:55   #82
mihcael
Zone Friend
mihcael's Avatar
 
Join Date: Jan 2006
Location: Aussie
Posts: 1,096
Quote:
Originally Posted by Graham Humphrey View Post
...
You'll notice one or two changes - I've added a copper graduated blue background ...
I'll crack on with adding some new level designs as well as trying to fix the little niggly problems...
I find the background a little off-putting because its not scrolling at all. If it gradually went from blue at the top to black at the bottom, it could be used as an indicator of your progress through the level.

I just had a look at your code and the level design map. How difficult would it be to make the level data loaded from a txt file so that way it would be easy to craete and test level designs.
mihcael is offline  
Old 20 February 2012, 02:13   #83
s2325
Zone Friend

s2325's Avatar
 
Join Date: Jun 2006
Location: Gargore
Age: 37
Posts: 17,816
Thank you but I tried different settings, with same result.
s2325 is offline  
Old 20 February 2012, 10:14   #84
Predseda
Puttymoon inhabitant
Predseda's Avatar
 
Join Date: Mar 2007
Location: The City of Townsville
Age: 39
Posts: 4,515
Quote:
Originally Posted by s2325 View Post
Thank you but I tried different settings, with same result.
On my configuration (A1200/030) the game is launched, shows the light grey screen for a split second and the the graphics is normally shown. So you have that light grey only? I will also test it on A600 tomorrow.
Predseda is offline  
Old 20 February 2012, 11:16   #85
Graham Humphrey
Global Moderator
Graham Humphrey's Avatar
 
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 31
Posts: 10,974
Quote:
Originally Posted by mihcael View Post
I find the background a little off-putting because its not scrolling at all. If it gradually went from blue at the top to black at the bottom, it could be used as an indicator of your progress through the level.

I just had a look at your code and the level design map. How difficult would it be to make the level data loaded from a txt file so that way it would be easy to craete and test level designs.
That would be quite a cool effect to achieve - the only problem I could see is that all the levels are 'joined up' so there's never really an end, so it would perhaps look a bit strange if it suddenly jumped back to blue when some new platform graphics scrolled onto the screen.

As for the level data - I have considered various methods of storing it, and a text file was one of them. I think it would be a bit too fiddly for me to implement though and although coding it straight into the game is probably a bit crude and will make the executable bigger, it does work. However, if anyone wants to design their own levels - either by coding them straight in or just typing them up and sending them to me - feel free and I'd love to include decent levels submitted by people on here. Ideally I'm looking at having ten levels (with perhaps four different designs for each level, selected at random each time you play the game - this is to make up for the fact that there isn't a random generator like in the Jaguar version - but I'm still considering this) at about sixty 'rows' each. It would also get people credited in the game and more importantly, save me a job

Quote:
Originally Posted by s2325 View Post
Thank you but I tried different settings, with same result.
Could you let me know what config you tried to load the game with originally please? I'd like to see if I can replicate the error.
Graham Humphrey is online now  
Old 20 February 2012, 11:30   #86
mihcael
Zone Friend
mihcael's Avatar
 
Join Date: Jan 2006
Location: Aussie
Posts: 1,096
Quote:
Originally Posted by Graham Humphrey View Post
That would be quite a cool effect to achieve - the only problem I could see is that all the levels are 'joined up' ...
I see, not really familiar with the game style so i wasnt sure how things would work.
Quote:
...or just typing them up and sending them to me - feel free and I'd love to include decent levels submitted by people on here.
...
I might have a go at one and send it through to you.

edit - i would like to host the 'official' Downfall website too (if you would like)
mihcael is offline  
Old 20 February 2012, 11:46   #87
Predseda
Puttymoon inhabitant
Predseda's Avatar
 
Join Date: Mar 2007
Location: The City of Townsville
Age: 39
Posts: 4,515
Quote:
Originally Posted by mihcael View Post
edit - i would like to host the 'official' Downfall website too (if you would like)
Yeah, another opportunity for additional graphics
Predseda is offline  
Old 20 February 2012, 11:55   #88
s2325
Zone Friend

s2325's Avatar
 
Join Date: Jun 2006
Location: Gargore
Age: 37
Posts: 17,816
My settings were 68020, adjustable between cpu and chipset, AGA, chip 2MB, slow 512KB, no fast mem
s2325 is offline  
Old 20 February 2012, 12:07   #89
jimmy2x2x
Beyond Mutton
jimmy2x2x's Avatar
 
Join Date: Mar 2011
Location: North West, UK
Age: 46
Posts: 347
There is a similar game on android smartphones, might be nice to look at the scoring mechanics

You get extra points for falling through a hole without touching a platform

[ Show youtube player ]
jimmy2x2x is offline  
Old 20 February 2012, 13:36   #90
Graham Humphrey
Global Moderator
Graham Humphrey's Avatar
 
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 31
Posts: 10,974
Quote:
Originally Posted by mihcael View Post
I might have a go at one and send it through to you.

edit - i would like to host the 'official' Downfall website too (if you would like)
Feel free to have a go at designing a level - I'd love to include contributions

And a website would be a terrific idea, I'd love that!

Quote:
Originally Posted by s2325 View Post
My settings were 68020, adjustable between cpu and chipset, AGA, chip 2MB, slow 512KB, no fast mem
Thanks! I'll have a look later and see what happens.

Quote:
Originally Posted by jimmy2x2x View Post
There is a similar game on android smartphones, might be nice to look at the scoring mechanics

You get extra points for falling through a hole without touching a platform

[ Show youtube player ]
Cool, cheers! I will be looking at optimising the scoring system soon to keep things interesting
Graham Humphrey is online now  
Old 20 February 2012, 17:32   #91
cosmicfrog
The 1 who ribbits
cosmicfrog's Avatar
 
Join Date: Apr 2006
Location: leek, Staffs, UK
Age: 50
Posts: 3,555
Send a message via MSN to cosmicfrog
still moving in the right direction Graham
cosmicfrog is offline  
Old 21 February 2012, 00:41   #92
Graham Humphrey
Global Moderator
Graham Humphrey's Avatar
 
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 31
Posts: 10,974
Well, today I finally got round to changing the code that DJCruicky suggested, which was a bit tedious but in the long run that will help me greatly. It will certainly save some headaches when it comes to adding a second player.

In addition, I think I've sorted out the 'fruit appearing in platforms' bug, and I also hope I have fixed the score problem Predseda pointed out (it happened to me this afternoon for the first time) but only time will tell on that one.

Big thanks to Wilshy who has kindly volunteered to produce some sound effects too. As soon as I get them I'll work them into the game. Everything's looking good at the moment.
Graham Humphrey is online now  
Old 22 February 2012, 00:41   #93
dazzleman
Registered User

 
Join Date: Aug 2008
Location: UK
Posts: 20
I think I've found why you get the feet sometimes buried in the platforms.

It is because the screen is scrolling up at a constant rate (2 pixels at a time I'm guessing), but the player is falling at a different rate. Because these values aren't always divisible by each other you get the effect we're seeing.

To solve it we need to get the player's y position to always finish on an odd number (I assume your positional counting starts at 1 rather than 0), and to do this we just need to insert one line in the .moveply function just before the final EndIf. The end of that function should now read:

If \y MOD 2=0 Then \y=\y-1
EndIf
Next n

Return

And hopefully that'll do the trick for now !!
dazzleman is offline  
Old 22 February 2012, 00:45   #94
Graham Humphrey
Global Moderator
Graham Humphrey's Avatar
 
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 31
Posts: 10,974
Nice one! I'll definitely give that a whirl, cheers!
Graham Humphrey is online now  
Old 22 February 2012, 06:14   #95
mihcael
Zone Friend
mihcael's Avatar
 
Join Date: Jan 2006
Location: Aussie
Posts: 1,096
Quote:
Originally Posted by Graham Humphrey View Post
...
And a website would be a terrific idea, I'd love that!
ok, Downfall. Do whatever you want with it, i can give you FTP if you need it or simply tell me what to do. So far it is simply based off this
mihcael is offline  
Old 22 February 2012, 09:53   #96
cosmicfrog
The 1 who ribbits
cosmicfrog's Avatar
 
Join Date: Apr 2006
Location: leek, Staffs, UK
Age: 50
Posts: 3,555
Send a message via MSN to cosmicfrog
Brutal n where the ribbits



how about some links to s232s vids to show how its progressed ???
cosmicfrog is offline  
Old 22 February 2012, 10:51   #97
Graham Humphrey
Global Moderator
Graham Humphrey's Avatar
 
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 31
Posts: 10,974
Quote:
Originally Posted by mihcael View Post
ok, Downfall. Do whatever you want with it, i can give you FTP if you need it or simply tell me what to do. So far it is simply based off this
Great, thanks! Obviously I don't have much to add at the moment but will let you know when I do If I get a pic of the title screen or something could I email it to you to put on there?
Graham Humphrey is online now  
Old 22 February 2012, 11:28   #98
Predseda
Puttymoon inhabitant
Predseda's Avatar
 
Join Date: Mar 2007
Location: The City of Townsville
Age: 39
Posts: 4,515
Mihcael, could you PM me the FTP access? I think I can perform a lot of site uprades myself.
Predseda is offline  
Old 22 February 2012, 22:55   #99
Graham Humphrey
Global Moderator
Graham Humphrey's Avatar
 
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 31
Posts: 10,974
Predseda has already started work on sprucing up the website

Also, big thanks to dazzleman for his advice, it has certainly worked! I'd like to know what the MOD command actually does, just so I have a better understanding of it.

There's still an issue in that you can still land some way 'in' the platform if you approach it from an angle. Also it is possible to run across a small gap onto another platform on the same row - which happens in the Jaguar version and makes the game more tricky so bonus!

Despite what I said before the fruit problem hasn't been totally fixed yet - and strangely you can actually land on top of some of them and walk on them like they're platforms! This suggests the collision detection is not as accurate as it should be.

Also added - the score counter goes at a quicker rate when you're close to the bottom or the top of the screen. And I've made it slower than it was originally when you're in the middle.

I've also designed a brand new full level to play on - it's very easy but then it is the first level. I wonder if I should make the scrolling a bit quicker to toughen things up a tad...?
Graham Humphrey is online now  
Old 22 February 2012, 23:06   #100
dazzleman
Registered User

 
Join Date: Aug 2008
Location: UK
Posts: 20
The MOD command stands for Modulo and returns the remainder from a division. So in my previous statement:

Code:
If \y MOD 2=0 Then \y=\y-1
is essentially saying If the remainder of \y divided by 2 is equal to zero then reduce \y by one. It is used here to determine if \y is odd or even, an even number divided by 2 will have a remainder of 0 while an odd number divided by 2 will have a remainder of 1.
dazzleman is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amiga's Downfall? lordofchaos Retrogaming General Discussion 44 19 May 2013 03:13
EAB/Lemon Super League 2013: Round 4 - Downfall Graham Humphrey EAB's competition 82 15 April 2013 23:27
Downfall - new game released Graham Humphrey News 30 24 April 2012 14:04
Uridium 2 : Diary of a Game silkworm Amiga scene 15 09 August 2011 10:00
Part Diary of an ASM Learner BippyM Coders. Tutorials 157 03 September 2010 22:45

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:05.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.33423 seconds with 12 queries