Jump to content

Photo

WIP clowns and balloons made with IntyBasic

IntyBasic Intellivision Clowns Balloons Source

56 replies to this topic

#1 catsfolly OFFLINE  

catsfolly

    Dragonstomper

  • 704 posts
  • Location:Japan

Posted Mon Feb 17, 2014 10:43 AM

I think the best way to evaluate a tool is to try and do something with it.

 

So, to try out Nanochess' IntyBasic compiler, I have written a version of "Clowns and Balloons" in it.

The game is written in 100 % basic, and complete source code is included.

 

shot0002.gif

 

shot0008.gif shot0010.gif

 

Attached File  clowns.zip   9.33KB   422 downloads

 

Currently it is "beta" - everything functions, but it still needs tuning, and the levels are placeholders.

 

(Some levels feature popular atariage celebrities (if they have short nicknames...))

 

It is pretty easy to stay alive, but difficult to clear the screen with a low bounce count.

 

Please let me know what you think....

 

Catsfolly



#2 nanochess ONLINE  

nanochess

    River Patroller

  • 4,850 posts
  • Coding something good
  • Location:Mexico City

Posted Mon Feb 17, 2014 12:39 PM

This is completely amazing :) :thumbsup:

 

You should publish it with Collectorvision ;)



#3 Fushek OFFLINE  

Fushek

    Stargunner

  • 1,519 posts
  • Actively Seeking Spiker!
  • Location:Clevelandish

Posted Mon Feb 17, 2014 5:35 PM

Looking good!

 

I think that you need something (or someone) trying to stop you to make you loose lives.  Maybe a stationary spike in the middle of the balloons that kills you if you hit it or, better yet, an MOB (maybe bird that pecks at you in the air) to add an element of of an adversary to the game. 

 

OR ... just limit the number of bounces that you are allowed and if you don't make it, you have to start over again!

 

Just a thought ...


Edited by Fushek, Mon Feb 17, 2014 5:36 PM.


#4 catsfolly OFFLINE  

catsfolly

    Dragonstomper

  • Topic Starter
  • 704 posts
  • Location:Japan

Posted Mon Feb 17, 2014 6:06 PM

Looking good!

 

I think that you need something (or someone) trying to stop you to make you loose lives.  Maybe a stationary spike in the middle of the balloons that kills you if you hit it or, better yet, an MOB (maybe bird that pecks at you in the air) to add an element of of an adversary to the game. 

 

OR ... just limit the number of bounces that you are allowed and if you don't make it, you have to start over again!

 

Just a thought ...

Fushek -

 

Thanks for checking out the game.

 

I think you are right - it is definitely too easy to stay alive. The game needs something to make it harder....

 

 

Catsfolly



#5 catsfolly OFFLINE  

catsfolly

    Dragonstomper

  • Topic Starter
  • 704 posts
  • Location:Japan

Posted Mon Feb 17, 2014 7:36 PM

A short gameplay gif:

 

 

 

mvi_0007.gif

 

 

Catsfolly

 



#6 cmart604 OFFLINE  

cmart604

    Quadrunner

  • 11,332 posts
  • Location:Vancouver

Posted Mon Feb 17, 2014 7:40 PM

I'm a fan of the "Circus Atari" games so I'd like to see this become a fully realized game. As for adversaries, have you thought of Sharks with Frickin Lasers on their heads? That, of course, would turn it into an Austin Powers/Dr. Evil game though I suppose. Not sure that would work. :-D



#7 fsuinnc OFFLINE  

fsuinnc

    Moonsweeper

  • 425 posts
  • Location:Chapel Hill NC.

Posted Mon Feb 17, 2014 8:05 PM

What a great job! I am hoping to do something with the IntyBasic and your code is great learning tool.  As too making it harder, having the balloons alter the direction of the flyer and maybe random speed and direction when bouncing of the sides of the screen.  Making the guys on the ground just a bit slower might also help.  Of course, if you can't get the guys on the ground into the right position it might become very frustrating.

 

random dropping prizes might tempt the player to run and catch the prize putting the flyer at risk.  

 

Sharks with lasers would be pretty cool



#8 BigO OFFLINE  

BigO

    River Patroller

  • 4,229 posts
  • Location:Phoenix, AZ

Posted Mon Feb 17, 2014 8:52 PM

Just when I had convinced myself to get rid of my INTV. Thanks a lot.
:)



#9 BriceZ OFFLINE  

BriceZ

    Star Raider

  • 68 posts
  • Location:Somewhere near Montreal, Canada

Posted Wed Feb 19, 2014 11:56 AM

Quite amazing!  Flicker-free graphics and great physics.

 

 

I wonder if I should continue to learn CP1610 assembly language.  With IntyBasic, it will be far easier to create a game.

 

By the way, outstanding job by Nanochess.  It will certainly give a boost to the Intellivision homebrew community :thumbsup:.



#10 catsfolly OFFLINE  

catsfolly

    Dragonstomper

  • Topic Starter
  • 704 posts
  • Location:Japan

Posted Thu Feb 20, 2014 9:50 PM

Quite amazing!  Flicker-free graphics and great physics.

 

 

