Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Axenntio on June 22, 2014, 04:47:33 pm

Title: [Game] SplitIt
Post by: Axenntio on June 22, 2014, 04:47:33 pm
I Omnimaga, today, I present you a game based on this game : http://www.windowsphone.com/en-us/store/app/splitit/c496dfa9-c451-4f3b-bd80-c3af56f45072 (http://www.windowsphone.com/en-us/store/app/splitit/c496dfa9-c451-4f3b-bd80-c3af56f45072)

The game is simple, you have 2 blocks you can move right, left, middle or split it to have one on each edge of the screen.
With this, you need to avoid the blocks :)

Time for screenshot ! :3

(http://m.UploadEdit.com/b036/1403478077182.gif) (http://m.UploadEdit.com/b036/1403478077182.gif)
The screen is very laggy :/
The fault of wabbitemu :P

You can download the game on the attachments part.

Menu:
Use Up and Down
Enter to select the difficulty

Game:
2nd to move up
alpha to move down

It's recommanded to turn your calculator in portrait mode (simply turn your calculator 90° :P )

Have a good time :)

Sorry for my bad english :x (correct me, your help can help me in the future :3 )

Edit: Bug in the title of the game "Spit It"... how I just write it ?!?...
Edit: Fix ! :D

Last Update: http://www.omnimaga.org/ti-z80-calculator-projects/%28game%29-splitit/msg388206/#msg388206 (http://www.omnimaga.org/ti-z80-calculator-projects/%28game%29-splitit/msg388206/#msg388206)
Title: Re: [Game] SplitIt
Post by: ClrDraw on June 22, 2014, 11:34:56 pm
This looks great, good work!  :thumbsup:  maybe you could make a two player mode.
Title: Re: [Game] SplitIt
Post by: DJ Omnimaga on June 22, 2014, 11:38:40 pm
Looks nice and fun. I like the idea as well. Question: Do you need to install those fonts when playing?
Title: Re: [Game] SplitIt
Post by: Streetwalrus on June 23, 2014, 04:14:06 am
I think he uses a zStart font and that's unneeded because the game itself uses sprites. You'll just see the menu with the normal TIOS font.
Nice game btw. ;)
Title: Re: [Game] SplitIt
Post by: Axenntio on June 23, 2014, 04:59:37 am
To play, you not need to install the font, I use zStart, and... Ho... Streetwalrus is a pretty awsome omnimagan ! Yes, The game use a pic for the menu so, you can't change the text ^^
And a 2 player mode on one screen looks difficult, but on 2 calculator it's possible but... I know nothing about link between calculator so it's not for now :3
Title: Re: [Game] SplitIt
Post by: Streetwalrus on June 23, 2014, 05:08:35 am
Ah cool to hear for the menu. Makes the game bigger tho. :P Not that I really care because I have an SE calc but 83+BE users may not like it. ;)
Title: Re: [Game] SplitIt
Post by: Axenntio on June 23, 2014, 06:04:13 am
Hum... Ok, I've redesign the menu and add a score part :)

Edit: New version !
(http://m.UploadEdit.com/b036/1403523221687.gif) (http://m.UploadEdit.com/b036/1403523221687.gif)
Title: Re: [Game] SplitIt
Post by: Streetwalrus on June 23, 2014, 07:51:02 am
Looking pretty good to me ! :D
Title: Re: [Game] SplitIt
Post by: DJ Omnimaga on June 23, 2014, 10:16:46 am
Ooh I like the new menu! Also for the gameplay, do you think you could make the walls gradually appear into the screen rather than instantly?
Title: Re: [Game] SplitIt
Post by: tifreak on June 23, 2014, 10:32:37 am
Rather interesting looking game.

What does the impossible mode entail? I would think to make it more challenging, the pieces can't be separated for very long before being sucked back together. That'd add all sorts of difficulty to it :p

Looking good so far, though!
Title: Re: [Game] SplitIt
Post by: Axenntio on June 23, 2014, 10:38:24 am
Hum the walls gradually appear... Is the futur improvement :)
Because the actual appear is not beautiful :/
The time for separate the 2 block is a good idea :)
 
Title: Re: [Game] SplitIt
Post by: ClrDraw on June 23, 2014, 02:13:27 pm
I keep losing on medium :'(
Title: Re: [Game] SplitIt
Post by: DJ Omnimaga on June 23, 2014, 02:19:20 pm
Rather interesting looking game.

What does the impossible mode entail? I would think to make it more challenging, the pieces can't be separated for very long before being sucked back together. That'd add all sorts of difficulty to it :p

