Vetea Posted November 8, 2018 Author Share Posted November 8, 2018 (edited) Hello, Now I fix and done my Collision Engine, I have another question : Can I have 2 color by Tiles ? ( Background/Foreground color ) and can I Mix several Tiles with their own colors ? Thanks. Cheers, Vetea Edited November 8, 2018 by Vetea Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted November 8, 2018 Share Posted November 8, 2018 Hello, Now I fix and done my Collision Engine, I have another question : Can I have 2 color by Tiles ? ( Background/Foreground color ) and can I Mix several Tiles with their own colors ? Thanks. Cheers, Vetea Hello Vetea, A background tile can have only two colours: Foreground and Background. Depending on which screen mode you are using (Color Stack or FG/BG Mode), these are set differently. A MOB card can be only a single colour (its foreground), and transparent (whatever background lies behind it). You can layer MOBs like you do with Papi in order to get a multi-colour sprite. You could also use some of the MOBs as overlays for the background in order to get a similar effect, but then you won't have them to use as enemies or anything else. Unfortunately, background tiles cannot be layered, so you only get the two colours. Does this answer your question? -dZ. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted November 8, 2018 Share Posted November 8, 2018 Hey dZ ! I'm so sorry, I upload the wrong ROM ... My bad ! I have 36202020 listings for now with my debug version ahah ... Now it's the good one ... I hope ! Cheers, Vetea It works great. If I may make a suggestion is to ease the collision detection by one or two pixels when Papi is between walls. Since your corridors are exactly the same size of Papi (8 pixels), it because a bit frustrating having to aim with precision to get him positioned in the exact position to enter the corridor. This frustration is made worse by the fact that Papi stops moving when you change direction to face the wall. You should try to let Papi "cut the corner" when he is close enough to the entrance of the corridor. -dZ. Quote Link to comment Share on other sites More sharing options...
Vetea Posted November 8, 2018 Author Share Posted November 8, 2018 Mmmmh yes and no. Wich mode can display 16 colors ? The FG/BG ? And can I have different background color for each Tiles ? I'm really sorry . My English give me some great issues when I want to explain something specific. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted November 8, 2018 Share Posted November 8, 2018 Mmmmh yes and no. Wich mode can display 16 colors ? The FG/BG ? And can I have different background color for each Tiles ? I'm really sorry . My English give me some great issues when I want to explain something specific. No worries. If you'd like, you can post in French and I can try using Google Translate to try to understand it. Both modes can display 16 colors, but here are some general restrictions: Color Stack Mode (Mode #0 in IntyBASIC): Supports 64 GRAM cards or all 320 GROM cards. When using GROM cards, you can specify one of the first 8 colors in the palette as foreground. When using GRAM cards, all 16 colors are available. The color "stack" is a 4-value circular array that determines the background color of cards. It starts at index #0 and advances every time you set the "Advance Color Stack" flag on the BACKTAB word. The BACKTAB is treated as a continues string of tiles (in the order of their memory address). Setting the "Advance Color Stack" flag on a card, updates the background color of all the following cards in the BACKTAB as well, until you set it on another card again. Thus, it works like a "flood fill" where the background color continues on all tiles until changed again. Foreground/Background Mode (Mode #1 in IntyBASIC): Supports 64 GRAM cards, but only the first 64 cards of GROM, which are basically the standard font character set for letters, numbers, and symbols. The foreground colour can be one of the first 8 in the palette, regardless of GRAM or GROM. The background colour can be any of the 16 colours, regardless of GRAM or GROM. Both modes have their strengths and compromises, and both can be versatile in their own way when used expertly. Most people starting use FG/BG Mode because it is much simpler to work. However, if you get to know the Color Stack Mode, you'll discover that it can be very, very powerful indeed, in spite of what seem to be serious limitations. Personally, I use Color Stack mode mostly. I find that the ability to use all the graphical GROM cards (which include the solid 8x8 block, and many geometric figures) allows for more interesting detail than just 64 custom GRAM cards. With some clever tricks and a hard work you can exploit the Color Stack to make very colourful pictures. Finally, you can find some technical information on the screen modes in the documentation included with the IntyBASIC SDK. Take a look at the file "stick.txt" in the "Documents/Tech" folder. -dZ. 1 Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted November 8, 2018 Share Posted November 8, 2018 P.S. I recommend we follow up this discussion in the Programming Forum. The programmers typically hang out over there, and the people in this area typically do not care about technical details. -dZ. Quote Link to comment Share on other sites More sharing options...
Vetea Posted November 9, 2018 Author Share Posted November 9, 2018 Hi all, Some great update today ! As you see, I've success to use the FG/BG ( CS .... well nevermind ! ), with shiny graphics and better CARD design. Now the IA have a better way to find Papi ! Each Robot have his own IA. I take a pause now ... :D Cheers, Vetea 2 Quote Link to comment Share on other sites More sharing options...
Vetea Posted November 9, 2018 Author Share Posted November 9, 2018 Hey again ! Here is the new ROM ! And have fun !! What is yor best time ??? Me 47 ! PapiCommando_V3.rom Quote Link to comment Share on other sites More sharing options...
Vetea Posted November 10, 2018 Author Share Posted November 10, 2018 New record ! 2 Quote Link to comment Share on other sites More sharing options...
+Lathe26 Posted November 10, 2018 Share Posted November 10, 2018 I really like the simple but yet 3D looking effect for the walls. Nice. Quote Link to comment Share on other sites More sharing options...
+Steve Jones Posted November 10, 2018 Share Posted November 10, 2018 Looks cool, maybe add some objects you have to pick up, maybe include a key to exit the level and move to a new one? Just spitballing here Quote Link to comment Share on other sites More sharing options...
Vetea Posted November 10, 2018 Author Share Posted November 10, 2018 Hey thanks ! Yes, it's just the beginning for me, I improve the gameplay in the same time I discover the possibilitie of the Intellivision and Sdk. By the past, in 1982, I play on Intellivision with a friend, on Night Stalker ! Very great game. ( In this period, all of them have a ... Atari VCS ! ) I think to mix different style ... I shall see. Stay tuned ! Cheers, Vetea 1 Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted November 10, 2018 Share Posted November 10, 2018 Just played a couple of times this morning ... I hope you are planning on adding more to the game-play because it gets kind of boring after a while and I just committed suicide. But I like this game, it has potential. -dZ. Quote Link to comment Share on other sites More sharing options...
Vetea Posted November 10, 2018 Author Share Posted November 10, 2018 Sure ! I'm on it. Just add the Gun ... I'm reach the sprite Limit, but find a way. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted November 10, 2018 Share Posted November 10, 2018 Sure ! I'm on it. Just add the Gun ... I'm reach the sprite Limit, but find a way. A gun will be very cool. It'll make the game feel like Night Stalker (one of my favourites)! Where are your sprites committed? I see three for Papi, and four enemies. That's seven. You should have one more left for a bullet. If it really comes to that, your enemies are very simple and could be implemented as background cards smoothly animating between BACKTAB cards. It's not as simple as using a MOB, but it is effective. Since your movements are constrained to a two-dimensional grid, and enemies only move in straight lines at the center of a tile, then you only need 2 GRAM cards per enemy. That's OK, because your scene is very simple and does not require much GRAM. -dZ. Quote Link to comment Share on other sites More sharing options...
Vetea Posted November 10, 2018 Author Share Posted November 10, 2018 Papi is 4 Sprites, the Bandana is Red. I use this whith the bullet. I prefer use SPRITE with IA, more smooth moving. Well, I shall see ... It's just the beginning ... Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted November 10, 2018 Share Posted November 10, 2018 Papi is 4 Sprites, the Bandana is Red. I use this whith the bullet. I prefer use SPRITE with IA, more smooth moving. Well, I shall see ... It's just the beginning ... There's only three colors in Papi: White, Red, Black. You shouldn't need four. Yes, SPRITE is easier, but you can do smooth movements in BACKTAB tiles by animating the cards. We call this "GRAM Cycling," and it's an animation technique to update the cards in GRAM in "real time". Like I said, you need two cards per enemy, to cover the transition through the boundary between two tiles (vertical or horizontal, only one applies at a time in your game). It's not too hard, just a bit more work than just moving a SPRITE. I'm just saying that it is something you could do if you need to. These are things that the Intellivision can do and techniques that make games utilize its full potential. There is really no need to constraint yourself with the limitations and techniques of other systems. -dZ. 1 Quote Link to comment Share on other sites More sharing options...
Vetea Posted November 10, 2018 Author Share Posted November 10, 2018 Sure ! I just done my Shoot Engine. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted November 10, 2018 Share Posted November 10, 2018 Sure ! I just done my Shoot Engine. Awesome! Quote Link to comment Share on other sites More sharing options...
Vetea Posted November 10, 2018 Author Share Posted November 10, 2018 The transition Frame. The shoot will be done in 4 direction, not 8. And there will be a little time where Papi can't move. Quote Link to comment Share on other sites More sharing options...
Vetea Posted November 10, 2018 Author Share Posted November 10, 2018 Hello ! Gun is here ! Another step is reached ... Just need to learn how can I init the PSG/Sound Channel when I use the Noise/ENV effect. Cheers, Vetea Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted November 10, 2018 Share Posted November 10, 2018 Hello ! Gun is here ! Another step is reached ... Just need to learn how can I init the PSG/Sound Channel when I use the Noise/ENV effect. Cheers, Vetea According to the IntyBASIC manual, you do: SOUND 0,1,0 SOUND 1,1,0 SOUND 2,1,0 SOUND 4,1,$38 Quote Link to comment Share on other sites More sharing options...
Vetea Posted November 10, 2018 Author Share Posted November 10, 2018 Future Menu title ! Papi is dancing .. 5 Quote Link to comment Share on other sites More sharing options...
Vetea Posted November 11, 2018 Author Share Posted November 11, 2018 Hello ! Here is the Update Day ! A lot of improvement ... And the best for the future ... I guess. Cheers, Vetea Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted November 11, 2018 Share Posted November 11, 2018 Looks great! It seems that you are re-using one of Papi's MOBs for the bullet. However, as I mentioned before, Papi uses only three colours, so you should be able to composite him with only three MOBs, leaving one for the bullet. Is there a specific reason you are using four MOBs for Papi instead of three? Perhaps we can help you re-compose the sprite so that he keeps all his colours and pixels, but uses three MOBs. -dZ. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.