I wonder if I should continue to learn CP1610 assembly language.  With IntyBasic, it will be far easier to create a game.

 

By the way, outstanding job by Nanochess.  It will certainly give a boost to the Intellivision homebrew community :thumbsup:.

Well, if you really want to push the Intellivision to its absolute limits, you still need CP1610 assembly language.

 

However, it looks like you can write some nice, high speed, games using only basic.

 

Maybe games can be written in basic, and then the most time critical parts can be optimized in assembly?

 

Catsfolly



#11 catsfolly OFFLINE  

catsfolly

    Dragonstomper

  • Topic Starter
  • 704 posts
  • Location:Japan

Posted Thu Feb 20, 2014 10:18 PM

Okay - so maybe you want to try your hand at making games, but you're not ready to make a whole game yet?

 

What to do?

 

Why not make a new level for "Clowns and Balloons"?

 

Here's how -

 

1. Near the end of the clowns.bas listing , you can find this code:

	REM round 10 rocket
	DATA $0000,$0005,$1100,$0000,$0000
	DATA $02a0,$0805,$1111,$0000,$0000
	DATA $0002,$0885,$1111,$1100,$0000
	DATA $02a0,$0805,$1111,$1150,$0202
	DATA $0000,$0005,$5555,$5550,$0000

	REM blank
	DATA $0000,$0000,$0000,$0000,$0000
	DATA $0000,$0000,$0000,$0000,$0000
	DATA $0000,$0000,$0000,$0000,$0000
	DATA $0000,$0000,$0000,$0000,$0000
	DATA $0000,$0000,$0000,$0000,$0000

After round 10, there is a blank level. It consists and a data table filled with zeros. Each zero represents and balloon position. There are 5 rows of 20 zeros, which matches with the top 5 rows of the Intellivision screen. To enter some balloons, change the zeros to the numbers 1 to 9, or the letters a to f.

 

What do these numbers mean? Earlier in the listing there is a color table:

REM                     C_BLK   EQU     $0              ; Black
REM                     C_BLU   EQU     $1              ; Blue
REM                     C_RED   EQU     $2              ; Red
REM                     C_TAN   EQU     $3              ; Tan
REM                     C_DGR   EQU     $4              ; Dark Green
REM                     C_GRN   EQU     $5              ; Green
REM                     C_YEL   EQU     $6              ; Yellow
REM                     C_WHT   EQU     $7              ; White
REM                     C_GRY   EQU     $8              ; Grey
REM                     C_CYN   EQU     $9              ; Cyan
REM                     C_ORG   EQU     $A              ; Orange
REM                     C_BRN   EQU     $B              ; Brown
REM                     C_PNK   EQU     $C              ; Pink
REM                     C_LBL   EQU     $D              ; Light Blue
REM                     C_YGR   EQU     $E              ; Yellow-Green
REM                     C_PUR   EQU     $F              ; Purple

