amiga.org
     
iconAll times are GMT -6. The time now is 11:32 AM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Operating System Specific Discussions » Other Operating Systems » Very simple sprite programming on C64 in Basic?

Other Operating Systems This forum is to allow our members to discuss other (non-Amiga-related) operating systems.

Reply
 
Thread Tools Display Modes
Old 06-05-2012, 01:24 PM   #1
Florida
Too much caffeine
Points: 4,546, Level: 42 Points: 4,546, Level: 42 Points: 4,546, Level: 42
Activity: 5% Activity: 5% Activity: 5%
 
Florida's Avatar
 
Join Date: Dec 2010
Location: Central Florida
Posts: 145
Default Very simple sprite programming on C64 in Basic?

Anyone have a very simple script for a manoeuvrable sprite with the joystick in basic? A sprite made of a data lines.

How about loading a picture file with six different pictures like of a person walking, is that easy and possible in basic?
Florida is offline   Reply With Quote
Old 06-05-2012, 01:54 PM   #2
kamelito
Too much caffeine
Points: 1,518, Level: 22 Points: 1,518, Level: 22 Points: 1,518, Level: 22
Activity: 4% Activity: 4% Activity: 4%
 
kamelito's Avatar
 
Join Date: Jul 2011
Posts: 78
Default Re: Very simple sprite programming on C64 in Basic?

Quote:
Originally Posted by Florida View Post
Anyone have a very simple script for a manoeuvrable sprite with the joystick in basic? A sprite made of a data lines.

How about loading a picture file with six different pictures like of a person walking, is that easy and possible in basic?
You should ask on lemon64 or CSDB or comp.sys.cbm. It's easier to do on a C128, easier maybe on the 64 using simon's basic. Kamel
kamelito is offline   Reply With Quote
Old 06-05-2012, 02:05 PM   #3
Nostalgiac
Technoid
Points: 5,914, Level: 49 Points: 5,914, Level: 49 Points: 5,914, Level: 49
Activity: 5% Activity: 5% Activity: 5%
 
Nostalgiac's Avatar
 
Join Date: Dec 2006
Location: UK
Posts: 396
Default Re: Very simple sprite programming on C64 in Basic?

gosh... it's one of the first things I ever did. I used an example from the C64 reference guide and build on that. The trouble is ... it's to slow in BASIC.
Loading the sprite from data lines was slow to start with (even just one). Steering the "moon-lander" to a safe landing (yes, I wasn't very original...) turned out to be so slow my next step was learning assembly :/

Tom UK
__________________
2000/2060/128mb/2320/2gb/C64-3D/Hydra-Aminet on OS 3.9

c128/1541/1750/1351 with Dolphin Dos and eprom burner
Nostalgiac is offline   Reply With Quote
Old 06-05-2012, 02:17 PM   #4
kamelito
Too much caffeine
Points: 1,518, Level: 22 Points: 1,518, Level: 22 Points: 1,518, Level: 22
Activity: 4% Activity: 4% Activity: 4%
 
kamelito's Avatar
 
Join Date: Jul 2011
Posts: 78
Default Re: Very simple sprite programming on C64 in Basic?

Quote:
Originally Posted by Florida View Post
Anyone have a very simple script for a manoeuvrable sprite with the joystick in basic? A sprite made of a data lines.

How about loading a picture file with six different pictures like of a person walking, is that easy and possible in basic?
You've a bouncing sprite in here, http://unusedino.de/ec64/technical/p...rs_guide2.html Kamel
kamelito is offline   Reply With Quote
Old 06-05-2012, 04:28 PM   #5
vidarh
Technoid
Points: 3,066, Level: 34 Points: 3,066, Level: 34 Points: 3,066, Level: 34
Activity: 5% Activity: 5% Activity: 5%
Magic Ball Champion
 
Join Date: Feb 2010
Location: London, UK
Posts: 350
Default Re: Very simple sprite programming on C64 in Basic?

Quote:
Originally Posted by kamelito View Post
You've a bouncing sprite in here, http://unusedino.de/ec64/technical/p...rs_guide2.html Kamel
Awesome - the Balloon sprite reproduced in even poorer quality than the original print

Btw. scans of the manuals are available here, though frankly the ASCII version referenced above is probably more convenient: http://www.bombjack.org/commodore/commodore/
vidarh is offline   Reply With Quote
Old 06-06-2012, 04:50 AM   #6
kamelito
Too much caffeine
Points: 1,518, Level: 22 Points: 1,518, Level: 22 Points: 1,518, Level: 22
Activity: 4% Activity: 4% Activity: 4%
 
kamelito's Avatar
 
Join Date: Jul 2011
Posts: 78
Default Re: Very simple sprite programming on C64 in Basic?

lot of listing for old computers from a french magazine, there's a C64 page so I suppose that there's a lot of basic code for you to try.
Kamel
http://www.hebdogiciel.fr/COMMODORE%2064.htm
kamelito is offline   Reply With Quote
Old 09-08-2012, 02:56 PM   #7
Florida
Too much caffeine
Points: 4,546, Level: 42 Points: 4,546, Level: 42 Points: 4,546, Level: 42
Activity: 5% Activity: 5% Activity: 5%
 
Florida's Avatar
 
Join Date: Dec 2010
Location: Central Florida
Posts: 145
Default Re: Very simple sprite programming on C64 in Basic?

Thanks for all the link!
Florida is offline   Reply With Quote
Reply

Bookmarks

Tags
basic , c64 , programming , simple , sprite

Thread Tools
Display Modes

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