Screenflip 90 degrees

Got a brilliant program idea? Let us know!

Moderator: MaxCoderz Staff

Post Reply
Comikal
New Member
Posts: 54
Joined: Mon 03 Jan, 2005 1:10 am
Contact:

Screenflip 90 degrees

Post by Comikal »

I know this is announce your projects forum, but if someone has free time. I'd like for someone to make a program that flips the screen at 90 degreees, allowing you to have 16 columns and 8 rows. I'm starting to undertsand, well not really, ASM lang, and its something that I want to use for games.

If the moderators see fit, I don't care where this post goes, as long as its replied to.

Edit kv83: Changed title
Working on my FastRPL physics sim.
Game in planning stages.
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

Moved to 'Program Ideas'.

Also i dont get what you mean? Which calc is this for?

If you are talking homescreen then there are already 16 columns and 8 rows.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
Comikal
New Member
Posts: 54
Joined: Mon 03 Jan, 2005 1:10 am
Contact:

Post by Comikal »

oops, 16 rows and 8 columns for the Ti-83+
Working on my FastRPL physics sim.
Game in planning stages.
User avatar
blueskies
Calc Wizard
Posts: 553
Joined: Tue 25 Apr, 2006 2:24 pm

Post by blueskies »

on the 82/83 line, there are only 12 columns. 85/86 have 16.

Why would you need this flipped around screen? You would end up with empty space on the sides (4 columns worth). Why kind of game are you looking to make with this setup?
Patori
Maxcoderz Staff
Posts: 1479
Joined: Sat 18 Dec, 2004 3:51 am
Location: Toledo, Ohio, USA

Post by Patori »

I would just like to see some code for rotating sprites 90 degrees. That might be usful for some type of game... *begins coding idea*
Currently coming up with a new signature idea... since my forum avatar changer was killed by an upgrade...
User avatar
Jim e
Calc King
Posts: 2457
Joined: Sun 26 Dec, 2004 5:27 am
Location: SXIOPO = Infinite lives for both players
Contact:

Post by Jim e »

90 degrees is easy now an arbitrary number of degrees thats tough

Code: Select all

;de = old sprite
;hl = 8 bytes to save new sprite 
Clockwise:
  ld b,8
rotloop:
  push hl
  ld a,(de)
  inc de
  rla
  rr (hl)
  inc hl
  rla
  rr (hl)
  inc hl
  rla
  rr (hl)
  inc hl
  rla
  rr (hl)
  inc hl
  rla
  rr (hl)
  inc hl
  rla
  rr (hl)
  inc hl
  rla
  rr (hl)
  inc hl
  rla
  rr (hl)
  pop hl
  djnz rotloop
  ret
3 minute code, that was fun, gimme another
Comikal
New Member
Posts: 54
Joined: Mon 03 Jan, 2005 1:10 am
Contact:

Post by Comikal »

can you make a program or app, I think app would be better, since i need the effects to stay, unless you can make a program that flips text, and sprites.
Working on my FastRPL physics sim.
Game in planning stages.
User avatar
Jim e
Calc King
Posts: 2457
Joined: Sun 26 Dec, 2004 5:27 am
Location: SXIOPO = Infinite lives for both players
Contact:

Post by Jim e »

Ok, you haven't given any info on want you really want, and what you need it for. Be specific, also i don't think anyone would make an app just to flip the screen, seems pointless when you could just have all the sprite rotated.
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

You want this as a prank or something Comikal?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
Comikal
New Member
Posts: 54
Joined: Mon 03 Jan, 2005 1:10 am
Contact:

Post by Comikal »

I have a program idea in my head. Of course, an idea can surface and go under in a sec, but I have something in mind.
Like, for example, if I were to make something like tetris, or an arcade style game that involves vertical scrolling, but not horizontal scrolling.
Working on my FastRPL physics sim.
Game in planning stages.
merthsoft
Extreme Poster
Posts: 496
Joined: Tue 21 Dec, 2004 6:49 am
Location: WI

Post by merthsoft »

Yeah, you make very little sense, but:
@blueskies: the 82/83 has 16 rows on the homescreen, only twelve if you use 8x8 sprites, technically 8 columns (columns are up and down, like the column of a building...).
Shaun
User avatar
blueskies
Calc Wizard
Posts: 553
Joined: Tue 25 Apr, 2006 2:24 pm

Post by blueskies »

ooh, I wasn't thinking about the homescreen, as in BASIC programming, or normal math entry. I was thinking about 8x8 tiles, and how many fit onto the screen. You're right though, the homescreen is 16x8.
Post Reply