ok then if this is a better place to put my comment in... I think that i might be having trouble with the money system in Petit farm. i had planted about 15-16 carrots in the garden, and waited for a couple weeks for them to finally grow. when this happened, and i cashed them all in. for some reason my money counter didn't stop at 99999, it completely deleted all my money, i can still get more money over time through that fruit a day section thank goodness, but i lost all of the 99999 money i spent so much time working for. is this a simple overflow of the 5 digit barrier so it deleted the information, or is it a bug that happens when you put in more money then the system can handle that it deletes it all? anyone have any ideas?
Well I'm showing my hand a bit early, but I just had a query regarding line lengths and if there's anyone with an idea on how to clean up my code a bit.
To simplfy things, here's a basic display code I got together for the game I'm working on. I'm sure most of you will be able to figure out what I'm going for here, although I'll be changing a few of the graphics here and there once I get the basic engine running.
My problem comes with the last portion of the code in line 35 used for writing the characters from the CELL$ string. While in all function it works quite fine I find the use of a dedicated GOTO to skip the first three lines of the 'Bucket' image for the top three rows of sprite groups a little less than elegant. The most obvious solution is to move the IF statement into the same line as the GPUTCHAR, unfortunatly it's at this point I hit the character-per-line limit as the GPUTCHAR is bulky enough on it's own, incorperating the mathmatics of pulling the right characters from the CELL$ string.
-
READ CELL$
FOR DRAWY=5 TO 22
IF (DRAWY-5)%3==2 AND DRAWY<=13 THEN GOTO @SKIPBRRL
FOR DRAWX=5 TO 28
GPUTCHAR DRAWX*8,DRAWY*8,"BGF0',ASC(MID$(CELL$,(DRAWX-5)%4+(DRAWY-5)%3*4,1)),6,1
NEXT @SKIPBRRL
NEXT
-
Really this is a minor bother, I just try to be as minimalist as possible when it comes to coding and using as few varitables and loop tags as possible (see my Queens game where I use game function varitables for calculating the player's final score). I'm just curious how other people would do it.
In the meantime I'll start working with sprites for the character displays (although i may stick with ascii for some elements, like score, the bombs, etc), but any input would be appreciated
So. I decided to work on my just started OS today.
It's nearing completion at this point... SO. Will likely be posted either late in the night tonight, or sometime in the day tomorrow.
I think my biggest challenge was trying to think of a name for it.
Anyway, features: Nothing special.
Eos OS: http://conlogxl.forumotion.com/t12-eos-os-v10
3DS FC: 3695-0514-5044
I started "Red OS" with a hundred lines of coding today.
I ended with "Eos OS" at six-hundred eighty-eight lines of coding.
Well, I'm not sure whether I should be proud of myself or if I should regret how long I worked (I also managed to lose my stylus twice in the process).
Anyhow, the QR codes will be up on the QR code forum in just a few minutes.
Eos OS: http://conlogxl.forumotion.com/t12-eos-os-v10
3DS FC: 3695-0514-5044
Finished my os a while ago, but due to internet problems, it isn't coming until after october 20.
Do you still have the QR codes for your most recently uploaded version? I don't think anyone could get them to work, so if you have those, perhaps you could get the post fixed so we have something for the wait.
Eos OS: http://conlogxl.forumotion.com/t12-eos-os-v10
3DS FC: 3695-0514-5044
I think there is a bug on petit farm... When I went to feed my cows, I saw there was already hay in front of cow#3, so I ignored feeding it. The cow died the next day and its hay is still there, and when I tried to feed cow #2, the hay disapeared the first time I threw it on the ground, but not the second time.
By the way, my new game is in beta stage, and will finish up soon when I add some music and make it more user-friendly
I think there is a bug on petit farm... When I went to feed my cows, I saw there was already hay in front of cow#3, so I ignored feeding it. The cow died the next day and its hay is still there, and when I tried to feed cow #2, the hay disapeared the first time I threw it on the ground, but not the second time.
By the way, my new game is in beta stage, and will finish up soon when I add some music and make it more user-friendly
Wait... I thought you have to drop the hay ON the cows... I spent 6000 on medicine!
I'm not saying let's kill all the stupid people, I'm just saying let's take off the warning labels, and see what happens.
Friend Code: 1075-1228-4183
Nothing is supposed to happen to hay until a new day, did you drop the hay at midnight or something?
Sorry is just that that has never happened to me for some reason, could you explain it in a slower, more detailed fashion?
Forums
Topic: Petit Computer
Posts 781 to 800 of 9,620
Please login or sign up to reply to this topic