The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

AdventureWalrus! [CSE] [xlibC]

Started by Unicorn, April 04, 2015, 05:03:56 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DJ Omnimaga

Ok so according to IRC it seems fixed now, right? I tend to be confused at xLIBC syntax because there are so many arguments >.<

Unicorn

Yup, all fixed, and now time to move on to printing the coin. I think it shouldn't be too hard to do now. :D



??? ??? ??? ??? ???

DJ Omnimaga

Also here is a properly converted Walrii:



The one to the left is the one you got, which seems to have been created from a 128x65 pic or something so it got resized.

Unicorn

Yeah, it had to be resized to work. and the white behind the wings is a cloud ;)



??? ??? ??? ??? ???

DJ Omnimaga

But why resizing it when it's already 24x24? ???

Unicorn

I used the .gif, which is 24x25.

Anyways, I think I'm pretty set, but, I still am having problems displaying the sprites, I can't seem to get the hang of pic indexing. I'll probably be able to understand better tomorrow when my brain is freshened up. ;)
Once I understand that, I should be able to finish this up fairly quickly.



??? ??? ??? ??? ???

Snektron

You should use Nearest neighbor scaling instead of linear when resizing pixel art btw :)
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


DJ Omnimaga

Quote from: Unicorn on June 05, 2015, 10:09:25 pm
I used the .gif, which is 24x25.

Anyways, I think I'm pretty set, but, I still am having problems displaying the sprites, I can't seem to get the hang of pic indexing. I'll probably be able to understand better tomorrow when my brain is freshened up. ;)
Once I understand that, I should be able to finish this up fairly quickly.
Didn't you get it fixed? Also remember the UpdateLCD argument: If it's set to zero, xLIBC will update the other half of the LCD and if it's set to 1, then xLIB will update it *and* switch view to the other half of the LCD. That's if you don't use that real(8,1 command, though. Basically, make sure that only the very last thing to be drawn on the screen has UpdateLCD set to 1. Everything else should be 0.

Unicorn

Yeah, thats now fixed. So, time to set up the coin and get an idea for the player sprite. Any suggestions?



??? ??? ??? ??? ???

Snektron

Legends say if you spam more than DJ Omnimaga, you will become a walrus...


DJ Omnimaga

You could use just a mouse cursor? If 8x8 that would increase speed.

Unicorn

Oo I like that. A purple mouse cursor. Yeah, I'll do that. SoI need to draw that sprite and then we have a player!  Also, how should the amount of money you make be displayed? Numbers on te side of the screen?



??? ??? ??? ??? ???

Unicorn

June 06, 2015, 11:41:57 pm #72 Last Edit: June 07, 2015, 02:34:38 am by Unicorn
I guess a bump.

So, I got sprite erasing down, there's just a little flickering, and the rectangles I used to erase aren't tall enough. Easy enough to fix! Except the flickering, how would that be fixed? Any help there? Would I have to switch sides of the screen or something?

I haven't gotten around to drawing the player, so that's gonna happening tomorrow. If you don't' know yet, the player will be a purple mouse cursor. ;)

Anyways, screenshot!


EDIT: So I got rid of all the display issues with the sprites except for the flickering. But, I was thinking, it kind of gives the illusion of flying/flapping.



??? ??? ??? ??? ???

alexgt

Quote from: Unicorn on June 06, 2015, 11:41:57 pm
EDIT: So I got rid of all the display issues with the sprites except for the flickering. But, I was thinking, it kind of gives the illusion of flying/flapping.

Yeah it kind of does look as if they are flapping, itf you could control the flickering somehow it could be more convincing?!

Snektron

Yeah it looks a small bit weird, though that ould be the emulator. I like the art though :)
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Powered by EzPortal