English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General > Coders. Tutorials

 
 
Thread Tools
Old 22 January 2013, 12:52   #21
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Ok at let's start at the beginning.. download this and replace your instal lhttp://dragotech.net/tutorials/Bippys_BLITZ2.rar next have a look at some of the examples etc.

Later when home ill write you a small prog to rip shapes
BippyM is offline  
Old 22 January 2013, 13:39   #22
Shoonay
Global Caturator
 
Shoonay's Avatar
 
Join Date: Aug 2004
Location: Porando
Age: 43
Posts: 6,105
Don't worry about it Bippy, if I don't learn how to do it myself I won't learn anything.
It simply appears this tutorial is not for me, I'll try a different one...
Shoonay is offline  
Old 22 January 2013, 14:08   #23
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
I've not read the tutorial but if the only thing stopping this working is the shapes then dont give up.

Learn a little about shapes.... all you need to do is grab these properly and it should work..
BippyM is offline  
Old 22 January 2013, 18:01   #24
leathered
Registered User
 
leathered's Avatar
 
Join Date: Oct 2011
Location: UK
Age: 47
Posts: 304
Quote:
Originally Posted by bippym View Post
I've not read the tutorial but if the only thing stopping this working is the shapes then dont give up.

Learn a little about shapes.... all you need to do is grab these properly and it should work..
Agree 100%. I never got along with the shape grabber personally although Ive not tried the version Bippy mentioned. If you focus on getting the shapes file to save properly then your program can go ahead. I would also wonder whether or not anybody has written a tutorial for cutting the shapes.
You can code it yourself. All you need to do is load the .iff containing your shapes in the same way as above. Cut the shapes using
Code:
getashape n,x,y,w,h
where n is shape number, x and y are top left coordinates and w and h are width and height of the desired shape in pixels.
Do this for all shapes and then save the shapes file with
Code:
saveshapes n,n, "shapesfilename"
where n and n specify the range of the shapes you cut previously.
If you want to include the shape cutting as part of your main code you could do it all before you begin the main code and drop the "saveshapes" command as you will be cutting all your shapes "on the fly" at the start of your program. Then you could add the code
Code:
free bitmap n
to release the .iff memory for the rest of your program whilst retaining your newly cut shapes.

Whatever way you go good luck. Apologies for the lack of proper punctuation in this post, Im using a mates wierd norwegian mac
leathered is offline  
Old 22 January 2013, 20:42   #25
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
shoonay,

Try the attached shapes.. it's not perfect but will do..
Attached Files
File Type: lha shape.lha (235 Bytes, 195 views)
BippyM is offline  
Old 23 January 2013, 18:13   #26
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
The main problem I see with this tutorial, and I suppose a lot of other tutorials is there's not enough explanation about what is going on. yeah you can change this and that to see how it affects things, but without the basic understanding of what each routine does then you'll struggle..

I learnt blitz by trial and error, and I am learning now as I have never written a game, nor used blitzmode before.

I am hopefully going to finish this game and then move onto another, or maybe transfer this one to pc and mobile, using it as my "learning" project
BippyM is offline  
Old 23 January 2013, 19:37   #27
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Shoonay,

Attached is an archive, included is some code to grab the sprites and save properly as a shapes file.
Attached Files
File Type: lha AFTut.lha (16.9 KB, 226 views)
BippyM is offline  
Old 24 January 2013, 16:51   #28
Shoonay
Global Caturator
 
Shoonay's Avatar
 
Join Date: Aug 2004
Location: Porando
Age: 43
Posts: 6,105
Thanks Bipps, but I've pressed the reset button and moved on to a different tutorial.
I'll get to shapes eventually...
Shoonay is offline  
Old 25 January 2013, 10:12   #29
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
No worries
BippyM is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Painting your Amiga in 10 easy steps. Mick_AKA Hardware mods 39 29 November 2018 19:00
The Plague (by CLS) resets after walking a few steps apachacha support.WinUAE 34 18 July 2011 20:13
How to play - Millennium 2.2 - AKA my very first baby steps in the game Shoonay Retrogaming General Discussion 62 07 July 2010 15:47
scsi cdrom steps MrFluffy support.Hardware 9 20 May 2009 23:06
Basic steps to emulate a hardrive in WinUAE vroom6sri support.WinUAE 2 19 September 2006 09:18

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 19:23.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.14374 seconds with 16 queries