Looking good so far, though!
From experience, impossible mode would probably be something that scrolls as fast as the following :P

Title: Re: [Game] SplitIt
Post by: Sorunome on June 23, 2014, 03:28:18 pm
This is looking interesting + fun! :D
Title: Re: [Game] SplitIt
Post by: chickendude on June 23, 2014, 07:30:14 pm
This looks really cool! I also like the menu, it's really well laid out.

For smooth scrolling the blocks, it looks like there are six possible positions for the blocks. What i would do is have 6 bytes in saferam that can be set to on ($FF or %11111111 in binary) or off ($00). Then, when you scroll the screen left, first shift that byte so that it gets put into the carry then shift the rest of the screen. Repeat until you've scrolled the first 8 rows, then increase to the next byte in saferam and so on until you've scrolled the whole screen. I'm not sure if Axe has bit rotation commands (i don't know how you'd scroll the screen otherwise, though). This way is probably much simpler than drawing a sprite every 8 frames and faster.

Nice job, Axenntio!
Title: Re: [Game] SplitIt
Post by: JamesV on June 23, 2014, 09:33:39 pm
This looks really cool, well done Axenntio! :)
Title: Re: [Game] SplitIt
Post by: Hayleia on June 24, 2014, 03:05:49 am
This looks really cool! I also like the menu, it's really well laid out.

For smooth scrolling the blocks, it looks like there are six possible positions for the blocks. What i would do is have 6 bytes in saferam that can be set to on ($FF or %11111111 in binary) or off ($00). Then, when you scroll the screen left, first shift that byte so that it gets put into the carry then shift the rest of the screen. Repeat until you've scrolled the first 8 rows, then increase to the next byte in saferam and so on until you've scrolled the whole screen. I'm not sure if Axe has bit rotation commands (i don't know how you'd scroll the screen otherwise, though). This way is probably much simpler than drawing a sprite every 8 frames and faster.

Nice job, Axenntio!
Axe doesn't really have bit rotation commands (except /2 and *2) but you still can use the command Asm(). That's in fact exactly what I did to have my pipes and background to scroll smoothly in Flappy Bird.
Title: Re: [Game] SplitIt
Post by: Runer112 on June 24, 2014, 09:06:29 am
For smooth scrolling the blocks, it looks like there are six possible positions for the blocks. What i would do is have 6 bytes in saferam that can be set to on ($FF or %11111111 in binary) or off ($00). Then, when you scroll the screen left, first shift that byte so that it gets put into the carry then shift the rest of the screen. Repeat until you've scrolled the first 8 rows, then increase to the next byte in saferam and so on until you've scrolled the whole screen. I'm not sure if Axe has bit rotation commands (i don't know how you'd scroll the screen otherwise, though). This way is probably much simpler than drawing a sprite every 8 frames and faster.

Axe has the Horizontal - command, which scrolls the buffer contents one pixel to the left, shifting in white pixels. That's probably the most common way to make an automatic side-scroller in Axe: combining that with drawing the 1 column of pixels that got shifted in.
Title: Re: [Game] SplitIt
Post by: Streetwalrus on June 24, 2014, 09:08:32 am
Fwiw I wrote a smooth scrolling tilemapper and just modified the horizontal +/- commands to shift in pixels from another buffer.
Title: Re: [Game] SplitIt
Post by: Axenntio on June 24, 2014, 10:35:23 am
For the block appear, I use Horizontal- , it's for this, I don't have the capacity to make a smooth appear, but instead, I've sucess :D
The smooth appear work :3
Title: Re: [Game] SplitIt
Post by: Axenntio on June 27, 2014, 03:41:31 pm
Update ! :D
(http://m.UploadEdit.com/b036/1403897910783.gif)

+ Smooth appear of the walls
- Smooth movement of the 2 blocks

Hope you enjoy this :)
Title: Re: [Game] SplitIt
Post by: ClrDraw on June 27, 2014, 09:05:30 pm
I really like the score feature :)
Title: Re: [Game] SplitIt
Post by: chickendude on June 28, 2014, 08:39:59 am
That looks a lot better :) Btw, for faster scrolling you can just shift two pixels at a time before updating the screen, people probably won't even notice that you're skipping a pixel.
Title: Re: [Game] SplitIt
Post by: Axenntio on June 28, 2014, 09:18:54 am
Ho yea but increase the speed is not necessary ?
Because the Hard mode is hard no ? :P
Title: Re: [Game] SplitIt
Post by: bb010g on July 07, 2014, 01:36:28 am
I like the menu.