Jump to content

asdronin

New Members
  • Content Count

    26
  • Joined

  • Last visited

Community Reputation

3 Neutral

About asdronin

  • Rank
    Space Invader
  1. I see, thanks a lot for the explanation, I see that somehow its try and see rather than worry about the possible performance issues. Well I would like to make first a shmup and for that I tend to like those bullet hell type but of course I know the limit here is in the number of bullets I will be able to display added to ships etc so as you said I will try my way and hopefully I will find a way to make it work fast enough =).
  2. I see, I had no idea assembly code was generated, well I heard something but as my assembly knowledge is really low I tend to ommit all that. Good to know for the moment I find myselft with enough time to deal with assembly =). And I had no idea a banner could be used as a sprite, I mean as you said the 7800Basic makes a clear distinction and I have always seen banners in programs being used for title screen mainly. So according to what you say its ok to make a 16 pixels tall banner and use it in a zone height set to 8 for smaller tiles and there shouldnt be any trouble in terms or performance which is something Im always worried while coding in the 7800Basic
  3. I see, thanks a lot for the explanation Mord, I had no idea it was like this, so with just 7800Basic we can make the tiles jump one zone each step, my assembly knowledge is really low and its a pitty but I have no plans to learn more assembly right now. then Im ok with the one zone jump I guess, by the way you did a great job in the Rpg tile demo and the Graze Suit Alpha sure looks nice in that movement you implemented. Then as I can somehow see, it could be better to use a zone height of 8 (smaller jumps) but then this way we are limited to use sprites of 8 pixels height, right?
  4. Thanks for explaining yes it makes a lot more sense now, I had no idea it could work that way, but in relation to how it looks like, Im using the y-offset in plotmap you know, but this value seems to always be a integer value, I mean Im using a variable for that of course, but if I declare it as floating point and increment 0.1 it still will make the map jump one line always the same as if I increment it by just 1, according to what you explained the scrolling technique should be able to show intermediate positions to make it not like a jump I mean smoother, or am I missing something in relation to how the plotmap should be used to scroll the background? as said right now the tiles move just one line shift each step, not bad but dont know if this could look better so I hope you can shed some light into this doubt
  5. I see, thanks for the explanation =), I remember I saw something about the zones somewhere, and I went now to the manual and with your explanation I understand everything, but then I wonder is it correct to make vertical scrolling just by applying y-offset when plotting the map? I notice that this way it jumps one line of course as we specify the offset like that not coordinates, but we cant get a smaller offset in plotmap, right? I mention this because you said the way to make vertical scrolling is related to that feature of using different heights, well I dont fully understand how it could be achieved, I know its off-limit for me using the 7800Basic but just wonder about the theory behind what you said, Im sure you know how is everything done so Im not having doubts about your knowledge, dont take me wrong, just want to do things right.
  6. Thanks a lot SmittyB for the explanation, its quite clarifying then we have to stick with one zone height in everything from tiles to sprites etc well one could find workarounds for this like I have seen in some source codes making the zone height 8 and then using 2 sprites one on top of the other to make sprites of 16 pixels height, more work maybe but depends on the cases I guess
  7. Hi all, Im stil in the process of feeling confortable enough to start making the actual code and graphics for my first game for the 7800, but I found another doubt regarding the plotmap tiles, I notice that yes we can specify normal or double wide for the tiles either for one particular set or for all of them, but I dont see anywhere if we can define different height for these, I mean maybe someone could be interested in using 8x8 tiles and later use plotmap the usual way, of course that would lead to have more tiles on screen but just would be better for some details maybe (unless it has a very important performance hit), so is it possible to have our tiles like 8x8? thanks a lot beforehand and really Im really sorry I find so many doubts in my path of learning PS I forgot to mention that I tried of course to use a image with the tiles that was 64x8 and indeed its plotted on screen fine but the trouble is it separates lines too much so map is crossed by some stripes made of background color so I assumed that its either change somewhere the font size (height actually) or just its not possible Edit: I know we can use zone height but I dont want to limit the height of other images as I think it does
  8. Thanks a lot for showing this Random Terrain, I think as said I will be using these techniques to deal with the "if" structure you have implemented =), certainly Im part of the endif addicts group haha so these techniques work fine for me =)
  9. Thanks a lot SmittyB for the great explanation, I finally understood this and I have been going around this issue since I downloaded the 7800Basic, I get the feeling that its better to use 3 colors per sprite and maybe overlap 2 or 3 sprites than using one with 12 colors, at least I get more freedom I think like for instance I made a ship and I can overlap 3 sprites to make it 9 colors but Im not using more palettes as I would be needing other palettes for background tiles and other things later on, however of course Im wasting some resources as Im pasting more sprites than I would need but so far it seems really fast. As said thanks a lot =)
  10. Well its hard to make a game using these tools and language we have here, I looked into the Graze Suit Alpha video on youtube and it looks very cool fast action game, quite well done, I know how hard is to complete a game in any tool when you work on your own, requires lot of time and energy, Im sure you will complete one game soon and will be great, I found out your rpgtiledemo when I was searching for tile related games and its an awesome code really, keep making great stuff =)
  11. Hi all, I spent a lot of time dealing with colors when I started in the 7800Basic world (you know importing graphics wrongly having them show different palettes than I wanted etc), and still now I see many things that I dont manage to get fully, now that somehow I feel Im more or less prepared to make the first attempt on a game I have to ask this doubt that comes from my day 1, I see in table that 160B mode allows 12 colors, how is that so? I tried importing images with more than 3 colors, mainly 12 colors (I mean 3 + transparent and 12+1) and nothing seems to work, in fact I cant define a palette big enough to handle that and when sprite are pasted they require one palete, sorry if Im missing something very obvious.... what are these 12 colors that are theoritically allowed in this mode? can we import a image with 12 colors and use it as sprite? as said Im very sorry if my question sounds too simple, there are many many things that I cant manage to understand in this environment but of course Im eager to improve =). Edit: Right now Im pasting 3 sprites one of top of another to achieve 9 color sprite that looks like I want but of course thats not the most accurate way if we can use 12 colors in one image
  12. Impressive, thanks a lot RevEng, I feel like Im in another world, I mean usual things that I was used to use in other languages work different in this environment like negative numbers and so comparison and other structures are different, migh take some time to build what I have in mind but hopefully will be worth trying =)
  13. Thanks a lot SmittyB, I will do as you said with the offset and the screen size as the plotting area, as these functions are not meant to have off screen positions, well to be honest I tested a bit and some of the plotting was done correctly off-screen but at some point screen turns purple and makes odd noises so I stopped trying that. Thanks a lot Mord, I see what you mean, plotmap allows us to plot sections of a larger map but plotmapfile isnt allowing that so its only good for static background, but in any case we can save the background and later restore it so I think in that case its just a matter of what we deal better, the Tiled tool or using characters in the editor. As I have tried this over and over I find an odd behaviour, Im sure there is an explanation for this, but could you tell why is this happening? I tested first a few values for the Y-offset of my map (its two times the screen height) so I tried 0 offset its normal no offset of course, I tried limit values like in my case its 12, so its logical value, but then I decided to use a variable to make it move constantly and see how it behaves, the fact is this time around I notice that when my variable is 0 it crashes, but its senseless as I already tried 0 value, that makes me think, is the plotmap doing its things in the end when we draw screen? or well I cant explain this in any case not even with that as it seems odd. Here is the code that makes it crash, just copied the section in question: main clearscreen ycordmap=ycordmap-1 if ycordmap<0 then ycordmap=12 plotmap screen1map 4 0 0 20 12 0 ycordmap 20 ycordmap is declared before and starts as 0, so the first step in plotting the map should be 0 and then the next time it becomes -1 then it should be again 12 so all safe, but as said this makes it not work. If I change the "if" condition to "ycordmap<=0" it works (well it doesnt crash i cant tell yet if its perfectly matching the values i want and its seamless scroll) but of course in this change its never 0 so I assume it could make a little jump when background is repositioned (right now its too fast so I cant confirm that), then my question about this is, why is this behaving like that? when is the map plotted or when the plotmap is seeing the variable value because even if it evaluates that when drawing the screen it makes no sense that the variable cant be 0 when I already tested 0 offset and worked fine like when no offset is specified, sorry for the long explanation, I try to make it clear and maybe use too many words for that.
  14. Thanks a lot Mord, so we have to deal with these techniques to do that, I think that should have been implemented in the tool other way but of course its a complex thing for the author. Additionally as I have verified "else" should always be in same line too (I got error saying "else" is not recognized word), I will follow your guidelines and hoepfully I manage to deal with this, I think it makes it harder to make a game but not impossible of course. By the way, a little off topic question, what games have you made? your avatar seems very familiar to me so maybe I played a game you made without knowing it was your creation, in any case your avatar is quite cool =)
  15. Thanks a lot Mord, you are right, at first I missed that step of embedding the images and later I had to redo that map (was a test map anyway) to make sure everything was correct, after that the palette error arose, so I had no idea what it was. RevEng, thanks a lot, you are right, after adding the mode the code works, well it crashes when I try larger maps (those that go off the screen) but thats an issue I have asked and surely its resolved in other thread just I need to try and see for myself how it works before posting on that. Well back into this subject, yes I see what you mean, because when we import the graphic it can be used anywhere and not just maps the error comes in when the map is plotted, so as said thanks a lot =)
×
×
  • Create New...