This table (from Joe Z.'s sdk) lists the color for each number or letter.

 

As an example, we'll make a white box. The color for white is 7, so we'll enter some 7's ...

	REM round 10 rocket
	DATA $0000,$0005,$1100,$0000,$0000
	DATA $02a0,$0805,$1111,$0000,$0000
	DATA $0002,$0885,$1111,$1100,$0000
	DATA $02a0,$0805,$1111,$1150,$0202
	DATA $0000,$0005,$5555,$5550,$0000

	REM blank
	DATA $0000,$7777,$7777,$7777,$0000
	DATA $0000,$7777,$7777,$7777,$0000
	DATA $0000,$7777,$7777,$7777,$0000
	DATA $0000,$7777,$7777,$7777,$0000
	DATA $0000,$7777,$7777,$7777,$0000

2. Next we need to change to balloon_init routine to read this table.

 

Change this line 

 

        temp = (round-1) % 10

 

to

 

        temp = (round-1) % 11

 

3. Change the code to play the new level first:

 

Change line:

 

    round=1 ' start at round one

 

to

 

    round=11  ' start at round one

 

4. Save the basic program and built it.

 

intybasic clowns.bas clowns.asm

as1600 -o clowns.bin   -l clowns.lst clowns.asm

 

5. Finally, run the new program in your emulator:

 

jzintv -z1 -v1 clowns.bin

 

6. Check out the new level:

 

shot0012.gif

 

I'll make a few tweaks to the data and ...

	REM round 10 rocket
	DATA $0000,$0005,$1100,$0000,$0000
	DATA $02a0,$0805,$1111,$0000,$0000
	DATA $0002,$0885,$1111,$1100,$0000
	DATA $02a0,$0805,$1111,$1150,$0202
	DATA $0000,$0005,$5555,$5550,$0000

	REM blank
	DATA $0000,$7777,$7447,$7777,$0000
	DATA $0000,$7717,$7447,$7777,$0000
	DATA $000a,$7111,$7447,$7227,$0000
	DATA $0000,$7717,$7447,$7777,$0000
	DATA $0000,$7777,$7447,$7777,$0000
	

Viola! We have a battery!

 

shot0015.gif

 

Wow a battery! What could be cooler than that?

 

What? What did you say? Lots of things are cooler than batteries?

 

So you think you could do better buddy?

 

You think you could do something more interesting?

 

Yeah?

 

I'd like to see you try!

Seriously, please try....

 

Catsfolly

 

 

 

 

 

 



#12 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 9,859 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Fri Feb 21, 2014 5:36 PM

Thanks for posting that, catsfolly!  I'll try to get some time with the IntyBasic this week-end and maybe make a "Clowns & Balloons" level. :)

 

     -dZ.



#13 Fushek OFFLINE  

Fushek

    Stargunner

  • 1,519 posts
  • Actively Seeking Spiker!
  • Location:Clevelandish

Posted Fri Feb 21, 2014 8:31 PM

Hmmm ... I played the .bin file from the zip file above just fine.  However, when I used the .bas file and went through and converted it to the .bin file, it says that it's playing the round, tries to draw the screen, and then says round complete without letting me play.

 

Probably something wrong with my setup.  I think that I need to download the latest and greatest of everything and start over again (and I was excited to see the screen that I designed!)



#14 TrekMD OFFLINE  

TrekMD

    River Patroller

  • 3,302 posts
  • Location:Coral Gables, FL

Posted Fri Feb 21, 2014 8:36 PM

That looks very nice! 



#15 nanochess ONLINE  

nanochess

    River Patroller

  • 4,850 posts
  • Coding something good
  • Location:Mexico City

Posted Fri Feb 21, 2014 8:46 PM

Well, if you really want to push the Intellivision to its absolute limits, you still need CP1610 assembly language.

 

However, it looks like you can write some nice, high speed, games using only basic.

 

Maybe games can be written in basic, and then the most time critical parts can be optimized in assembly?

 

Catsfolly

 

Although IntyBASIC is a compiler, for most expressions and statements it generates very reasonable code, so it's near of assembly performance for most tasks.

 

On the other way, if a programmer is good enough, he/she can take the generated assembler output and optimize it by hand.



#16 Fushek OFFLINE  

Fushek

    Stargunner

  • 1,519 posts
  • Actively Seeking Spiker!
  • Location:Clevelandish

Posted Fri Feb 21, 2014 9:57 PM

Ok ... got it working!  I'm a week late for Valentine's day though  ;).

 

New Screen.jpg



#17 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 9,859 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Sat Feb 22, 2014 4:47 AM

Ok ... got it working!  I'm a week late for Valentine's day though  ;).

 

attachicon.gifNew Screen.jpg

 

Awww... Fushek, We [heart] you too!



#18 JoeM_Intellivision OFFLINE  

JoeM_Intellivision

    Stargunner

  • 1,168 posts

Posted Sat Feb 22, 2014 4:47 AM

Nice job catsfolly!

#19 catsfolly OFFLINE  

catsfolly

    Dragonstomper

  • Topic Starter
  • 704 posts
  • Location:Japan

Posted Sat Feb 22, 2014 6:42 AM

Ok ... got it working!  I'm a week late for Valentine's day though  ;).

 

attachicon.gifNew Screen.jpg

Cool! It looks like you got it all figured out.

You need the latest (0.4) version of IntyBasic to compile the program.

 

Good work!


Edited by catsfolly, Sat Feb 22, 2014 6:42 AM.


#20 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 9,859 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Sat Feb 22, 2014 9:40 AM

Here's my first attempt.  I call this...

 

Balloons vs. The Clowns Of Christmas Presents

shot0001.gif

Attached File  clowns.bas   27.48KB   155 downloads

 

You must help the Ghostly Clown pop all the gift balloons.

 

Enjoy!

 

      -dZ.


Edited by DZ-Jay, Sat Feb 22, 2014 9:42 AM.


#21 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 9,859 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Sat Feb 22, 2014 9:43 AM

That was a lot of fun!  Thanks again, catsfolly, for doing this. :)

 

     -dZ.



#22 JoeM_Intellivision OFFLINE  

JoeM_Intellivision

    Stargunner

  • 1,168 posts

Posted Sat Feb 22, 2014 9:50 AM

nice job all.

#23 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 9,859 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Sat Feb 22, 2014 10:11 AM

At the behest of my wife, I've updated the Balloons vs. The Clowns Of Christmas Presents to compose the presents with solid blocks and make them look better. :)

 

I've also updated the block exploding animation to fit.

shot0002.gif shot0010.gif

Attached File  clowns.bas   27.14KB   148 downloads

 

     -dZ.



#24 JoeM_Intellivision OFFLINE  

JoeM_Intellivision

    Stargunner

  • 1,168 posts

Posted Sat Feb 22, 2014 10:15 AM

nice - could see this turning into something like Stonix with many levels and level saves which would be awesome.

#25 cmart604 OFFLINE  

cmart604

    Quadrunner

  • 11,332 posts
  • Location:Vancouver

Posted Sat Feb 22, 2014 10:15 AM

Awesome new levels fellas, nicely done. :) dZ, I love how your wife steps in and says, "hey, you can do better than that!" Lol!





Also tagged with one or more of these keywords: IntyBasic, Intellivision, Clowns, Balloons, Source

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users