PCEngineFans.com - The PC Engine and TurboGrafx-16 Community Forum

Tech and Homebrew => Turbo/PCE Game/Tool Development => Topic started by: HyperFighting on October 14, 2014, 11:12:05 AM

Title: Totally Flipping Out
Post by: HyperFighting on October 14, 2014, 11:12:05 AM
I have been hard at work with a little something to show you guys. I'm not quite there yet but have been having alot of fun in the process :D

Here goes.

Imagine you have a 16x16 graphic that looks like an L. Hypothetically this graphic could be repeated 4 times to create a box.

spr_ctrl(FLIP_MAS|SIZE_MAS, NO_FLIP |SZ_16x16);  =     Bottom Left Box
spr_ctrl(FLIP_MAS|SIZE_MAS, FLIP_X |SZ_16x16);     =    Bottom Right Box
spr_ctrl(FLIP_MAS|SIZE_MAS, FLIP_Y |SZ_16x16);     =    Upper Left Box

Upper Right of Box =  ](*,)

Does anybody know the secret codes to flip in both X and Y? I have messed around to no avail.

This is me...my box has a leak.
_
|
|__|

Thanks!
Title: Re: Totally Flipping Out
Post by: ccovell on October 14, 2014, 11:39:47 AM
Isn't it ...|FLIP_X|FLIP_Y|...
Title: Re: Totally Flipping Out
Post by: HyperFighting on October 14, 2014, 04:42:49 PM
You are a gentleman and a scholar thanks very much for your help!

This is me
___
|    |
|__|

My box no longer has any leaks! :D

Just wanted to say thanks very much for the help and your contributions as a whole! I love the book about creating video games for kids it is just about at my reading level :D Honestly I love that book along with other features on the site and I definitely wouldn't have had an opportunity to check them out if it wasn't for you. THANK YOU!
Title: Re: Totally Flipping Out
Post by: _joshuaTurbo on October 16, 2014, 04:34:16 AM
And here I was thinking this thread was hinting at a Turbo version of "Flip Out!"...


:)  Still, can't wait to see what's in store!
Title: Re: Totally Flipping Out
Post by: clackattack on October 20, 2014, 05:16:22 AM
I have been hard at work with a little something to show you guys. I'm not quite there yet but have been having alot of fun in the process :D

Here goes.

Imagine you have a 16x16 graphic that looks like an L. Hypothetically this graphic could be repeated 4 times to create a box.

spr_ctrl(FLIP_MAS|SIZE_MAS, NO_FLIP |SZ_16x16);  =     Bottom Left Box
spr_ctrl(FLIP_MAS|SIZE_MAS, FLIP_X |SZ_16x16);     =    Bottom Right Box
spr_ctrl(FLIP_MAS|SIZE_MAS, FLIP_Y |SZ_16x16);     =    Upper Left Box

Upper Right of Box =  ](*,)

Does anybody know the secret codes to flip in both X and Y? I have messed around to no avail.

This is me...my box has a leak.
_
|
|__|

Thanks!

I have absolutly NO idea what you are talking about or hinting toward... but either way you have peaked my interest sir! I will await updates patiently and wish you luck with your endevour
Title: Re: Totally Flipping Out
Post by: seieienbu on October 30, 2014, 11:51:40 PM
...tetris...?