Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Munchor on November 28, 2010, 01:55:48 pm
-
So, I'm starting a Farmville project in Axe, which will require a lot of effort and learn a few things such as:
-AppVars;
-Line and Rect( command;
-Probably non-number-based menus.
A few things it could have but I'm not interested in making:
-Calculator<->Calculator connection;
-Having two 'accounts' in the same calculator and a Highscore table.
What I want to make:
-About 10 vegetables choice to grow;
-A timer (probably around 40,50,60 seconds for vegetables to grow);
-30 'places' where user can plant things, and a pointer to choose one;
-A title screen;
-If I can, something that makes them grow up twice as fast.
This is an Axe project that I already started, I'm drawing sprites for now :)
Tell me what you think of the idea (no, I personally don't like Farmville...).
Also, I made this thread so that I don't give up this project :D
-
I wouldn't mind helping with 2 player.
keep in mind how you want your 2 player to work.
Note: i make up my own terms ;).
1. Touch to touch
each calc. Sends and receives the previous getkey
Pro. Small and easy.
Cons. More likely to obtain the 4 error*
2. Update- Send/Receive
You have an option in your game that lets the user send or receive data.
Pro. Not much really.
Cons. Well, you probably can see them...
3. Update- full
Update as much as you want but only after a period of time (recommended about 10 sec.)
Pro. Great for data transfer. Not terrible to program in.
Cons. Might not be how you want your game to look... all depends on your game.
Chances are that the programmer will screw up a couple of times before succeeding so back up the program.
*4 Error*
An error which occurs when the linking cord has some interference which makes the receiving calculator get 4
Note: The longer the cord the more this error occurs
-7 foot cord.
Almost unusable. (1 out of 5-10)
-3 foot cord.
Tons better than the 7 foot cord. But still shouldn't be used with touch to touch multilayer. (1 out of 50-100)
-6 inch cord.
Works great and only gets the four error (once in about 1000)
Note: My calculations are done by observation and have not been tested.
-
Seems interesting, but I wouldn't be able to help much because I didn't code in a long while and I never played Farmville. Good luck on this!
-
I wouldn't mind helping with 2 player.
keep in mind how you want your 2 player to work.
Note: i make up my own terms ;).
1. Touch to touch
each calc. Sends and receives the previous getkey
Pro. Small and easy.
Cons. More likely to obtain the 4 error*
2. Update- Send/Receive
Note. sry going to save and continue writing.
That would be helpful, but I'm not interested in doing it. Maybe when I finish the project you can do it?
I think it is extremely hard :S
Anyways, I'm making vegetables sprites now. No grayscale, though. I'll be doing them black/white only :S
-
Does this game have to be played in multiplayer? You could maybe focus on single player for now, maybe, then 2 players later (or someone else can do it).
-
I wouldn't mind helping with 2 player.
keep in mind how you want your 2 player to work.
Note: i make up my own terms ;).
1. Touch to touch
each calc. Sends and receives the previous getkey
Pro. Small and easy.
Cons. More likely to obtain the 4 error*
2. Update- Send/Receive
Note. sry going to save and continue writing.
That would be helpful, but I'm not interested in doing it. Maybe when I finish the project you can do it?
I think it is extremely hard :S
Anyways, I'm making vegetables sprites now. No grayscale, though. I'll be doing them black/white only :S
multilayer is rather easy for me.
note: i updated my post.
-
Does this game have to be played in multiplayer? You could maybe focus on single player for now, maybe, then 2 players later (or someone else can do it).
Yes, that's what I said before... Unlike the original farmville it will be a single player, which goal is to make your farm bigger, just that. So, you can now suppose it won't be very fun :S
-
Does this game have to be played in multiplayer? You could maybe focus on single player for now, maybe, then 2 players later (or someone else can do it).
Yes, that's what I said before... Unlike the original farmville it will be a single player, which goal is to make your farm bigger, just that. So, you can now suppose it won't be very fun :S
So no job for me? :( ;( :(
-
Does this game have to be played in multiplayer? You could maybe focus on single player for now, maybe, then 2 players later (or someone else can do it).
Yes, that's what I said before... Unlike the original farmville it will be a single player, which goal is to make your farm bigger, just that. So, you can now suppose it won't be very fun :S
Oh ok, I didn't knew that'S what you meant. I think it could be fun in single player too. Just have some game modes or objectives in the game where you need to provide a big farm in X amount of time, make a certain amount of money in a certain amount of time, etc. Kinda like Starcraft missions, but with building a farm instead of attacking other armies.
-
Does this game have to be played in multiplayer? You could maybe focus on single player for now, maybe, then 2 players later (or someone else can do it).
Yes, that's what I said before... Unlike the original farmville it will be a single player, which goal is to make your farm bigger, just that. So, you can now suppose it won't be very fun :S
Oh ok, I didn't knew that'S what you meant. I think it could be fun in single player too. Just have some game modes or objectives in the game where you need to provide a big farm in X amount of time, make a certain amount of money in a certain amount of time, etc. Kinda like Starcraft missions, but with building a farm instead of attacking other armies.
Yes, missions, great idea! Thanks much!
Another thing, can the game be named 'Farmville'?
I'm worried with copyrights :S
-
Does this game have to be played in multiplayer? You could maybe focus on single player for now, maybe, then 2 players later (or someone else can do it).
Yes, that's what I said before... Unlike the original farmville it will be a single player, which goal is to make your farm bigger, just that. So, you can now suppose it won't be very fun :S
Oh ok, I didn't knew that'S what you meant. I think it could be fun in single player too. Just have some game modes or objectives in the game where you need to provide a big farm in X amount of time, make a certain amount of money in a certain amount of time, etc. Kinda like Starcraft missions, but with building a farm instead of attacking other armies.
Yes, missions, great idea! Thanks much!
Another thing, can the game be named 'Farmville'?
I'm worried with copyrights :S
If you're worried, name it Farmvill
or Farmvillage
-
Does this game have to be played in multiplayer? You could maybe focus on single player for now, maybe, then 2 players later (or someone else can do it).
Yes, that's what I said before... Unlike the original farmville it will be a single player, which goal is to make your farm bigger, just that. So, you can now suppose it won't be very fun :S
Oh ok, I didn't knew that'S what you meant. I think it could be fun in single player too. Just have some game modes or objectives in the game where you need to provide a big farm in X amount of time, make a certain amount of money in a certain amount of time, etc. Kinda like Starcraft missions, but with building a farm instead of attacking other armies.
Yes, missions, great idea! Thanks much!
Another thing, can the game be named 'Farmville'?
I'm worried with copyrights :S
If you're worried, name it Farmvill
or Farmvillage
Farmtown?
-
idk...
but when you finish i shall steal your source and make it 2 player... :P
-
Great, I think that would be cool (go for it, steal!)
I'm going to post sprites today!
-
Does this game have to be played in multiplayer? You could maybe focus on single player for now, maybe, then 2 players later (or someone else can do it).
Yes, that's what I said before... Unlike the original farmville it will be a single player, which goal is to make your farm bigger, just that. So, you can now suppose it won't be very fun :S
Oh ok, I didn't knew that'S what you meant. I think it could be fun in single player too. Just have some game modes or objectives in the game where you need to provide a big farm in X amount of time, make a certain amount of money in a certain amount of time, etc. Kinda like Starcraft missions, but with building a farm instead of attacking other armies.
Yes, missions, great idea! Thanks much!
Another thing, can the game be named 'Farmville'?
I'm worried with copyrights :S
Generally, it is OK it seems in the calc world. Since 1998, only 4 calculator authors got cease and desist letters from companies for using copyrighted content in their games/programs. But if yoU're worried you can always change the name a bit and say it's inspired from Farmville.
-
Ok, first stuff!
At the moment, you open the screen, press 1 (which will have a Play button later) and see how the interface will start like.
4 squares and the apple, which will be the first thing you can plant.
I've also made a 16*16 sprite of a pear (.png below). I'm gonna have to split it into four and make 4 8*8 sprites, I know.
0000000000400080008003C006600420042008200820081008100810081007E0
This is the HEX code, can I split the code into 4, I mean, does that work?
-
In Axe? Yes, you can split the pear into four sections if you properly arrange the Hex code and the display routine.
-
first 8 are. x,y
2nd 8 are x+8,y
3rd 8 are x,y+8
4th 8 are x+8,y+8
Ok, first stuff!
At the moment, you open the screen, press 1 (which will have a Play button later) and see how the interface will start like.
4 squares and the apple, which will be the first thing you can plant.
I've also made a 16*16 sprite of a pear (.png below). I'm gonna have to split it into four and make 4 8*8 sprites, I know.
0000000000400080008003C006600420042008200820081008100810081007E0
This is the HEX code, can I split the code into 4, I mean, does that work?
-
first 8 are. x,y
2nd 8 are x+8,y
3rd 8 are x,y+8
4th 8 are x+8,y+8
0000000000400080008003C006600420042008200820081008100810081007E0
Now, I'm confused, this can't be split into 4*8 :S
-
Yes it can, but you have to rearrange the data. I'm working on it right now, but it takes a little bit.
-
Yes it can, but you have to rearrange the data. I'm working on it right now, but it takes a little bit.
:O If you do it for me once, I think I can understand and do it more times :) Thanky!
-
Welcome. Actually, you can fit the pear into two 8*8 sprites, so that's what I'll be doing.
-
Welcome. Actually, you can fit the pear into two 8*8 sprites, so that's what I'll be doing.
Yes, probably, since there is a lot of whitespace in that sprite :S
-
Hm, my post apparently fell through. Anyway, here's the Hex again:
[02]
[04]
[04]
[04]
[3C]
[66]
[42]
[42]
[82]
[82]
[81]
[81]
[81]
[81]
[7E]
[00]
The bottom sprite should be located at (x,y+8). What I did was place the image on a grid and code the Hex by hand.
(http://img.removedfromgame.com/imgs/pearspriteedit.png)
-
I think you mean this:
000408083C6642428282818181817E00
Right?
-
I write my image hex in byte pairs during editing so that I can easily go back and change specific values. It really helps if you make a mistake in the encoding. The two representations are equivalent in Axe.
-
I write my image hex in byte pairs during editing so that I can easily go back and change specific values. It really helps if you make a mistake in the encoding.
Yes, I know, but take a look at this:
[02]
[04]
[04]
[04]
[3C]
[66]
[42]
[42]
[82]
[82]
[81]
[81]
[81]
[81]
[7E]
[00]
000408083C6642428282818181817E00
These are two different sprites, I fixed what I think was an error on top of the pear.
-
No, I eliminated the whitespace above the pear. The end of the stem is the top row of the bitmap.
-
No, I eliminated the whitespace above the pear. The end of the stem is the top row of the bitmap.
You don't get it yet... Anyways, I already implemented it in the sprites, the new sprite is working great:
-
Glad I could help.
-
Glad I could help.
Thanks much, it's also very good of you that you make it by hand :)
-
I got lots of practice in Hex coding after I accidentally erased Spritepic and I never bothered to replace it :P
-
I got lots of practice in Hex coding after I accidentally erased Spritepic and I never bothered to replace it :P
Thanks. Now I need to get in AppVars, anyone has any magical link for me? :P Thanks
-
In the Axe section there should be plenty of topics about Appvar management.
-
In the Axe section there should be plenty of topics about Appvar management.
Thanks, TODAY during class, I made a few work on Farmville, and it was very good, you could plant and unplant things, with 4 sprites, very good ones and an average interface.
However, an infinite loop in program made it crash and I resetted the calculator, and Axe's Backup was not the most recent one and it looks like the recent files all went back?
Any way to avoid this? Remove keyboard, maybe?
I'm so pissed off!
-
In the Axe section there should be plenty of topics about Appvar management.
Thanks, TODAY during class, I made a few work on Farmville, and it was very good, you could plant and unplant things, with 4 sprites, very good ones and an average interface.
However, an infinite loop in program made it crash and I resetted the calculator, and Axe's Backup was not the most recent one and it looks like the recent files all went back?
Any way to avoid this? Remove keyboard, maybe?
I'm so pissed off!
Were the programs that you lost ever archived since your last GarbageCollect?
If so, try this (http://www.ticalc.org/archives/files/fileinfo/411/41128.html).
-
In the Axe section there should be plenty of topics about Appvar management.
Thanks, TODAY during class, I made a few work on Farmville, and it was very good, you could plant and unplant things, with 4 sprites, very good ones and an average interface.
However, an infinite loop in program made it crash and I resetted the calculator, and Axe's Backup was not the most recent one and it looks like the recent files all went back?
Any way to avoid this? Remove keyboard, maybe?
I'm so pissed off!
Were the programs that you lost ever archived since your last GarbageCollect?
If so, try this (http://www.ticalc.org/archives/files/fileinfo/411/41128.html).
Thanks, I'm now downloading, hope it works, but doubt it works.
-
It's worth a shot, as it's saved me a few times.
-
It's worth a shot, as it's saved me a few times.
I tried it and it found FARMSRC.8xp, but the current one, not the disappeared one. Thanks, though
-
I'm sorry to hear :(