Jump to content
IGNORED

CubeWorld Prototype 1.0


gHan2000

Recommended Posts

I have coded a prototype of a game called CubeWorld. I don't know how to install bB, so I am typing the code in a word processor.

 

If you don't know what CubeWorld is, it's a popular online game programmed in a language called Scratch. The gameplay is simple; your a cube (With a FACE) and you use ^, < and > on you keyboard to try and get a yellow dot.

 

What I have programmed so far is the cube and the level. In this prototype the cube just floats in the corner of the screen. They sky is supposed to be blue and the grass is supposed to be green. (Duh)

 

If you own batari Basic, copy and paste this code for me:

 

 

playfeild:

...............................

...............................

...............................

...............................

...............................

...............................

...............................

...............................

...............XXXXXXX

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

end

 

COLUBK = $E9

COLUBF = $63

player0x=0;player0x=0

NUSIZO = 16

 

sprites

 

player0:

%11111110

%1000010

%1001010

%1000010

%1000010

%1011110

%1000010

%11111110

end

 

draw_loop

drawscreen

goto draw_loop

goto sprites

 

Thank you for your help.

 

If you own Mac OS X batari Basic, please put it on Mega Upload or MediaFire for me please.

 

I still need to work on:

 

-Gravity

-Controls

-Multiple levels

-Enemies

-Music

-Colored Characters

Edited by gHan2000
Link to comment
Share on other sites

I could compile your code once. But, if I find you the links to how to do it yourself then YOU can compile your games hundreds, maybe thousands of times more!! I learned how by following the instructions in the links below.

 

How to install Batari BASIC:

http://bataribasic.com/install.html

 

Use VisualbB to edit and compile your code:

http://www.atariage.com/forums/topic/123849-visual-bb-1-0-a-new-ide-for-batari-basic/

 

This is a VERY good video on how to start making games:

  • Like 1
Link to comment
Share on other sites

I have coded a prototype of a game called CubeWorld. I don't know how to install bB, so I am typing the code in a word processor.

 

If you don't know what CubeWorld is, it's a popular online game programmed in a language called Scratch. The gameplay is simple; your a cube (With a FACE) and you use ^, < and > on you keyboard to try and get a yellow dot.

 

What I have programmed so far is the cube and the level. In this prototype the cube just floats in the corner of the screen. They sky is supposed to be blue and the grass is supposed to be green. (Duh)

 

If you own batari Basic, copy and paste this code for me:

 

 

playfeild:

...............................

...............................

...............................

...............................

...............................

...............................

...............................

...............................

...............XXXXXXX

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

end

 

COLUBK = $E9

COLUBF = $63

player0x=0;player0x=0

NUSIZO = 16

 

sprites

 

player0:

%11111110

%1000010

%1001010

%1000010

%1000010

%1011110

%1000010

%11111110

end

 

draw_loop

drawscreen

goto draw_loop

goto sprites

 

Thank you for your help.

 

If you own Mac OS X batari Basic, please put it on Mega Upload or MediaFire for me please.

 

I still need to work on:

 

-Gravity

-Controls

-Multiple levels

-Enemies

-Music

-Colored Characters

 

Sorry to tell you, but your syntax is wrong. At first glance I see misspellings, your playfield isn't aligned, some of you colouring commands are wrong and a couple other small things. I'm truly sorry, I know how it feels...

 

I'll try and fix it for you then compile it if you like!

 

Regards,

Galaxian

Link to comment
Share on other sites

Good work Galaxian! I think he might still need to do the

 

set romsize [whatever]

 

and

 

set kernel_options [whatever]

 

thing at the very top.

 

Also, the player0 color doesn't get set. COLUP0 must be set inside the main loop because after the drawscreen it gets blanked out!

Thank you for your praise!

Without your invaluable help I could never have helped this fine developer!

Also, here is the NEW, REVISED version! Only problem is, is that player0 doesn't show up (among other things) and I don't know how to set romsize 4K or kernal options...

Anyway, here they are:

cube.bas.bin

Cube.bas

Edited by Galaxian
Link to comment
Share on other sites

Good work Galaxian! I think he might still need to do the

 

set romsize [whatever]

 

and

 

set kernel_options [whatever]

 

thing at the very top.

 

Also, the player0 color doesn't get set. COLUP0 must be set inside the main loop because after the drawscreen it gets blanked out!

Thank you for your praise!

Without your invaluable help I could never have helped the fine developer!

Also, here is the NEW, REVISED version! Only problem is, is that player0 doesn't show up (among other things) and I don't know how to set romsize 4K or kernal options...

Anyway, here they are:

 

I fixed your code to display the ground and player.

sprites

playfield:
................................
................................
................................
................................
................................
................................
................................
................................
................................
......XXXXXXXXXX................
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
end

COLUBK=$9E
COLUPF=$C4
player0x = 25 : player0y = 25


player0:
%11111110
%10000100
%10010100
%10000100
%10000100
%10111100
%10000100
%11111110
end


COLUP0 = 14
drawscreen

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...