It is currently Sat Nov 18, 2017 4:39 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Sun Nov 17, 2013 10:29 am 
Offline
User avatar

Joined: Wed Apr 02, 2008 2:09 pm
Posts: 1035
Quote:
Edit: I tried out you code Kasumi and I noticed that you changed the chr page that the curser used to the same one the background uses. Was that on purpose?

Um, yeah. Like I said, it's Vegaplay completely free of sprites. I thought it was implied that the background tiles were now being used.

Quote:
My preference would be to have the cursers on there own chr page, cause I want as many tiles as I can manage for my back ground graphics.

Then use lidnariq's. I could maybe mess with his, but honestly I'm pretty sure you could condense four or however many tiles you need for the cursor if you end up with exactly 256 for your background. In fact, I bet the time it'd take you to do so would be less than the time it'd take me to change this. And it is your project!

_________________
https://kasumi.itch.io/indivisible


Top
 Profile  
 
PostPosted: Sun Nov 17, 2013 12:41 pm 
Offline

Joined: Fri Mar 08, 2013 12:19 am
Posts: 43
ok. I'll do some squeezing in graphically. I know it's not your project and I'm gratefull for all you've already done. You just seemed to be ok with continuing with what I was asking. I'm not trying to be impolite. I'll take what's here and run with it if you are content with stopping here. Again thank you. You are a gentleman and scholar.


Top
 Profile  
 
PostPosted: Sun Nov 17, 2013 3:44 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6442
Location: UK (temporarily)
I spent too much time worrying about how to to it the right way such that I completely dropped it. Bleh.

Anyway, I just cribbed Kasumi's animation code and stuck it in mine, so you can have an animated cursor but no transition animations. I added the ability to move the sprite at the same time as the tile changes.

If you want to use an 8x16 sprite, you can enable that too-- I added a comment about it, just search for "8x16". (Be careful: if you do, the tile numbers get a little weird. Even numbers are from first half of the tiles, odd from the last half.)


Attachments:
vegaplay-oam-simpleanimation.zip [2.47 KiB]
Downloaded 70 times
Top
 Profile  
 
PostPosted: Tue Nov 19, 2013 4:49 am 
Offline

Joined: Fri Mar 08, 2013 12:19 am
Posts: 43
I'm trying to compile but I get an error cause of line 376. What does this line do anyway?
Code:
   .incbin "vegaplay.nes.chr"


I'm assuming it is loading the .chr file? Because I changed it to "geo.chr" and things seem to work, but I wanted to ask anyway just incase it's something else.

I really like the addition AnimationH and V. I could use them to make the curser bounce or orbit slightly. Real cool!


Top
 Profile  
 
PostPosted: Tue Nov 19, 2013 1:05 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6442
Location: UK (temporarily)
Your assumption is exactly correct.

I didn't see in the original version how you added the chr to the end, so I added that line (and forgot to mention it) rather than having to manually append it.

Have fun!


Top
 Profile  
 
PostPosted: Tue Nov 19, 2013 2:13 pm 
Offline

Joined: Fri Mar 08, 2013 12:19 am
Posts: 43
lidnariq wrote:
Have fun!
Thank you!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group