This is the simplest and fastest way to do it. Scrolling is performed by just changing a couple of bytes in memory on each frame, altering the shape of programmable characters already on screen (please refer to this article if you haven’t already read it). It is the same scrolling routine used for my scrolling chessboard programs. But let’s talk about some programming details.įor those familiar with this blog, that’s nothing new. Is all of that FUN? Honestly, I am not quite sure. As your hi-score will be stored, you may try to beat yourself by scoring higher and higher. You don’t have to reach the top of the building, you just have to touch as many red windows as you can on the given time limit. The red window will change position on a regular basis. The game is all a matter of speed and luck. So you’ll have to pay attention if you want to catch a red window with a star. Please note that if a red window goes near the upper or lower borders, it will disappear. Displacement is random, but it may help you to reach the window faster. Just touch a window with a star to displace it. You can use them to displace a red window if you think it is too far to reach. Furthermore, a couple of stars will follow you during your path. Each time you touch a red window, it turns back to its original colour and you get 100 points. You must reach the red windows the faster that you can. Press U to go up, J to go down, A to go left and S to go right. You control the climber with the keyboard. NOTE: it’s better to use this program on a stock Commodore 64 computer with no cartridge inserted, as some cartridges may affect timing. So, I am reasonably sure that it contains many hints for beginners wanting to code their own C64 BASIC V2 game (hopefully, starting from better ideas than mine).ĭOWNLOAD: CLIMBER (Commodore 64 BASIC V2) It’s not perfectly flicker-free, but for BASIC V2, I think it runs quite fast. And despite its simplicity, I did have to come up with a lot of tricks to make it work smoothly enough. But don’t take this software as a Commodore 64 game. So, I ended up with this weird, strange, “game”. I have done this program because I wanted to use my BASIC V2 scrolling routines for something a bit more interesting than just a scrolling chessboard. Given the original Atari 2600 game, I just coded what BASIC V2 and especially my skills made possible. In other words, there’s no story behind this game. Why on earth do windows turn red? Is some magician around? Well, let’s say you may choose the option you prefer. In particular, the main character is climbing a building, and he must try to reach any window that turns red. The player is supposed to reach as many random positions as possible before time expires. Since I needed a very simple game concept (I am not on game programming currently, and I had to cope with the limits of BASIC as well), I just decided to keep things rather simple. Well, to make things clear, the two little yellow objects that you will see on the screen are meant to be stars…Ĭlimber, my pseudo-semi-decent BASIC C64 game.Ĭrazy Climber, the original game (Atari 2600 version). I also needed to draw a star, but I don’t know if I have been successful enough on that. Talking about graphics, I merely copied the main sprite from that game, since I am more or less useless at sprite drawing (at least, for the moment). The program that will be discussed here is a simple game called “Climber”, clearly inspired to the Atari 2600 game Crazy Climber, but featuring a much simpler gameplay. All of this using BASIC V2 with no machine language aid. In addition to sprite programming, we will also talk about simple tasks like updating score and time, scrolling a very minimalist background both upwards and downwards, and generating random numbers. In facts, most of the concepts you can find on that post will be used here. This article is intended as a companion to my previous article “Programming sprites on the Commodore 64, a simple tutorial using BASIC V2”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |